/* ============================================================
   Liliya Tann — Psychology site v3
   Editorial / sophisticated / Jamie Sea × Suvorova × handwritten
   ============================================================ */

:root {
  --cream: #F2ECE0;
  --cream-soft: #E8E0D1;
  --cream-deep: #DDD1BC;
  --espresso: #2B1F14;
  --espresso-soft: #3C2E20;
  --olive: #5C6142;
  --terracotta: #B1593F;
  --terracotta-hover: #8F4731;
  --ink: #1A1108;
  --body-dark: #2B1F14;
  --body-light: #F2ECE0;
  --muted: #7A6B58;
  --muted-dark: #A89980;
  --rule: rgba(43, 31, 20, 0.18);
  --rule-dark: rgba(242, 236, 224, 0.22);

  --f-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --f-script: 'Caveat', 'Dancing Script', cursive;

  --max: 1240px;
  --max-narrow: 820px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--body-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--terracotta); }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--espresso); color: var(--cream); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: inherit;
}

h1 { font-size: clamp(3rem, 9vw, 7rem); font-weight: 300; }
h2 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: 0; }

em, .italic {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container-narrow { max-width: var(--max-narrow); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(242, 236, 224, 0.82);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid rgba(43, 31, 20, 0.08);
  transition: background .35s var(--ease);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
}

.nav-logo {
  display: block;
  color: var(--espresso);
  flex-shrink: 0;
}
.nav-logo { line-height: 0; }
.nav-logo img { width: 148px; height: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--espresso);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px; width: 0;
  background: var(--terracotta);
  transition: width .35s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-cta {
  color: var(--terracotta);
  font-weight: 500;
}

.nav-right { display: flex; align-items: center; gap: 20px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--espresso);
}
.lang-btn {
  padding: 4px 2px;
  opacity: 0.45;
  transition: opacity .2s var(--ease);
  position: relative;
}
.lang-btn:hover { opacity: 1; }
.lang-btn.active {
  opacity: 1;
  color: var(--terracotta);
}
.lang-btn.active::after {
  content: '';
  position: absolute;
  left: 2px; right: 2px; bottom: 0;
  height: 1px;
  background: var(--terracotta);
}
.lang-sep { opacity: 0.3; }

.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block; height: 1.5px;
  background: var(--espresso);
  transition: transform .3s var(--ease);
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  padding: 16px 32px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso);
  background: transparent;
  border: 1px solid var(--espresso);
  border-radius: 999px;
  transition: all .3s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--espresso);
  transform: translateX(-101%);
  transition: transform .4s var(--ease);
  z-index: -1;
}
.btn-primary:hover {
  color: var(--cream);
  border-color: var(--espresso);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-sm { padding: 12px 24px; font-size: 12px; }
.btn-lg { padding: 20px 44px; font-size: 14px; }

.dark .btn-primary,
.contact-cta .btn-primary {
  color: var(--cream);
  border-color: var(--cream);
}
.dark .btn-primary::before,
.contact-cta .btn-primary::before {
  background: var(--cream);
}
.dark .btn-primary:hover,
.contact-cta .btn-primary:hover {
  color: var(--espresso);
}

.center-cta {
  text-align: center;
  margin-top: 56px;
}

/* ---------- Section structure ---------- */
.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.section-soft { background: var(--cream-soft); }
.section.dark {
  background: var(--espresso);
  color: var(--cream);
}
.section.dark h2, .section.dark h3 { color: var(--cream); }
.section.dark .sec-num { color: var(--cream); opacity: 0.55; }
.section.dark .sec-label { color: var(--cream); opacity: 0.6; }
.section.dark .sec-line { background: var(--rule-dark); }

.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--espresso);
}
.sec-num { color: var(--olive); font-weight: 500; }
.sec-line { flex: 0 0 48px; height: 1px; background: var(--rule); }
.sec-label { color: var(--muted); }

.sec-title {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 64px;
  color: var(--espresso);
}
.section.dark .sec-title { color: var(--cream); }
.sec-title-xl { font-size: clamp(3.2rem, 11vw, 9rem); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(140px, 18vw, 200px) 0 clamp(80px, 10vw, 140px);
  position: relative;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-badges {
  display: flex; gap: 10px;
  margin-bottom: 32px;
}
.badge {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--muted);
}

.eyebrow {
  font-family: var(--f-body);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: 22px;
}

.hero-name {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  line-height: 0.95;
  color: var(--espresso);
  margin-bottom: 32px;
  font-size: clamp(4rem, 11vw, 9rem);
  letter-spacing: -0.03em;
}

.hero-tagline {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.45;
  font-weight: 300;
  color: var(--body-dark);
  max-width: 520px;
  margin-bottom: 44px;
}

.hero-trust {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 520px;
}
.hero-img-wrap {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: block;
}
.hero-img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  box-shadow: 0 30px 60px -20px rgba(43,31,20,0.35);
}
.hero-script {
  display: block;
  margin-top: 18px;
  padding: 0 4px;
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  color: #B4CBE6;
  opacity: 0.9;
  letter-spacing: 0.01em;
  line-height: 1;
  text-align: right;
  white-space: normal;
}

/* ---------- Manifesto ---------- */
.manifesto {
  background: var(--espresso);
  color: var(--cream);
  padding: clamp(100px, 14vw, 180px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.manifesto::before, .manifesto::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(242,236,224,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.manifesto::before { top: -150px; left: -150px; }
.manifesto::after  { bottom: -150px; right: -150px; }

.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.manifesto-body {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2rem, 5.2vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--cream);
}
.mf-pre {
  display: block;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 28px;
  font-family: var(--f-body);
  font-weight: 400;
}
.mf-em {
  font-style: italic;
  color: var(--cream);
  position: relative;
  padding: 0 0.15em;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-portrait {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.about-portrait-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: 50% 18%;
  box-shadow: 0 20px 50px -20px rgba(43,31,20,0.3);
}
.about-handwritten {
  display: block;
  width: 60%;
  max-width: 280px;
  margin: 16px 0 0 auto;
  opacity: 0.75;
  pointer-events: none;
}
.about-copy p {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--body-dark);
}
.about-copy p:first-of-type::first-letter {
  font-size: 3.2em;
  float: left;
  line-height: 0.9;
  padding-right: 10px;
  padding-top: 6px;
  font-style: italic;
  color: var(--terracotta);
  font-weight: 300;
}
.about-quote {
  margin-top: 44px;
  padding: 32px 0 32px 32px;
  border-left: 2px solid var(--terracotta);
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.35;
  color: var(--espresso);
  font-weight: 300;
}

/* ---------- Topics bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 0;
  min-height: 240px;
  position: relative;
  transition: all .4s var(--ease);
}
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--terracotta);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-4px);
  background: var(--cream);
  box-shadow: 0 18px 40px -20px rgba(43,31,20,0.25);
}
.bento-card:hover::after { opacity: 1; }
.bento-summary {
  padding: 36px 32px;
  list-style: none;
  cursor: pointer;
  position: relative;
  min-height: 240px;
  display: block;
}
.bento-summary::-webkit-details-marker { display: none; }
.bento-summary::marker { display: none; }
.bento-num {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--olive);
  margin-bottom: 20px;
}
.bento-toggle {
  position: absolute;
  top: 32px;
  right: 28px;
  width: 24px;
  height: 24px;
  pointer-events: none;
}
.bento-toggle::before,
.bento-toggle::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  background: var(--espresso);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.bento-toggle::before {
  width: 14px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.bento-toggle::after {
  width: 1.5px; height: 14px;
  transform: translate(-50%, -50%);
}
.bento-card[open] .bento-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}
.bento-card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--espresso);
}
.bento-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.bento-pains {
  list-style: none;
  margin: 0;
  padding: 0 32px 36px;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  animation: bento-fade .35s var(--ease);
}
.bento-pains li {
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--body-dark, var(--espresso));
  padding-left: 18px;
  position: relative;
}
.bento-pains li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--terracotta);
}
@keyframes bento-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Stats ---------- */
.stats { position: relative; overflow: hidden; }
.stats-container { position: relative; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
}
.stat { }
.stat-num {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(3.8rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--espresso);
  margin-bottom: 24px;
}
.stat-rule {
  width: 48px; height: 1px;
  background: var(--espresso);
  margin-bottom: 20px;
}
.stat-label {
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--espresso);
  line-height: 1.4;
  max-width: 240px;
}
.stamp {
  position: absolute;
  top: clamp(60px, 9vw, 120px);
  right: clamp(-20px, 2vw, 40px);
  width: clamp(160px, 18vw, 220px);
  height: clamp(160px, 18vw, 220px);
  pointer-events: none;
  animation: spin-slow 32s linear infinite;
  color: var(--olive);
  opacity: 0.85;
}
.manifesto-stamp {
  position: absolute;
  top: clamp(36px, 7vw, 80px);
  right: clamp(24px, 5vw, 90px);
  width: clamp(120px, 13vw, 180px);
  height: clamp(120px, 13vw, 180px);
  pointer-events: none;
  animation: spin-slow 40s linear infinite;
  color: var(--cream);
  opacity: 0.55;
  z-index: 1;
}
.manifesto-stamp img { width: 100%; height: 100%; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ---------- Approach ---------- */
.approach-list {
  list-style: none;
  max-width: 980px;
  margin: 0 auto;
}
.approach-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: auto auto;
  column-gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule-dark);
  align-items: baseline;
}
.approach-item:last-child { border-bottom: none; }
.app-idx {
  grid-row: 1 / 2;
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--cream);
  opacity: 0.5;
  align-self: center;
}
.app-name {
  grid-column: 2 / 3;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.1;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.app-text {
  grid-column: 2 / 3;
  font-size: 15px;
  line-height: 1.7;
  color: var(--cream);
  opacity: 0.72;
  margin-top: 12px;
  max-width: 640px;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--rule);
  padding-top: 48px;
}
.step { position: relative; }
.step-num {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 3rem;
  color: var(--terracotta);
  margin-bottom: 20px;
}
.step-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--espresso);
}
.step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Principles ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 64px;
}
.principle { position: relative; padding-left: 72px; }
.p-num {
  position: absolute;
  left: 0; top: 4px;
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--terracotta);
  line-height: 1;
}
.principle h3 {
  font-family: var(--f-display);
  font-weight: 500;
  margin-bottom: 14px;
}
.principle p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- Education ---------- */
.edu-timeline {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.edu {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.edu-y {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--terracotta);
  letter-spacing: -0.02em;
}
.edu-d {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--espresso);
}

/* ---------- Reviews ---------- */
.reviews-title {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--cream);
}
.ticker {
  width: 100%;
  overflow: hidden;
  margin-top: clamp(40px, 5vw, 64px);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.ticker-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 38px;
  width: max-content;
  align-items: stretch;
  animation: ticker-scroll 140s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  flex: 0 0 auto;
  margin: 0;
  height: 440px;
  display: block;
}
.ticker-item img {
  height: 100%;
  width: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 20px 50px -25px rgba(0,0,0,0.55);
  background: var(--cream);
}
@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.reviews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.review {
  padding: 32px 28px;
  border: 1px solid var(--rule-dark);
  background: transparent;
  color: var(--cream);
  transition: all .4s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}
.review:hover {
  background: var(--espresso-soft);
  border-color: var(--cream);
  transform: translateY(-3px);
}
.review blockquote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--cream);
  margin-bottom: 24px;
  position: relative;
}
.review blockquote::before {
  content: '"';
  font-size: 2.4em;
  line-height: 0;
  position: absolute;
  top: 0.35em;
  left: -0.15em;
  opacity: 0.35;
  color: var(--terracotta);
}
.review blockquote {
  padding-left: 18px;
}
.review figcaption {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.65;
  font-weight: 500;
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  transition: all .4s var(--ease);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -20px rgba(43,31,20,0.25);
}
.price-card.featured {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}
.price-card.featured h3,
.price-card.featured .price-amount { color: var(--cream); }
.price-card.featured .price-tag { color: var(--terracotta); }
.price-card.featured p { color: var(--cream); opacity: 0.78; }
.price-card.featured .price-detail { color: var(--cream); opacity: 0.55; }
.price-card.featured .btn-primary {
  color: var(--cream);
  border-color: var(--cream);
}
.price-card.featured .btn-primary::before { background: var(--cream); }
.price-card.featured .btn-primary:hover { color: var(--espresso); }

.price-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 16px;
}
.price-card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  margin-bottom: 16px;
}
.price-amount {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--espresso);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.price-detail {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 24px;
}
.price-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
  flex-grow: 1;
}
.pricing-note {
  text-align: center;
  margin-top: 48px;
  font-size: 14px;
  color: var(--muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
  font-family: var(--f-display);
}

/* ---------- FAQ ---------- */
.faq { }
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 4px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 400;
  color: var(--espresso);
  transition: color .25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--terracotta); }
.faq-icon {
  font-family: var(--f-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--terracotta);
  transition: transform .35s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p {
  padding: 0 0 24px 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  animation: fadeDown .4s var(--ease);
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Contact CTA ---------- */
.contact-cta {
  background: var(--espresso);
  color: var(--cream);
  padding: clamp(100px, 14vw, 180px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-cta .section-head {
  justify-content: center;
  color: var(--cream);
}
.contact-cta .sec-num { color: var(--cream); opacity: 0.55; }
.contact-cta .sec-label { color: var(--cream); opacity: 0.6; }
.contact-cta .sec-line { background: var(--rule-dark); }
.contact-title {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.contact-lead {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.5;
  opacity: 0.88;
}
.contact-quote {
  max-width: 780px;
  margin: 48px auto 0;
  text-align: center;
}
.contact-quote blockquote {
  font-family: var(--f-body);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 1;
  margin: 0 0 20px;
}
.contact-quote figcaption {
  font-family: var(--f-body);
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
  font-weight: 500;
}
.contact-intro {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 1.9vw, 1.65rem);
  line-height: 1.55;
  color: var(--cream);
  opacity: 0.92;
  max-width: 680px;
  margin: 56px auto 72px;
  text-align: center;
}
@media (max-width: 860px) {
  .contact-quote {
    margin-top: 32px;
  }
  .contact-intro {
    margin-top: 40px;
  }
}
.contact-actions { margin-bottom: 40px; }
.contact-or {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.55;
  margin-bottom: 20px;
}
.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 14px;
}
.contact-links a {
  color: var(--cream);
  opacity: 0.85;
  position: relative;
  padding-bottom: 3px;
}
.contact-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--cream);
  opacity: 0.35;
  transition: opacity .25s var(--ease);
}
.contact-links a:hover { color: var(--cream); opacity: 1; }
.contact-links a:hover::after { opacity: 1; background: var(--terracotta); }

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0;
  background: var(--cream);
  border-top: 1px solid var(--rule);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Reveal animation ---------- */
.reveal {
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.has-js .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.has-js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .stamp,
  .manifesto-stamp { animation: none; }
  .ticker-track { animation: none; }
  .hero-img-wrap { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { min-height: 460px; }
  .hero-img, .hero-img-wrap { min-height: 460px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 22px;
    padding: 40px var(--gutter);
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    transform: translateY(-110%);
    transition: transform .4s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

  .lang-switch { font-size: 11px; gap: 4px; }
  .lang-btn { padding: 4px 1px; }

  .nav-logo img { width: 130px; }

  .hero { padding-top: 120px; }
  .hero-inner { gap: 40px; }
  .hero-visual { min-height: 380px; }
  .hero-img, .hero-img-wrap { min-height: 380px; }
  .hero-script {
    font-size: clamp(2rem, 9vw, 3rem);
    margin-top: 14px;
  }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  .bento { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr; gap: 48px; }
  .stat-num { font-size: clamp(3.5rem, 18vw, 5rem); }
  .stamp {
    position: relative;
    top: auto;
    right: auto;
    width: 150px;
    height: 150px;
    margin: 48px auto 0;
    display: block;
  }

  .approach-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .app-idx { grid-row: auto; }

  .steps { grid-template-columns: 1fr; gap: 40px; }

  .reviews { grid-template-columns: 1fr; }
  .ticker-item { height: 320px; flex: 0 0 auto; }
  .ticker-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 32px;
    animation-duration: 90s;
  }

  .pricing { grid-template-columns: 1fr; }

  .edu { grid-template-columns: 80px 1fr; gap: 20px; }

  .footer-inner { justify-content: flex-start; flex-direction: column; gap: 10px; }
}

@media (max-width: 420px) {
  .hero-badges { flex-wrap: wrap; }
  .section-head { flex-wrap: wrap; gap: 10px; }
  .sec-line { flex-basis: 24px; }
}
