/* ============ Tokens ============ */
:root {
  --ink: #1a1410;
  --ink-muted: #6b5f55;
  --paper: #fbf7f1;
  --paper-2: #f3ece1;
  --line: #e7ddcd;
  --accent: #c2410c;       /* warm terracotta */
  --accent-soft: #fbe7d6;
  --accent-ink: #7c2d12;
  --shadow-sm: 0 1px 2px rgba(26,20,16,0.06), 0 2px 8px rgba(26,20,16,0.04);
  --shadow-md: 0 8px 24px rgba(26,20,16,0.08), 0 2px 6px rgba(26,20,16,0.04);
  --shadow-lg: 0 24px 60px rgba(26,20,16,0.14), 0 6px 16px rgba(26,20,16,0.06);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --max: 1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 500; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
p  { margin: 0 0 1em; color: var(--ink-muted); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.accent {
  color: var(--accent);
  font-style: italic;
  font-family: var(--serif);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}
.btn .arrow { transition: transform 0.18s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { background: var(--paper-2); border-color: var(--ink); }

/* ============ Navigation ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  background: rgba(251,247,241,0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(251,247,241,0.92); }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn { color: var(--paper); }
.nav-links a.btn-primary:hover { color: var(--paper); }
.nav-back { color: var(--accent) !important; font-weight: 600 !important; }

@media (max-width: 760px) {
  .nav-links a:not(.btn):not(.nav-back) { display: none; }
  .nav-inner { gap: 12px; }
}

/* ============ Hero (home) ============ */
.hero {
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto -20%;
  height: 70%;
  background: radial-gradient(ellipse at 30% 30%, var(--accent-soft) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.greetings { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.greet-pill {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--ink);
}
.hero-content h1 { margin-bottom: 22px; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 56ch;
  margin-bottom: 28px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-muted);
  flex-wrap: wrap;
}
.stars { color: var(--accent); letter-spacing: 2px; }

.hero-art {
  position: relative;
  height: 420px;
  background:
    radial-gradient(circle at 70% 30%, var(--accent-soft), transparent 60%),
    linear-gradient(135deg, var(--paper-2), var(--paper));
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.floating-words {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 14px 18px;
  padding: 36px;
}
.floating-words .word {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  color: var(--ink);
  opacity: 0.85;
  animation: float 7s ease-in-out infinite;
}
.floating-words .word:nth-child(2n) { color: var(--accent); animation-duration: 8s; }
.floating-words .word:nth-child(3n) { animation-duration: 9s; opacity: 0.65; }
.floating-words .word:nth-child(odd) { animation-direction: alternate-reverse; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

/* ============ Section heads ============ */
.section-head { text-align: center; margin: 0 auto 56px; max-width: 720px; }
.section-head p { font-size: 1.05rem; }

/* ============ Languages ============ */
.languages { padding: 90px 0; background: var(--paper); }
.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.lang-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lang-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.lang-card .flag { font-size: 2rem; display: block; margin-bottom: 14px; }
.lang-card h3 { margin-bottom: 6px; }
.lang-card p { margin: 0; font-size: 0.95rem; }
.lang-card.coming {
  background: transparent;
  border-style: dashed;
  color: var(--ink-muted);
}
.lang-card.coming .flag { color: var(--accent); }

/* ============ Philosophy ============ */
.philosophy { padding: 100px 0; background: var(--paper-2); }
.phil-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .phil-grid { grid-template-columns: 1fr; gap: 32px; } }
.phil-quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.3;
  color: var(--ink);
  font-weight: 400;
  margin: 12px 0 0;
}
.phil-quote em { color: var(--accent); font-style: italic; }
.phil-text p { font-size: 1.04rem; }

/* ============ Teachers ============ */
.teachers { padding: 100px 0; }
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.teacher-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.teacher-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.avatar {
  width: 86px; height: 86px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.teacher-card h3 { margin-bottom: 4px; }
.teacher-role {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.teacher-card p { font-size: 0.97rem; }
.teacher-langs { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 22px; }
.lang-tag {
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--ink);
}
.teacher-card.join {
  background: linear-gradient(135deg, var(--paper-2), var(--paper));
  border-style: dashed;
  align-items: flex-start;
  justify-content: center;
}

/* ============ What to expect ============ */
.expect { padding: 100px 0; background: var(--paper-2); }
.tabs-wrap { display: flex; justify-content: center; margin-bottom: 40px; }
.tabs {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
}
.tab-btn {
  border: 0;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-muted);
  transition: background 0.18s, color 0.18s;
}
.tab-btn.active { background: var(--ink); color: var(--paper); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.expect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.expect-item {
  display: flex; gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 22px 18px;
}
.check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.expect-item h4 { margin-bottom: 4px; }
.expect-item p { font-size: 0.93rem; margin: 0; }

/* ============ CTA ============ */
.cta { padding: 100px 0; }
.cta-card {
  background: linear-gradient(135deg, var(--ink), #2a2018);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(194,65,12,0.4), transparent 60%);
}
.cta-card > * { position: relative; }
.cta-card h2 { color: var(--paper); margin-bottom: 18px; }
.cta-card p { color: rgba(251,247,241,0.78); max-width: 56ch; margin: 0 auto 28px; }
.cta-card .eyebrow { background: rgba(251,247,241,0.12); color: var(--paper); }
.cta-card .btn-primary { background: var(--paper); color: var(--ink); }
.cta-card .btn-primary:hover { background: var(--accent); color: var(--paper); }
.cta-card .btn-secondary { color: var(--paper); border-color: rgba(251,247,241,0.3); }
.cta-card .btn-secondary:hover { background: rgba(251,247,241,0.08); border-color: var(--paper); }

/* ============ Footer ============ */
footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 60px 0 32px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
.foot-col h4 { margin-bottom: 14px; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.foot-col a { display: block; font-size: 0.93rem; color: var(--ink-muted); padding: 4px 0; transition: color 0.18s; }
.foot-col a:hover { color: var(--accent); }
.foot-col p { font-size: 0.93rem; max-width: 36ch; }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ============ Profile pages ============ */
.profile-hero {
  padding: 70px 0 60px;
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--paper) 100%);
}
.profile-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 800px) {
  .profile-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .profile-meta { justify-content: center; }
  .hero-ctas { justify-content: center; }
}
.profile-photo {
  width: 280px; height: 280px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--accent);
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-role {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.profile-hero h1 { margin-bottom: 18px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* About */
.about-me { padding: 90px 0; }
.about-grid { max-width: 760px; margin: 0 auto; }
.about-me h2 { margin-bottom: 32px; font-style: italic; }
.about-me p { font-size: 1.05rem; color: var(--ink); margin-bottom: 1.2em; }
.about-me strong { color: var(--ink); font-weight: 600; }
.about-pull {
  font-family: var(--serif);
  font-size: 1.35rem !important;
  line-height: 1.5;
  color: var(--ink) !important;
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 22px;
  margin: 28px 0 !important;
  font-style: italic;
  font-weight: 400;
}

/* Specs */
.specs { padding: 90px 0; background: var(--paper-2); }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.spec-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.spec-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.spec-icon {
  font-size: 1.8rem;
  width: 52px; height: 52px;
  background: var(--accent-soft);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.spec-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.spec-card p { font-size: 0.93rem; margin: 0; }

/* Swiss section */
.swiss { padding: 100px 0; }
.swiss-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .swiss-grid { grid-template-columns: 1fr; gap: 32px; } }
.swiss-checks { list-style: none; padding: 0; margin: 24px 0 0; }
.swiss-checks li {
  position: relative;
  padding: 8px 0 8px 32px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.swiss-checks li:last-child { border-bottom: 0; }
.swiss-checks li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 8px;
  width: 22px; height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}
.swiss-card {
  background: linear-gradient(135deg, var(--ink), #2a2018);
  color: var(--paper);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.swiss-card .stat {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--paper);
  line-height: 1;
  margin-top: 22px;
}
.swiss-card .stat:first-child { margin-top: 0; }
.swiss-card p { color: rgba(251,247,241,0.7); font-size: 0.95rem; margin: 6px 0 0; }

/* Rates */
.rates { padding: 90px 0; background: var(--paper-2); }
.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}
.rate-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rate-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.rate-card.featured {
  border-color: var(--accent);
  border-width: 2px;
  background: linear-gradient(180deg, #fff, var(--accent-soft));
}
.rate-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.rate-card h3 { margin-bottom: 16px; }
.rate-price {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 16px;
}
.rate-price small { font-size: 0.95rem; color: var(--ink-muted); font-family: var(--sans); font-weight: 500; }
.rate-tailored {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 16px;
  font-style: italic;
}
.rate-note { font-size: 0.93rem; margin: 0; }
.rates-footnote {
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-top: 28px;
}

/* Testimonials */
.testimonials { padding: 100px 0; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 14px; font-size: 0.95rem; }
.review-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 22px;
}
.review-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-family: var(--serif);
}
.review-meta { display: flex; flex-direction: column; }
.review-name { font-weight: 600; font-size: 0.93rem; color: var(--ink); }
.review-date { font-size: 0.82rem; color: var(--ink-muted); }

/* ============ Modal ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26,20,16,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
  overflow-y: auto;
}
.modal-backdrop.open { display: flex; animation: fadeIn 0.2s ease; }
.modal {
  background: var(--paper);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 40px 36px 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  margin: auto;
  animation: pop 0.25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { transform: translateY(8px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.modal-close:hover { background: var(--paper-2); color: var(--ink); }
.modal h3 { margin-bottom: 6px; }
.modal-intro { font-size: 0.95rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; display: flex; flex-direction: column; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  font: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--ink);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { min-height: 88px; resize: vertical; }
.field-help { font-size: 0.82rem; color: var(--ink-muted); margin-top: 6px; }
.field.error input, .field.error select, .field.error textarea { border-color: #b91c1c; }
.modal-submit { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { font-size: 0.82rem; color: var(--ink-muted); margin: 16px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.modal-success { text-align: center; padding: 14px 0 8px; }
.check-big {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-weight: 700;
}
.modal-success h3 { margin-bottom: 8px; }
.modal-success p { margin-bottom: 22px; }

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .floating-words .word { animation: none; }
  html { scroll-behavior: auto; }
}
