:root {
  --olive: #5B6B2F;
  --olive-deep: #46531F;
  --olive-mid: #8E9A5C;
  --terracotta: #C0643C;
  --terracotta-ink: #A4502B;
  --terracotta-deep: #97462A;
  --terracotta-tint: #F4E2D4;
  --cream: #F5EFE3;
  --cream-deep: #ECE4D2;
  --paper: #FBF7EF;
  --bark: #2E2419;
  --bark-soft: #5A4A3A;
  --sage: #B8C29A;
  --sage-light: #DFE3CC;
  --line: rgba(46, 36, 25, .14);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Karla", "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--bark);
  background-color: var(--cream);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(224, 136, 90, .10), transparent 70%),
    radial-gradient(900px 500px at -10% 30%, rgba(184, 194, 154, .16), transparent 70%);
  background-repeat: no-repeat;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .18  0 0 0 0 .14  0 0 0 0 .1  0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img, svg { display: block; max-width: 100%; }

a { color: var(--terracotta-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--bark); }

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0 0 .45em;
  text-wrap: balance;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--olive);
}
h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); }

p { margin: 0 0 1.1em; text-wrap: pretty; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 300;
  background: var(--bark);
  color: var(--cream);
  padding: .6em 1em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus, .skip-link:hover { top: 12px; color: var(--cream); }

.container {
  width: min(1180px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section { padding-block: clamp(80px, 11vw, 150px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  margin: 0 0 1.25rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--olive);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: #E3E8CF; }
.eyebrow--terra { color: var(--terracotta-ink); }

.say {
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--olive-deep);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .95em 1.7em;
  border: 1.5px solid var(--terracotta-ink);
  border-radius: 999px;
  background: var(--terracotta-ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--bark); border-color: var(--bark); color: var(--cream); }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent;
  color: var(--bark);
  border-color: rgba(46, 36, 25, .35);
}
.btn-ghost:hover { background: transparent; border-color: var(--bark); color: var(--bark); }
.btn-small { padding: .65em 1.25em; font-size: .88rem; }
.btn[hidden] { display: none; }

.chip {
  padding: .45em 1.05em;
  border: 1px solid rgba(46, 36, 25, .28);
  border-radius: 999px;
  background: transparent;
  color: var(--bark);
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.chip:hover { background: var(--cream-deep); border-color: var(--bark); }
.chip[hidden] { display: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 227, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(46, 36, 25, .5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--bark);
  text-decoration: none;
}
.brand:hover { color: var(--bark); }
.brand-mark { width: 30px; height: 36px; flex: none; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
}
.brand-name em { font-weight: 400; color: var(--terracotta-ink); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav ul a {
  position: relative;
  color: var(--bark);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  padding-block: 6px;
}
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav ul a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav-toggle-bar {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--bark);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle-bar:nth-of-type(2) { top: 18px; }
.nav-toggle-bar:nth-of-type(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(2) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(3) { top: 21px; transform: rotate(-45deg); }
.arch {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 999px 999px 8px 8px;
  background: var(--cream-deep);
  box-shadow: 0 30px 60px -40px rgba(46, 36, 25, .45);
}
.arch svg { width: 100%; height: 100%; }
.arch--tall { aspect-ratio: 4 / 5; }
.arch-frame { position: relative; }
.arch-frame::before {
  content: "";
  position: absolute;
  top: 16px; left: 16px; right: -16px; bottom: -16px;
  border: 1px solid var(--terracotta);
  border-radius: 999px 999px 10px 10px;
  opacity: .7;
}
.arch-frame--left::before { left: -16px; right: 16px; }
.hero {
  padding-top: clamp(36px, 6vw, 80px);
  padding-bottom: clamp(56px, 8vw, 110px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(3rem, 7.2vw, 6.1rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.02em;
  margin-bottom: .4em;
}
.hero h1 em { display: block; }
.lede {
  max-width: 33em;
  font-size: 1.15rem;
  color: var(--bark-soft);
}
.lede i { font-family: var(--serif); font-size: 1.12em; color: var(--terracotta-ink); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 2.6rem 0 0;
  padding: 1.3rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  font-size: .92rem;
  color: var(--bark-soft);
}
.hero-notes li { display: flex; align-items: center; gap: 10px; }
.hero-notes li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  flex: none;
}

.hero-art {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
}
.hero-art .arch { aspect-ratio: 4 / 5; }
.stamp {
  position: absolute;
  left: -48px;
  bottom: 40px;
  z-index: 2;
  width: 124px;
  height: 124px;
  filter: drop-shadow(0 10px 20px rgba(46, 36, 25, .15));
}
.stamp-text {
  transform-origin: 60px 60px;
  animation: spin 40s linear infinite;
}
.scene .sun { animation: glow 6s ease-in-out infinite alternate; transform-origin: 300px 215px; }
.tag { animation: bob 5s ease-in-out infinite alternate; }
.tag:nth-of-type(2n) { animation-delay: -2.5s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow { from { transform: scale(1); } to { transform: scale(1.04); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-3px); } }
.divider {
  display: flex;
  justify-content: center;
  color: var(--olive);
}
.divider svg { width: clamp(180px, 22vw, 260px); height: auto; }
.section-head { max-width: 680px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head > p:last-child { color: var(--bark-soft); font-size: 1.08rem; }
.features {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 1.8rem 0;
  padding: 0;
  list-style: none;
  font-size: .98rem;
}
.features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--bark-soft);
}
.features strong { color: var(--bark); }
.features svg {
  width: 20px; height: 10px;
  margin-top: .55em;
  flex: none;
  color: var(--olive);
  transform: rotate(-30deg);
}
.course-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.course-art { max-width: 440px; width: 100%; justify-self: center; }
.course-copy > p { max-width: 36em; color: var(--bark-soft); }
.course-copy > p i { font-family: var(--serif); font-size: 1.12em; color: var(--terracotta-ink); }

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 32px;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.step-num {
  display: grid;
  place-items: center;
  width: 44px; height: 54px;
  padding-top: 6px;
  border-radius: 999px 999px 6px 6px;
  background: var(--sage-light);
  color: var(--olive-deep);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
}
.steps h3 { font-size: 1.45rem; margin-bottom: .25em; }
.steps p { margin: 0; font-size: .96rem; color: var(--bark-soft); }
.units {
  background: linear-gradient(180deg, transparent, rgba(236, 228, 210, .75) 18%, rgba(236, 228, 210, .75) 85%, transparent);
}
.unit-list { border-top: 1px solid var(--line); }
.unit { border-bottom: 1px solid var(--line); }
.unit summary {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 30px 0;
  cursor: pointer;
  list-style: none;
}
.unit summary::-webkit-details-marker { display: none; }
.unit summary:focus-visible { outline-offset: 6px; }
.unit-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.2rem;
  line-height: .9;
  color: var(--terracotta-ink);
}
.unit-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.unit-title {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  font-weight: 500;
  line-height: 1.1;
  transition: color .2s var(--ease);
}
.unit summary:hover .unit-title { color: var(--terracotta-ink); }
.unit-en {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--olive);
}
.unit-goal { margin-top: .45em; font-size: 1rem; color: var(--bark-soft); max-width: 40em; }
.unit-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.pill {
  display: inline-block;
  padding: .32em .85em;
  border-radius: 999px;
  background: var(--sage-light);
  color: var(--olive-deep);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill--mid { background: var(--terracotta-tint); color: var(--terracotta-deep); }
.pill--high { background: var(--bark); color: var(--cream); }
.unit-count { font-size: .9rem; color: var(--bark-soft); white-space: nowrap; }
.unit-toggle {
  position: relative;
  width: 34px; height: 34px;
  border: 1px solid rgba(46, 36, 25, .28);
  border-radius: 50%;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.unit-toggle::before,
.unit-toggle::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: var(--bark);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.unit-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.unit[open] .unit-toggle { background: var(--bark); border-color: var(--bark); }
.unit[open] .unit-toggle::before,
.unit[open] .unit-toggle::after { background: var(--cream); }
.unit[open] .unit-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }

.unit-lessons {
  margin: -6px 0 0;
  padding: 0 0 34px calc(108px + 1.4em);
  columns: 2;
  column-gap: 44px;
}
.unit-lessons li {
  break-inside: avoid;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(46, 36, 25, .2);
  font-size: .96rem;
  color: var(--bark-soft);
}
.unit-lessons li::marker { color: var(--terracotta-ink); font-weight: 700; font-size: .9em; }
.unit-lessons li > span:first-child {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.25;
  color: var(--olive-deep);
}
.practice-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.wotd {
  position: sticky;
  top: 110px;
  padding: 70px clamp(24px, 3vw, 40px) 36px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 999px 999px 20px 20px;
  background: var(--paper);
  box-shadow: 0 30px 60px -45px rgba(46, 36, 25, .5);
}
.wotd::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(192, 100, 60, .35);
  border-radius: 999px 999px 14px 14px;
  pointer-events: none;
}
.wotd-top { display: flex; flex-direction: column; align-items: center; }
.wotd .eyebrow { margin-bottom: .4rem; }
.wotd .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.wotd-date {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--bark-soft);
}
.wotd-word {
  margin: .35em 0 .15em;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.4vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.wotd-meta { font-size: .9rem; color: var(--bark-soft); margin-bottom: .6em; }
.wotd-meaning {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--terracotta-ink);
}
.wotd-example {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(46, 36, 25, .25);
}
.wotd-example p { margin: 0; }
.wotd-example p[lang="es"] { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; font-weight: 500; }
.wotd-example p + p { margin-top: .3em; font-size: .94rem; color: var(--bark-soft); }
.wotd-next { margin-top: 1.4rem; }
.wotd.is-changing .wotd-word,
.wotd.is-changing .wotd-meaning { animation: rise .45s var(--ease); }

.flash-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: .6rem;
}
.flash-head h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 0; }
.flash-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.flash-tip { color: var(--bark-soft); font-size: .96rem; max-width: 36em; }
.flash-tip strong { font-family: var(--serif); font-size: 1.15em; color: var(--bark); }

.flash-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.flashcard {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  perspective: 900px;
  border-radius: 999px 999px 14px 14px;
}
.face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 26px 10px 18px;
  text-align: center;
  border-radius: 999px 999px 14px 14px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform .6s var(--ease), border-color .2s var(--ease);
}
.front {
  background: var(--paper);
  border: 1px solid rgba(46, 36, 25, .18);
  box-shadow: 0 16px 30px -26px rgba(46, 36, 25, .6);
}
.back {
  background: var(--olive);
  color: var(--cream);
  transform: rotateY(180deg);
}
.flashcard:hover .front { border-color: var(--terracotta); }
.flashcard.is-flipped .front { transform: rotateY(-180deg); }
.flashcard.is-flipped .back { transform: rotateY(0deg); }
.fc-es {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.fc-en {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 1.9vw, 1.5rem);
  line-height: 1.15;
}
.back .say { color: rgba(245, 239, 227, .92); font-size: .8rem; overflow-wrap: anywhere; }
.g {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: .15em .7em;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.g--f { background: var(--terracotta-tint); color: var(--terracotta-deep); }
.g--m { background: var(--sage-light); color: var(--olive-deep); }
html:not(.js) .flashcard { aspect-ratio: auto; cursor: default; }
html:not(.js) .face { position: static; transform: none; border-radius: 14px; }
html:not(.js) .back { margin-top: 6px; }
html:not(.js) .g { position: static; transform: none; }
.verbs {
  background: var(--olive);
  color: var(--cream);
}
.verbs h2 em { color: #EEF0E2; }
.verbs-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.verbs-head > p { color: rgba(245, 239, 227, .88); }
.verbs-head strong { color: var(--cream); font-family: var(--serif); font-size: 1.15em; }
.verb-tips {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .96rem;
  color: rgba(245, 239, 227, .9);
}
.verb-tips li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-top: 1px solid rgba(245, 239, 227, .18);
}
.verb-tips li::before {
  content: "";
  position: absolute;
  left: 2px; top: 1.15em;
  width: 9px; height: 9px;
  border-radius: 50% 50% 50% 0;
  background: var(--sage);
  transform: rotate(-45deg);
}
.verb-tips span { font-weight: 700; color: var(--cream); }
.verb-tips b { color: var(--cream); text-decoration: underline; text-decoration-color: #E7A583; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.verb-card {
  padding: clamp(20px, 3.4vw, 40px);
  border-radius: 24px;
  background: var(--paper);
  color: var(--bark);
  box-shadow: 0 40px 70px -40px rgba(20, 16, 10, .55);
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.verb-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: lining-nums;
}
.verb-table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 14px;
  font-size: .88rem;
  color: var(--bark-soft);
}
.verb-table thead th {
  padding: 0 12px 12px;
  border-bottom: 2px solid var(--bark);
  text-align: left;
  vertical-align: bottom;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.1;
}
.verb-table thead th:first-child {
  padding-left: 0;
  font-family: var(--sans);
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bark-soft);
}
.verb-table thead small {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-style: normal;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--olive);
}
.verb-table tbody th {
  padding: 12px 12px 12px 0;
  text-align: left;
  font-size: .9rem;
  font-weight: 500;
  color: var(--bark-soft);
  width: 34%;
}
.verb-table td {
  padding: 12px;
  font-size: 1.15rem;
}
.verb-table tbody tr { border-bottom: 1px solid var(--line); }
.verb-table tbody tr:nth-child(odd) td { background: rgba(223, 227, 204, .35); }
.verb-table td b { color: var(--terracotta-ink); font-weight: 700; }
.verb-examples {
  display: grid;
  gap: 6px;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(46, 36, 25, .25);
}
.verb-examples p { margin: 0; font-size: .92rem; color: var(--bark-soft); }
.verb-examples span { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--bark); margin-right: .4em; }
.phrase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.phrase {
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.phrase:hover { transform: translateY(-3px); border-color: rgba(192, 100, 60, .5); }
.phrase:nth-child(5n+2) { background: var(--sage-light); }
.phrase:nth-child(5n+4) { background: var(--terracotta-tint); }
.ph-es {
  margin: 0 0 .5em;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
}
.phrase .say { margin: 0 0 .5em; display: block; }
.ph-en { margin: 0; font-size: .96rem; color: var(--bark-soft); }
.lit { display: block; margin-top: .2em; font-size: .86rem; font-style: italic; }
.quiz-grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.quiz-head { position: sticky; top: 110px; }
.quiz-head > p { color: var(--bark-soft); }
.quiz-score {
  min-height: 1.2em;
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.2;
  color: var(--olive-deep);
}
.quiz-score em { color: var(--terracotta-ink); }

.quiz-form { display: flex; flex-direction: column; gap: 18px; }
.q {
  min-width: 0;
  margin: 0;
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.q legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 16px;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.5;
}
.q legend span[lang] { font-family: var(--serif); font-size: 1.15em; font-weight: 600; }
.q-num {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--cream);
  font-size: .85rem;
  font-weight: 700;
  vertical-align: 1px;
}
.options {
  clear: both;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.options label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #D9CCB3;
  border-radius: 12px;
  background: #FFFDF8;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.options label:hover { border-color: var(--olive); }
.options label span { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.2; }
.options input {
  flex: none;
  width: 18px; height: 18px;
  margin: 0;
  accent-color: var(--olive);
}
.options label:has(input:checked) { border-color: var(--olive); background: var(--sage-light); }
.options label:has(input:focus-visible) { outline: 2px solid var(--olive); outline-offset: 2px; }
.options label.is-answer { border-color: var(--olive); background: #E1E8CB; box-shadow: inset 0 0 0 1px var(--olive); }
.options label.is-wrong-pick { border-color: var(--terracotta-ink); background: var(--terracotta-tint); }

.q.is-correct { border-color: var(--olive); box-shadow: 0 0 0 1px var(--olive); }
.q.is-wrong { border-color: var(--terracotta-ink); box-shadow: 0 0 0 1px var(--terracotta-ink); }
.q-feedback {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--cream-deep);
  font-size: .95rem;
  animation: rise .4s var(--ease);
}
.q-feedback strong { margin-right: .3em; }
.q.is-correct .q-feedback strong { color: var(--olive-deep); }
.q.is-wrong .q-feedback strong { color: var(--terracotta-ink); }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.teachers {
  background: linear-gradient(180deg, transparent, rgba(223, 227, 204, .55) 20%, rgba(223, 227, 204, .55) 85%, transparent);
}
.teachers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.teachers-copy > p { color: var(--bark-soft); max-width: 36em; }
.teachers-art { max-width: 420px; width: 100%; justify-self: center; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact-info > p { color: var(--bark-soft); }
.direct { font-size: 1rem; }
.direct a { font-weight: 700; word-break: break-word; }
.note {
  padding: 14px 18px;
  border-left: 3px solid var(--olive);
  border-radius: 0 12px 12px 0;
  background: var(--sage-light);
  font-size: .93rem;
}
.contact-info > p.note { color: var(--bark); }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 30px 60px -45px rgba(46, 36, 25, .45);
}
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bark);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: .8em .95em;
  border: 1px solid #CDBFA5;
  border-radius: 10px;
  background: #FFFDF8;
  color: var(--bark);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 2.4em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%235B6B2F' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1em center;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: #7D6D5B; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(91, 107, 47, .18);
}
.field [aria-invalid="true"] { border-color: var(--terracotta-ink); }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.form-error { margin: 0; color: var(--terracotta-ink); font-size: .92rem; font-weight: 500; }
.form-error[hidden] { display: none; }
.form-thanks {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--sage-light);
  animation: rise .5s var(--ease);
}
.form-thanks[hidden] { display: none; }
.form-thanks svg { width: 30px; height: 36px; flex: none; }
.form-thanks p { margin: 0; font-size: .96rem; }
.form-thanks a { word-break: break-word; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(64px, 8vw, 96px) 0 32px;
  background: var(--bark);
  color: rgba(245, 239, 227, .86);
}
.footer-branch {
  position: absolute;
  right: -60px; top: 20px;
  width: 520px;
  color: var(--sage);
  opacity: .12;
  transform: rotate(-12deg);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.brand--light, .brand--light:hover { color: var(--cream); }
.brand--light .brand-name em { color: #E7A583; }
.footer-brand p { max-width: 26em; margin-top: 1.2rem; font-size: .98rem; }
.footer-brand i { font-family: var(--serif); font-size: 1.12em; color: #E7A583; }
.footer-col h2 {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage);
}
.footer-col ul, .footer-bottom ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: .55rem; font-size: .98rem; }
.site-footer a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(245, 239, 227, .3); }
.site-footer a:hover { color: #fff; border-color: var(--cream); }
.site-footer .brand { border-bottom: 0; }
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid rgba(245, 239, 227, .16);
  font-size: .9rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 24px; }
.legal { padding-block: clamp(56px, 8vw, 110px); }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); font-weight: 400; }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.2em; }
.legal .updated { color: var(--bark-soft); font-size: .95rem; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .divider { justify-content: flex-start; margin: 1.5rem 0 1rem; }
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1100px) {
  .flash-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 12px var(--gutter) 28px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(46, 36, 25, .4);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a {
    display: block;
    padding: 12px 0;
    font-family: var(--serif);
    font-size: 1.55rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav ul a::after { display: none; }
  .site-nav .btn { align-self: flex-start; }
  html:not(.js) .site-nav { position: static; display: flex; box-shadow: none; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
}

@media (max-width: 960px) {
  .hero-grid,
  .course-grid,
  .practice-grid,
  .verbs-grid,
  .quiz-grid,
  .teachers-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .hero-art { justify-self: center; max-width: 420px; }
  .stamp { left: -24px; bottom: 28px; width: 108px; height: 108px; }
  .course-art { order: -1; max-width: 380px; }
  .teachers-art { max-width: 380px; }
  .wotd, .quiz-head { position: static; }
  .wotd { max-width: 480px; width: 100%; justify-self: center; }
  .flash-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .flash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options { grid-template-columns: minmax(0, 1fr); }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .unit summary { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 24px 0; }
  .unit-num { font-size: 2.3rem; }
  .unit-meta {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
  }
  .unit-toggle { margin-left: auto; }
  .unit-lessons { columns: 1; padding-left: calc(62px + 1.2em); }
  .hero-actions .btn { flex: 1 1 auto; }
  .stamp { left: 8px; bottom: -28px; width: 96px; height: 96px; }
  .hero-art { margin-bottom: 24px; }
  .arch-frame::before { right: -10px; bottom: -10px; top: 10px; left: 10px; }
  .arch-frame--left::before { left: -10px; right: 10px; }
  .q { padding: 18px 16px 20px; }
  .verb-table td { padding: 10px 8px; font-size: 1.05rem; }
  .verb-table thead th { padding: 0 8px 10px; font-size: 1.35rem; }
  .verb-table tbody th { font-size: .82rem; padding-right: 8px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-name { font-size: 1.45rem; }
}

@media (max-width: 420px) {
  .unit-lessons { padding-left: 1.4em; }
  .wotd { padding-inline: 20px; }
  .verb-card { padding: 18px 14px; border-radius: 18px; }
  .verb-table td { padding: 9px 5px; font-size: .98rem; }
  .verb-table thead th { padding: 0 5px 10px; font-size: 1.2rem; }
  .verb-table thead small { font-size: .64rem; letter-spacing: .06em; }
  .verb-table tbody th { font-size: .76rem; padding-right: 4px; width: 30%; }
}
