/* Modern conversation: four actionable greetings, no book or paper simulation. */
.g-conversation {
  --school-soft: #e1efda;
  --school-field: #edf3e9;
  --school-blue: #e3edee;
}
.g-conversation .container { width: min(100% - 112px, 1200px); }
.g-conversation .new-teacher .g-stop, .g-conversation .new-visit .g-stop,
.g-conversation .new-contact .g-stop { color: inherit; }
.g-conversation .new-hero h1, .g-conversation .new-teacher h2,
.g-conversation .new-visit h2, .g-conversation .new-contact h2 {
  font-weight: 650; letter-spacing: -.055em; line-height: 1.06; text-wrap: balance;
}

/* Upright, generous typography and a compact conversation of four languages. */
.new-hero { padding-block: 76px 108px; }
.new-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(52px, 6.8vw, 96px); align-items: center; }
.new-hero__copy { padding-bottom: 10px; min-width: 0; }
.new-hero__place { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; color: var(--g-muted); font-size: .875rem; line-height: 1.7; flex-wrap: wrap; }
.new-hero__place span { color: #758274; }
.g-conversation .new-hero h1 { margin: 0 0 28px; max-width: 12ch; font-size: clamp(3rem, 5.55vw, 5rem); }
.new-hero__intro { max-width: 43ch; margin: 0; font-size: 1.0625rem; line-height: 1.85; text-wrap: pretty; color: #4e5e52; }
.new-hero__actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 32px; }
.new-button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 16px; background: var(--g-primary); color: #fff; font-size: 1rem; font-weight: 550; transition: background .2s; }
.new-button:hover { background: var(--g-primary-dark); color: #fff; }
.new-call { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: .9375rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.new-call svg { flex: none; width: 18px; height: 18px; }
.new-call:hover { text-decoration: underline; text-underline-offset: 4px; }
.new-call span { display: grid; gap: 3px; line-height: 1.4; }
.new-call small { color: var(--g-muted); font-size: .8125rem; font-weight: 400; }
.new-languages { min-width: 0; scroll-margin-top: 116px; }
.new-languages__intro { margin-bottom: 24px; }
.g-conversation .new-languages h2 { font-size: 1.0625rem; font-weight: 500; line-height: 1.5; letter-spacing: -.02em; max-width: 31ch; }
.greetings { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; margin: 0; padding: 0 0 44px; list-style: none; isolation: isolate; }
.greetings > li { position: relative; min-width: 0; }
.greetings > li:nth-child(even) { top: 44px; }
.greetings > li:focus-within { z-index: 2; }
.greet {
  --bubble: var(--school-soft); --bubble-ink: var(--g-ink);
  position: relative; display: grid; grid-template-columns: 1fr 32px; grid-template-rows: 1fr auto;
  align-items: end; gap: 22px 8px; min-height: 198px; padding: 27px 26px 23px;
  border-radius: 38px 38px 38px 10px; background: var(--bubble); color: var(--bubble-ink);
  box-shadow: inset 0 1px 0 #ffffff80, inset 0 0 0 1px #ffffff30, 0 3px 5px -3px #17392d26, 0 20px 30px -20px #17392d61;
  transition: transform .2s ease, box-shadow .2s ease;
}
.greet::after { content: ''; position: absolute; left: 18px; bottom: -13px; width: 28px; height: 20px; background: var(--bubble); clip-path: polygon(0 0, 100% 0, 0 100%); }
.greet[data-course="it"] { --bubble: var(--g-primary); --bubble-ink: #fff; border-radius: 38px 38px 10px 38px; }
.greet[data-course="de"] { --bubble: var(--school-blue); border-radius: 38px 10px 38px 38px; }
.greet[data-course="es"] { --bubble: var(--g-accent); --bubble-ink: #fff; border-radius: 10px 38px 38px 38px; }
.greet[data-course="it"]::after, .greet[data-course="de"]::after { left: auto; right: 18px; transform: scaleX(-1); }
.greet__hello { grid-column: 1 / -1; align-self: start; font-family: var(--g-sans); font-size: clamp(2.7rem, 4.3vw, 4rem); font-weight: 600; letter-spacing: -.065em; line-height: 1.1; }
.greet__course { display: grid; gap: 4px; min-width: 0; }
.greet__name { font-size: .9375rem; font-weight: 550; line-height: 1.4; }
.greet__word { font-size: .75rem; line-height: 1.5; }
.greet__arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--bubble-ink) 9%, transparent); }
.greet__arrow svg { width: 18px; height: 18px; }
.greet:hover, .greet:focus-visible { color: var(--bubble-ink); transform: translateY(-5px); box-shadow: inset 0 1px 0 #ffffff80, inset 0 0 0 1px #ffffff30, 0 5px 8px -5px #17392d26, 0 26px 38px -20px #17392d66; }
.greet:focus-visible { outline: 3px solid var(--g-ink); outline-offset: 6px; }
.greet.is-picked .greet__name { text-decoration: underline; text-underline-offset: 5px; }
.new-languages__hint { max-width: 48ch; margin: 8px 0 0; color: var(--g-muted); font-size: .8125rem; line-height: 1.7; }

/* Genny's own words: one open, forest section with a conversational type hierarchy. */
.new-teacher { padding-block: 64px; background: var(--g-primary); color: #fff; }
.new-teacher__grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(64px, 8vw, 120px); align-items: start; }
.new-teacher__intro { display: flex; flex-direction: column; align-items: flex-start; }
.g-conversation .new-teacher h2 { max-width: 10ch; margin: 0 0 24px; font-size: clamp(2.5rem, 4.25vw, 3.8rem); color: #fff; }
.new-teacher__role { margin: 0; font-size: .9375rem; color: #d2e4cb; line-height: 1.7; }
.new-teacher__name { margin: 18px 0 0; padding: 0; background: none; color: #d2e4cb; font-size: 1rem; line-height: 1.5; font-weight: 400; letter-spacing: 0; }
.new-teacher__portrait { display: block; width: 100%; max-width: 260px; height: auto; margin-top: 24px; border-radius: 24px; }
.new-teacher__words { min-width: 0; }
.new-teacher__quote { margin: 0 0 28px; padding: 0 0 24px; border: 0; border-bottom: 1px solid #ffffff30; }
.new-teacher__quote > p { margin: 0; font-size: clamp(1.8rem, 2.9vw, 2.6rem); font-weight: 500; line-height: 1.35; letter-spacing: -.035em; text-wrap: pretty; }
.new-teacher__words > p { max-width: 58ch; margin: 0 0 22px; color: #d2e4cb; font-size: 1rem; line-height: 1.9; }
.boardlink { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; font-size: .9375rem; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; }
.boardlink svg { width: 18px; height: 18px; flex: none; }
.boardlink:hover { text-decoration-thickness: 2px; }
.new-teacher .boardlink { margin-top: 8px; color: #fff; }
.new-teacher .boardlink:hover { color: #d2e4cb; }
.new-teacher .boardlink:focus-visible { outline-color: #fff; }

/* The actual neighbourhood, shown as a digital map rather than folded paper. */
.new-visit { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(48px, 6vw, 80px); padding-block: 72px; align-items: center; }
.new-visit__copy { grid-column: 1; grid-row: 1; }
.new-visit__media { grid-column: 2; grid-row: 1; display: grid; gap: 24px; min-width: 0; }
.g-conversation .new-visit h2, .g-conversation .new-contact h2 { font-size: clamp(2.3rem, 4vw, 3.5rem); max-width: 14ch; margin: 0 0 26px; }
.new-visit__copy > p:not(.school-visit__addr) { max-width: 39ch; font-size: 1.0625rem; line-height: 1.85; }
.school-visit__addr { margin: 28px 0 8px; font-size: 1rem; font-weight: 550; line-height: 1.7; }
.new-map, .new-map .school-map { margin: 0; padding: 0; }
.new-map .school-map__frame { aspect-ratio: 1.5; border: 0; border-radius: 30px; background: #e5eee7; min-height: 260px; box-shadow: none; }
.new-map .school-map__frame > svg:first-child { opacity: 1; }
.new-map .school-map__card { top: auto; left: 24px; right: 24px; bottom: 16px; width: auto; max-width: none; padding: 12px 16px; border: 1px solid #ffffffc7; border-radius: 16px; background: #fff; box-shadow: 0 2px 8px #17392d0a; transform: none; }
.new-map .school-map__name { font-size: 1.1rem; }
.new-map .school-map figcaption { margin: 14px 2px 0; color: var(--g-muted); font-size: .75rem; line-height: 1.6; }
.new-map .school-map__street { stroke: var(--g-primary); }
.new-map .school-map__ring { stroke: var(--g-accent); }
.school-photo { margin: 0; }
.school-photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 28px; }
.school-fact { margin: 20px 0 0; font-size: 1rem; line-height: 1.8; }
.school-fact strong { font-weight: 550; margin-right: 6px; }

/* The final invitation and its protected, ordinary labelled form. */
.new-contact { padding-block: 88px 96px; background: var(--school-soft); border-radius: 48px 48px 0 0; }
.new-contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; grid-template-rows: auto 1fr; column-gap: clamp(48px, 7vw, 100px); row-gap: 28px; align-items: start; }
.new-contact__copy { grid-column: 1; grid-row: 1; }
.new-contact__grid > .new-form { grid-column: 2; grid-row: 1 / 3; }
.new-contact__grid > .new-contact__details { grid-column: 1; grid-row: 2; }
.new-contact__copy { padding-top: 22px; }
.new-contact__intro { max-width: 36ch; font-size: 1.0625rem; line-height: 1.85; }
.new-contact__details { margin-top: 0; }
.new-contact__details p { max-width: 36ch; font-size: .9375rem; margin: 0 0 12px; }
.new-contact__details .bigtel { display: inline-block; margin: 0 0 26px; color: var(--g-primary); font-weight: 550; font-size: clamp(1.75rem, 2.7vw, 2.4rem); line-height: 1.3; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.new-contact__details .textlink { display: inline-flex; align-items: center; min-height: 44px; gap: 9px; font-size: .9375rem; text-decoration: underline; text-underline-offset: 4px; }
.textlink svg { width: 17px; height: 17px; }
.new-form { position: relative; padding: 36px; background: #fff; border: 1px solid #ffffffe0; border-radius: 28px; box-shadow: 0 4px 16px #17392d0a; }
.new-form .contact-form { display: grid; gap: 24px; }
.school-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.school-form .field { display: grid; align-content: start; gap: 8px; margin: 0; }
.school-form .field label { font-size: .9375rem; font-weight: 500; color: #3b4d3e; }
.school-form .field input, .school-form .field select, .school-form .field textarea { width: 100%; min-width: 0; min-height: 52px; padding: 12px 13px; border: 1px solid #879583; border-radius: 10px; background: #fafbf8; color: var(--g-ink); font: 400 1rem/1.5 var(--g-sans); caret-color: var(--g-primary); }
.school-form .field input::placeholder, .school-form .field textarea::placeholder { color: #65715f; opacity: 1; }
.school-form .field textarea { resize: vertical; min-height: 132px; }
.school-form .field--wide { grid-column: 1 / -1; }
.school-form .field input:focus-visible, .school-form .field select:focus-visible, .school-form .field textarea:focus-visible { outline: 2px solid #48714d; outline-offset: 2px; }
.school-form .field [aria-invalid="true"] { border-color: #ad3b28; }
.field__error { margin: 0; color: #ad3b28; font-size: .875rem; line-height: 1.5; }
.field__picked { display: inline-flex; gap: 4px; color: #436a42; font-size: .75rem; }
.field__picked svg { width: 12px; height: 12px; }
.school-form__foot { display: flex; align-items: center; gap: 20px; }
.school-button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 0 25px; border: 0; border-radius: 14px; background: var(--g-primary); color: #fff; font: 550 .9375rem var(--g-sans); cursor: pointer; transition: background .2s; }
.school-button:hover { color: #fff; background: var(--g-primary-dark); }
.school-button:disabled { opacity: .6; cursor: progress; }
.school-form__note { margin: 0; font-size: 1rem; color: var(--g-muted); }
.school-form .field--course.is-picked select { border-color: var(--g-primary); background-color: #edf3e9; }
.school-contact__email { overflow-wrap: anywhere; }
.school-form__privacy { color: var(--g-muted); font-size: .875rem; text-decoration: underline; }
.new-form .notice { margin: 0; padding: 13px; border-radius: 10px; font-size: 1rem; }
.g-conversation .reviews { padding-block: 72px; background: var(--g-paper); }
.g-conversation .reviews .section__title { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 600; }
.g-conversation .reviews__item { border: 1px solid var(--g-line); border-radius: 20px; box-shadow: none; background: #fff; }
.school-dock { display: none; }

/* Translucency reveals real layers; readable controls retain an opaque ground. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .new-map .school-map__card { background: #ffffffb8; -webkit-backdrop-filter: blur(12px) saturate(110%); backdrop-filter: blur(12px) saturate(110%); }
  .new-form { background: #ffffffc2; }
}
@media (prefers-reduced-transparency: reduce) {
  .new-map .school-map__card, .new-form { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (max-width: 1100px) {
  .g-conversation .container { width: calc(100% - 72px); }
  .new-hero__grid { gap: 44px; }
  .greet { padding: 24px 20px 20px; min-height: 180px; }
  .greet__name { font-size: .875rem; }
  .new-hero__actions { gap: 18px; }
  .new-teacher__grid { gap: 64px; }
  .new-visit, .new-contact__grid { gap: 48px; }
  .school-form__fields { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .g-conversation .container { width: calc(100% - 56px); }
  .new-hero { padding-block: 48px 72px; }
  .new-hero__grid { gap: 32px; }
  .g-conversation .new-hero h1 { font-size: 3rem; }
  .new-hero__intro { font-size: 1rem; }
  .new-hero__actions { flex-direction: column; align-items: flex-start; }
  .greetings { gap: 24px 12px; }
  .greet { padding: 20px 16px; min-height: 163px; grid-template-columns: 1fr; gap: 14px; border-radius: 28px 28px 28px 8px; }
  .greet__hello { font-size: 2.7rem; }
  .greet__arrow { display: none; }
  .new-languages__hint { font-size: .75rem; }
  .new-teacher { padding-block: 64px; }
  .new-teacher__grid { gap: 44px; grid-template-columns: .8fr 1.2fr; }
  .new-visit { padding-block: 72px; gap: 40px; }
  .new-contact { padding-block: 64px; }
  .new-form { padding: 28px; }
  .new-contact__grid { gap: 36px; }
}
@media (max-width: 700px) {
  .g-conversation .container { width: calc(100% - 40px); }
  .new-hero { padding-block: 36px 68px; }
  .new-hero__grid { grid-template-columns: 1fr; gap: 42px; }
  .new-hero__copy { padding: 0; }
  .new-hero__place { font-size: .8125rem; margin-bottom: 20px; gap: 10px; }
  .g-conversation .new-hero h1 { max-width: 13ch; font-size: clamp(2.6rem, 10.3vw, 4.1rem); margin-bottom: 24px; }
  .new-hero__intro { max-width: 44ch; font-size: 1rem; line-height: 1.8; }
  .new-hero__actions { flex-direction: row; align-items: center; gap: 22px; margin-top: 26px; }
  .new-button { min-height: 52px; padding-inline: 22px; }
  .new-call { font-size: .9375rem; gap: 8px; }
  .new-call svg { display: none; }
  .new-languages { max-width: 520px; width: 100%; margin-inline: auto; }
  .new-languages__intro { margin-bottom: 20px; }
  .g-conversation .new-languages h2 { max-width: none; font-size: 1rem; }
  .greetings { gap: 26px 14px; padding-bottom: 28px; }
  .greetings > li:nth-child(even) { top: 28px; }
  .greet { min-height: 170px; padding: 22px; grid-template-columns: 1fr 26px; gap: 22px 6px; }
  .greet__hello { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .greet__arrow { display: grid; width: 26px; height: 26px; }
  .greet__arrow svg { width: 15px; height: 15px; }
  .greet__name { font-size: .8125rem; }
  .greet__word { font-size: .6875rem; }
  .new-languages__hint { margin-top: 8px; font-size: .8125rem; }
  .new-teacher__grid { grid-template-columns: 1fr; gap: 36px; }
  .g-conversation .new-teacher h2 { max-width: 12ch; font-size: 2.8rem; margin-bottom: 16px; }
  .new-teacher__name { display: block; }
  .new-teacher__quote > p { font-size: 1.65rem; }
  .new-teacher__quote { margin-bottom: 26px; }
  .new-teacher__words > p { font-size: 1rem; line-height: 1.85; }
  .new-visit { grid-template-columns: 1fr; gap: 34px; padding-block: 64px; }
  .new-visit__copy, .new-visit__media { grid-column: auto; grid-row: auto; }
  .g-conversation .new-visit h2, .g-conversation .new-contact h2 { font-size: 2.5rem; max-width: 14ch; margin-bottom: 24px; }
  .new-visit__copy > p:not(.school-visit__addr) { font-size: 1rem; }
  .new-map .school-map__frame { aspect-ratio: 1.5; min-height: 240px; border-radius: 24px; }
  .new-map .school-map__card { left: 14px; right: 14px; bottom: 14px; padding: 12px 16px; }
  .new-contact { padding-block: 56px 64px; border-radius: 30px 30px 0 0; }
  .new-contact__grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 28px; }
  .new-contact__copy, .new-contact__grid > .new-form, .new-contact__grid > .new-contact__details { grid-column: auto; grid-row: auto; }
  .new-contact__copy { padding-top: 0; }
  .new-contact__intro { font-size: 1rem; }
  .new-contact__details { margin-top: 4px; }
  .school-form__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .school-dock { position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 20px; background: #fff; box-shadow: 0 4px 20px #243d3026; visibility: hidden; transform: translateY(calc(100% + 30px)); }
  .school-dock.is-on { visibility: visible; transform: none; }
  .school-dock .school-button { min-height: 48px; font-size: .8125rem; padding-inline: 10px; gap: 8px; }
  .school-dock .school-button svg { width: 17px; height: 17px; }
  .school-button--quiet { background: var(--school-field); color: var(--g-primary); }
  .school-button--quiet:hover { background: var(--g-line); color: var(--g-primary-dark); }
}
@media (max-width: 440px) {
  .new-hero__actions { gap: 18px; }
  .new-button { padding-inline: 20px; font-size: .9375rem; }
  .greet { padding: 20px 18px; min-height: 160px; }
  .greet__arrow { display: none; }
  .greet__course { grid-column: 1 / -1; }
  .new-form { padding: 26px 20px; border-radius: 22px; }
  .school-form__fields { grid-template-columns: 1fr; gap: 20px; }
  .school-form__foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .school-form .school-button { width: 100%; }
  .school-form__privacy { min-height: 44px; display: grid; place-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .greet, .new-button, .school-button { transition: none; }
  .greet:hover, .greet:focus-visible { transform: none; }
}
