:root {
  --paper: #f8f4f2;
  --paper-warm: #f3eee9;
  --clay: #b88994;
  --clay-soft: #d4a5a5;
  --indigo: #5a7d8c;
  --indigo-soft: #7a9aaa;
  --ink: #2a2e34;
  --muted: #5e646c;
  --line: rgba(42, 46, 52, 0.1);
  --glass: #fcf9f7cc;
  --white: rgba(255, 255, 255, 0.82);
  --shadow: 0 26px 70px rgba(42, 46, 52, 0.1);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --page-pad: clamp(20px, 4.5vw, 28px);
  --container: min(1080px, calc(100% - (var(--page-pad) * 2)));
  --sans: Nunito, system-ui, sans-serif;
  --serif: Literata, Georgia, serif;
  --field-progress: 0;
  --field-chroma: 0.72;
  --cursor-x: 50%;
  --cursor-y: 22%;
  --mx: 72%;
  --my: 28%;
  color-scheme: light only;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font: 600 16px/1.6 var(--sans);
  background:
    radial-gradient(circle at 12% 0%, rgba(184, 137, 148, calc(0.09 * var(--field-chroma))), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(90, 125, 140, calc(0.08 * var(--field-chroma))), transparent 28%),
    linear-gradient(
      180deg,
      color-mix(in srgb, #ececec calc((1 - var(--field-chroma)) * 100%), #fcfbfa) 0%,
      color-mix(in srgb, #e8e8e8 calc((1 - var(--field-chroma)) * 100%), #f8f4f2) 42%,
      color-mix(in srgb, #e3e3e3 calc((1 - var(--field-chroma)) * 100%), #f3eee9) 100%
    );
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(42, 46, 52, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 46, 52, 0.012) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(circle 200px at var(--cursor-x) var(--cursor-y), rgba(184, 137, 148, calc(0.04 * var(--field-chroma))), transparent 72%),
    radial-gradient(circle 160px at calc(var(--cursor-x) + 7%) calc(var(--cursor-y) + 3%), rgba(90, 125, 140, calc(0.04 * var(--field-chroma))), transparent 74%);
  transition: background 0.22s ease-out;
}

.site-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}
.mist-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(184, 137, 148, 0.06), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(90, 125, 140, 0.07), transparent 32%);
  filter: grayscale(calc(1 - var(--field-chroma)));
}
#livingField {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; outline: none; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  height: 3px;
  width: calc(var(--field-progress, 0) * 100%);
  background: linear-gradient(90deg, var(--indigo), var(--clay));
}

.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 40;
  transition: transform 0.35s ease;
}
.site-header.is-hidden { transform: translateY(-120%); }
.header-inner {
  width: var(--container);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  background: var(--glass);
  border: 1px solid #ffffffaa;
  border-radius: 999px;
  backdrop-filter: blur(18px);
}
.logo {
  font-weight: 800;
  font-size: 0.86rem;
  white-space: nowrap;
}
.nav {
  display: flex;
  gap: 16px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav a {
  opacity: 0.75;
  font-weight: 800;
  font-size: 0.88rem;
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.header-tg {
  color: var(--indigo);
  font-weight: 800;
  font-size: 0.86rem;
  white-space: nowrap;
}
.burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  font-size: 1.2rem;
  cursor: pointer;
}
.mobile-panel { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(115deg, var(--clay), var(--indigo));
  color: #fff;
  font: 800 0.92rem var(--sans);
  cursor: pointer;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--indigo) 22%, transparent);
}
.btn:disabled { opacity: 0.6; cursor: wait; }
.ghost {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  background: #fff;
  border: 1px solid #2a2e3422;
}

.wrap {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  padding: 118px 0 36px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 36px;
  align-items: center;
}
.hero-copy {
  padding: 28px 30px;
  border-radius: var(--radius-xl);
  background: var(--glass);
  border: 1px solid #fff;
  backdrop-filter: blur(20px);
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--indigo);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; }
h1 {
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.mark {
  background: linear-gradient(115deg, var(--clay), var(--indigo)) no-repeat 0 92%;
  background-size: 100% 0.12em;
}
.lead, .sec-lead {
  margin-top: 12px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 9px 13px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-aside { position: relative; min-height: 280px; }
.orb {
  position: absolute;
  inset: 8% 10% auto 8%;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #ffffffaa, transparent 55%),
    linear-gradient(135deg, color-mix(in srgb, var(--clay) 45%, #fff), color-mix(in srgb, var(--indigo) 50%, #fff));
  filter: blur(2px);
  animation: drift 12s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8px, -10px) scale(1.04); }
}
.mini-card {
  position: relative;
  z-index: 1;
  margin-top: 140px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: #ffffffd0;
  border: 1px solid #fff;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.mini-card strong { display: block; font-family: var(--serif); font-size: 1.15rem; margin-bottom: 6px; }
.mini-card p { color: var(--muted); font-size: 0.95rem; }

.map-layout {
  margin-top: 28px;
  width: 100%;
  max-width: 100%;
}
.map-layout iframe {
  display: block;
  width: 100%;
  height: 320px;
  min-height: 320px;
  border: 0;
  border-radius: 24px;
  background: #fff;
}
.map-open { margin: 0; font-size: 0.9rem; }
.map-open a { color: var(--indigo); }

.sec { padding: 72px 0 8px; }
.sec h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 6px 0 12px; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.fact {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: #ffffffb8;
  border: 1px solid #fff;
  box-shadow: 0 16px 42px rgba(42, 46, 52, 0.06);
}
.fact b { display: block; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 6px; }
.fact span { color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px 22px 20px;
  border-radius: var(--radius-lg);
  background: #ffffffc4;
  border: 1px solid #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); }
.card b { font-family: var(--serif); font-size: 1.35rem; }
.card > span:not(.btn) {
  display: block;
  margin: 10px 0 18px;
  color: var(--muted);
  flex: 1;
}
.card .btn {
  align-self: flex-start;
  flex: none;
  margin: 0;
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 460px) 1fr;
  gap: 28px;
  align-items: start;
}
.note-box {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--clay) 50%, #fff);
  background: #ffffffb0;
}
.note-box a { color: var(--indigo); font-weight: 800; text-decoration: underline; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
}
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .orb { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.page-hero { padding: 118px 0 12px; }

.signup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  gap: 36px 40px;
  align-items: start;
}
.signup-main .sec-lead { max-width: 42ch; }
.signup-shell {
  margin-top: 22px;
  width: 100%;
  max-width: 36rem;
  padding: 28px 24px;
  border-radius: var(--radius-xl);
  background: #ffffffc8;
  border: 1px solid #fff;
  box-shadow: var(--shadow);
}
.signup-map .map-kicker {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  margin: 6px 0 10px;
}
.signup-map .sec-lead { max-width: 36ch; }
.signup-map .map-layout { margin-top: 18px; }
.signup-map iframe { min-height: 380px; height: 380px; }
.form-grid { display: grid; gap: 16px; }
.field span, .contact-methods legend, .choice-set legend {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 800;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}
.field input.is-error, .field textarea.is-error,
.contact-methods.is-error, .choice-set.is-error, .consent-row.is-error {
  outline: 2px solid #c45b5b;
  outline-offset: 2px;
}
.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.contact-methods, .choice-set {
  border: 0;
  padding: 0;
}
.contact-methods-row, .choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.contact-methods label, .choice-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
}
.consent-row a { color: var(--indigo); font-weight: 800; text-decoration: underline; }
.form-error { min-height: 1.2em; color: #a33; font-weight: 700; }
.form-note { color: var(--muted); font-size: 0.9rem; }

.site-footer {
  margin-top: 72px;
  padding: 28px 0 36px;
  border-top: 1px solid #fff9;
  background: #ffffff66;
}
.footer-inner {
  width: var(--container);
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand { font-family: var(--serif); }
.footer-brand span { display: block; margin-top: 4px; color: var(--muted); font: 600 0.82rem var(--sans); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.footer-links a { font-size: 0.8rem; }
.legal { width: 100%; margin: 8px 0 0; color: var(--muted); font-size: 0.77rem; }

a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
}

.blog-empty {
  margin: 28px 0 80px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #ffffffb8;
  border: 1px solid #fff;
}

.about-visual {
  display: grid;
  gap: 14px;
  max-width: 460px;
}
.portrait {
  position: relative;
  aspect-ratio: 1 / 1.15;
  max-width: 460px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid #fff;
  background: #fff;
  box-shadow: 0 24px 55px rgba(90, 125, 140, 0.22), 0 0 0 1px #fff8, 0 0 48px rgba(184, 137, 148, 0.28);
  animation: float-photo 5.6s ease-in-out infinite;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 40px #fff4;
  pointer-events: none;
}
@keyframes float-photo {
  50% { transform: translateY(-12px); }
}
.about-edu { padding: 4px 2px 0; }
.about-edu .diplomas { margin: 8px 0 0; }
.diplomas {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.diploma {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--clay) 45%, #fff);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font: 800 0.75rem var(--sans);
}
.diploma:hover { border-color: var(--indigo); color: var(--indigo); }
.diploma-more-toggle {
  display: inline-block;
  margin: 6px 0 0;
  padding: 4px 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--indigo);
  font: 800 0.82rem var(--sans);
}
.diploma-more-toggle[hidden] { display: none; }
.diploma-more { margin-top: 4px; }
.diploma-more[hidden] { display: none !important; }
.diploma-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #2a2e34d9;
  cursor: zoom-out;
}
.diploma-modal[hidden] { display: none; }
.diploma-modal img {
  max-width: min(900px, 94vw);
  max-height: 86vh;
  border-radius: 14px;
  background: #fff;
}
.diploma-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .portrait { animation: none; }
}
.direct-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  font-weight: 800;
}
.direct-contacts a { color: var(--indigo); }
.choice-hint {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.slot-prefs {
  display: grid;
  gap: 14px;
  margin: 2px 0;
  padding: 16px 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(90, 125, 140, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 244, 242, 0.7)),
    radial-gradient(circle at 12% 0%, rgba(90, 125, 140, 0.12), transparent 42%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.slot-prefs .choice-set {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.slot-prefs .choice-days > legend {
  float: none;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}
.slot-prefs .vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.slot-prefs .choice-flexible {
  margin: 4px 0 12px;
  padding: 0;
  border: 0;
  font-weight: 800;
}
.slot-prefs .choice-row label {
  font-weight: 600;
}
.choice-flexible {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
  cursor: pointer;
}
.choice-flexible input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--indigo);
}
.about-copy {
  display: grid;
  gap: 28px;
}
.about-copy .sec-lead { margin: 0; }
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-links .btn,
.about-links .ghost {
  text-align: center;
  white-space: normal;
  line-height: 1.3;
  padding: 12px 18px;
  max-width: 100%;
}
.about-online {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  line-height: 1.7;
}
.about-online a { color: var(--indigo); font-weight: 800; text-decoration: underline; }
.faq {
  margin-top: 8px;
  border-top: 1px solid #ffffffaa;
}
.faq details {
  border-bottom: 1px solid #ffffffaa;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  padding: 16px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--indigo);
  font-weight: 800;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0 0 18px;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.55;
}
.faq details a { color: var(--indigo); font-weight: 800; }
.faq-more {
  margin: 18px 0 0;
  color: var(--muted);
}
.faq-more a { color: var(--indigo); font-weight: 800; }
.not-for {
  margin-top: 4px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #ffffffb0;
  border: 1px solid #fff;
  color: var(--muted);
  font-size: 0.95rem;
}
.not-for-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}

@media (max-width: 900px) {
  .hero, .split, .cards, .signup-layout { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header-tg { margin-left: auto; }
  .burger { display: block; margin-left: 8px; }
  .mobile-panel.open {
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    padding: 14px 18px;
    border-radius: 20px;
    background: #fffc;
    border: 1px solid #fff;
    backdrop-filter: blur(16px);
  }
  .mobile-panel nav { display: grid; gap: 10px; }
  .hero-aside { min-height: 0; }
  .mini-card { margin-top: 0; }
  .orb { display: none; }
  .map-layout iframe { height: 320px; min-height: 320px; }
}
