﻿:root {
  --bg: #f9f6f3;
  --page-tone: #f2ebe4;
  --bg-cream: #f3ece6;
  --bg-soft: #eef3f9;
  --paper: #fffdfb;
  --text: #2f2925;
  --muted: #6c625b;
  --line: #ded2c7;
  --accent: #a66d52;
  --accent-dark: #87553f;
  --shadow: 0 24px 36px rgba(74, 47, 31, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--page-tone);
  line-height: 1.62;
  overflow-x: hidden;
  position: relative;
}

.petal {
  --petal-rotate: 0deg;
  --petal-scale: 1;
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: absolute;
  width: 84px;
  height: 44px;
  border-radius: 100% 12% 100% 12%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.85), rgba(228, 202, 185, 0.7) 70%, rgba(214, 183, 164, 0.5));
  box-shadow: 0 20px 32px rgba(157, 120, 95, 0.18);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(var(--petal-rotate)) scale(var(--petal-scale));
  will-change: transform;
  pointer-events: none;
  z-index: 0;
}

.petal-1 {
  --petal-rotate: 18deg;
  top: 180px;
  right: 128px;
}

.petal-2 {
  --petal-rotate: -8deg;
  --petal-scale: 0.9;
  top: 780px;
  right: 98px;
}

.petal-3 {
  --petal-rotate: 22deg;
  --petal-scale: 0.78;
  top: 520px;
  left: 88px;
}

.petal-4 {
  --petal-rotate: -15deg;
  --petal-scale: 0.84;
  top: 1500px;
  right: 132px;
}

.petal-5 {
  --petal-rotate: -24deg;
  --petal-scale: 0.72;
  top: 980px;
  left: 126px;
}

.petal-6 {
  --petal-rotate: 14deg;
  --petal-scale: 0.86;
  top: 2120px;
  right: 100px;
}

.petal-7 {
  --petal-rotate: 10deg;
  --petal-scale: 0.77;
  top: 2480px;
  left: 112px;
}

.petal-8 {
  --petal-rotate: -20deg;
  --petal-scale: 0.82;
  top: 3020px;
  right: 94px;
}

.petal-9 {
  --petal-rotate: 17deg;
  --petal-scale: 0.74;
  top: 3440px;
  left: 76px;
}

.petal-10 {
  --petal-rotate: -13deg;
  --petal-scale: 0.8;
  top: 3860px;
  right: 176px;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-shell {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 26px 4px 24px;
  border: 0;
  background: transparent;
}

.header-inner {
  display: none;
}

.brand {
  color: #85766b;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 30px;
}

.main-nav a {
  color: #7b6e64;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  line-height: 1;
  transition: color 0.18s ease;
}

.main-nav a:hover {
  color: #4d4037;
}

.hero {
  padding: 0 0 128px;
  background: linear-gradient(180deg, #fbf7f4 0%, #f7f1ea 100%);
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr minmax(560px, 820px);
  align-items: end;
  gap: 8px;
  padding-top: 18px;
}

.hero-copy {
  max-width: 700px;
}

.hero-visual {
  margin: 0;
  justify-self: end;
  align-self: end;
  width: min(820px, 64vw);
  margin-right: -28px;
  margin-bottom: -124px;
  position: relative;
  z-index: 5;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(108, 72, 49, 0.22));
}

.hero-mobile-cta {
  display: none;
}

.kicker {
  margin: 0 0 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

h1,
h2,
h3,
.title {
  margin-top: 0;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 {
  margin-bottom: 18px;
  line-height: 0.88;
}

h1 span {
  display: block;
  font-size: clamp(4.2rem, 11vw, 8.4rem);
}

.hero-text {
  max-width: 48ch;
  margin-bottom: 30px;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 12px;
  border: 0;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(180deg, #bd8063 0%, var(--accent-dark) 100%);
  box-shadow: 0 10px 20px rgba(122, 76, 54, 0.2);
}

.hero-side {
  display: grid;
  gap: 14px;
}

.play-badge {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px 10px 10px;
}

.play-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #c58a6d 0%, #986149 100%);
  color: #fff;
  font-size: 0.95rem;
}

.play-badge strong {
  display: block;
  font-size: 0.94rem;
}

.play-badge p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.portrait {
  border-radius: var(--radius);
  border: 1px solid rgba(210, 195, 184, 0.95);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
}

.portrait-main {
  min-height: 480px;
  background-image: linear-gradient(130deg, rgba(243, 229, 218, 0.5), rgba(221, 206, 194, 0.75)), url("assets/images/portrait-main.jpg");
}

.section {
  padding: 94px 0;
  position: relative;
}

#manifest {
  position: relative;
  z-index: 10;
}

#manifest.section {
  padding-top: 76px;
  padding-bottom: 26px;
}

#manifest::before {
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
  content: "";
  position: absolute;
  left: -8vw;
  right: -8vw;
  top: -96px;
  height: 168px;
  background: var(--page-tone);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 10;
  pointer-events: none;
}

#manifest > .container,
#manifest > .line-decor {
  position: relative;
  z-index: 11;
}

#process.section {
  padding-top: 0;
  padding-bottom: 94px;
  margin-top: 0;
}

#process .title {
  margin-top: 0;
}

.life-note {
  padding: 18px 0 94px;
  background: var(--page-tone);
}

.life-note-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 32px;
  border: 1px solid #dccdc0;
  border-radius: 24px;
  background: #fff8f1;
  box-shadow: 0 10px 18px rgba(108, 72, 49, 0.08);
}

.life-note-panel p {
  margin: 0 0 16px;
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
  line-height: 1.58;
}

.life-note-panel p:last-child {
  margin-bottom: 0;
}

.section-cream {
  background: transparent;
}

.section-soft {
  background: transparent;
}

.title {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 0.92;
  margin-bottom: 34px;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  text-align: center;
}

.title-center {
  text-align: center;
}

.section-subtitle {
  margin: -8px auto 22px;
  width: max-content;
  color: var(--muted);
  font-size: 0.96rem;
  position: relative;
  padding: 0 14px;
}

.section-subtitle::before,
.section-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 26px;
  height: 1px;
  background: #cab9aa;
}

.section-subtitle::before {
  left: -22px;
}

.section-subtitle::after {
  right: -22px;
}

.manifest-shell {
  position: relative;
}

.manifest-head {
  margin-bottom: 26px;
}

.manifest-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.038em;
  line-height: 0.92;
  color: #2f2925;
}

.manifest-title span {
  display: block;
  font-size: clamp(3rem, 6.9vw, 6rem);
}

.manifest-title span:last-child {
  text-align: right;
}

.manifest-divider {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.manifest-quote {
  font-family: "Cormorant Garamond", serif;
  color: #4f67ae;
  font-size: 5.2rem;
  line-height: 0.6;
}

.manifest-line {
  height: 1px;
  flex: 1;
  background: #c9b9ac;
}

.manifest-layout {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 28px;
  align-items: start;
}

.manifest-text {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.manifest-text p {
  margin: 0 0 18px;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.52;
}

.manifest-text p:last-child {
  margin-bottom: 0;
}

.quote-card {
  margin: 0;
  padding: 30px 32px;
  border-radius: 28px;
  background: #dfe6f0;
  border: 1px solid #d0dae8;
  color: #5b4c45;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(2rem, 3.2vw, 2.15rem);
  line-height: 1.22;
}

.quote-card::before {
  content: none;
}

.line-decor {
  position: absolute;
  width: 200px;
  height: 300px;
  opacity: 0.35;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 300' fill='none'%3E%3Cpath d='M158 20c-35 13-62 39-68 72-6 34 12 62 38 86 25 24 42 47 35 78' stroke='%23bba08d' stroke-width='1.5'/%3E%3Cpath d='M120 10c-40 20-67 51-70 91-2 37 21 66 48 93 22 22 30 44 18 72' stroke='%23bba08d' stroke-width='1.5'/%3E%3Cpath d='M80 16c-36 21-56 50-56 84 0 35 22 63 45 85 23 22 31 48 20 85' stroke='%23bba08d' stroke-width='1.5'/%3E%3C/svg%3E");
}

.line-left {
  left: 2vw;
  top: 70px;
}

.line-right {
  right: 2vw;
  top: 110px;
  transform: scaleX(-1);
}

.faint {
  opacity: 0.22;
}

.work-panel {
  position: relative;
  overflow: hidden;
  display: block;
  max-width: 980px;
  margin: 0 auto;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid #dccdc0;
  background: #f4e7db;
  box-shadow: 0 10px 18px rgba(108, 72, 49, 0.08);
}

.work-copy {
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 14px 4px 10px 0;
  border: 0;
  box-shadow: none;
}

.work-copy::before {
  content: none;
}

.work-copy p {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.52;
}

.work-copy ul {
  margin: 14px 0 22px;
  padding: 0;
  list-style: none;
}

.help-label {
  margin: 2px 0 8px;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.52;
  font-weight: 600;
}

.work-copy ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.52;
}

.work-copy ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #9a654d;
}

.work-copy .btn {
  display: flex;
  width: max-content;
  margin: 18px auto 0;
}

.portrait-secondary {
  min-height: 560px;
  background-image: linear-gradient(130deg, rgba(238, 223, 212, 0.48), rgba(214, 197, 183, 0.72)), url("assets/images/portrait-secondary.jpg");
}

.process-points {
  margin: 4px 0 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.process-points article {
  background: transparent;
  border: 1px solid #e1d3c6;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
  line-height: 1.35;
  color: #5f5148;
}

.help-topics {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.help-topics article {
  position: relative;
  min-height: 116px;
  padding: 18px 18px 16px 44px;
  border: 1px solid #dfd0c2;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffbf7 0%, #f4e9de 100%);
  box-shadow: 0 10px 18px rgba(110, 79, 58, 0.1);
  color: #5f5148;
  font-size: clamp(0.98rem, 1.12vw, 1.05rem);
  line-height: 1.5;
}

.help-topics article::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #9a654d;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.topic-card {
  background: linear-gradient(180deg, #fffbf7 0%, #f4e9de 100%);
  border: 1px solid #dfd0c2;
  border-radius: 16px;
  padding: 16px 16px 14px;
  min-height: 180px;
  position: relative;
  box-shadow: 0 10px 18px rgba(110, 79, 58, 0.1);
}

.topic-card::before {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 14px;
  margin-bottom: 12px;
  display: block;
  border: 1px solid #decfbe;
  background-color: #fff8f1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 28px 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.topic-card:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a654d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='12' r='5'/%3E%3Ccircle cx='15' cy='12' r='5'/%3E%3C/svg%3E");
}

.topic-card:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a654d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='4.5' width='15' height='15' rx='7.5'/%3E%3Cpath d='M9 10h.01M15 10h.01'/%3E%3Cpath d='M8.5 14.2c1.1 1.1 2.2 1.4 3.5 1.4s2.4-.3 3.5-1.4'/%3E%3C/svg%3E");
}

.topic-card:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a654d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='7.2'/%3E%3Cpath d='M12 8.4v7.2M8.4 12h7.2'/%3E%3Cpath d='M12 9.8l1.6 2.2-2.2 1.6-1.6-2.2z'/%3E%3C/svg%3E");
}

.topic-card h3 {
  font-size: 1.36rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.topic-card p {
  margin: 0;
  font-size: 0.93rem;
  color: #5f5148;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 0;
}

.boundary-grid article {
  background: linear-gradient(180deg, #fffdfb 0%, #f9f1ea 100%);
  border: 1px solid #e0d3c8;
  border-radius: 14px;
  padding: 14px 14px 12px;
  min-height: 148px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.boundary-grid article::before {
  content: "";
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid #decfbe;
  background-color: #fff8f1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 26px 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.boundary-grid article:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a654d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4.6 20.2 18a1 1 0 0 1-.9 1.5H4.7A1 1 0 0 1 3.8 18z'/%3E%3Cpath d='M12 9.2v4.9M12 17h.01'/%3E%3C/svg%3E");
}

.boundary-grid article:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a654d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.2 9.1 6.8 10.5a3 3 0 0 0 4.2 4.2l1.4-1.4M15.8 14.9l1.4-1.4a3 3 0 0 0-4.2-4.2l-1.4 1.4M10.1 13.9l3.8-3.8'/%3E%3C/svg%3E");
}

.boundary-grid article:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a654d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13' r='6.8'/%3E%3Cpath d='M12 9.5v3.8l2.6 1.6M12 3.2v1.7'/%3E%3C/svg%3E");
}

.boundary-grid article:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a654d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='7.5'/%3E%3Cpath d='M7.3 16.7 16.7 7.3'/%3E%3C/svg%3E");
}

.reviews-carousel {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 10px;
  align-items: center;
}

.reviews-carousel.is-static {
  display: block;
}

.reviews-rail {
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
  padding: 14px 0 32px;
}

.reviews-carousel.is-static .reviews-rail {
  padding: 0;
}

.reviews-rail::before,
.reviews-rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.28s ease;
}

.reviews-rail::before {
  left: 0;
  background: linear-gradient(90deg, rgba(242, 235, 228, 0.98), rgba(242, 235, 228, 0));
}

.reviews-rail::after {
  right: 0;
  background: linear-gradient(270deg, rgba(242, 235, 228, 0.98), rgba(242, 235, 228, 0));
}

.reviews-carousel.is-static .reviews-rail::before,
.reviews-carousel.is-static .reviews-rail::after,
.reviews-rail.at-start::before,
.reviews-rail.at-end::after {
  opacity: 0;
}

.reviews-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(420px, 64%);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: 72px;
  padding: 12px 72px 34px;
  scrollbar-width: none;
}

.reviews-list::-webkit-scrollbar {
  display: none;
}

.reviews-carousel.is-static .reviews-list {
  grid-auto-flow: row;
  grid-auto-columns: unset;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  overflow: visible;
  scroll-snap-type: none;
  padding: 0;
}

.review-card,
.reviews-empty {
  border: 1px solid #dfd0c2;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffbf7 0%, #f4e9de 100%);
  box-shadow: 0 9px 18px rgba(110, 79, 58, 0.1);
}

.review-card {
  scroll-snap-align: start;
  min-height: 220px;
  padding: 20px 18px;
  font-size: 1.16rem;
  line-height: 1.56;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.review-card strong {
  display: block;
  margin-bottom: 10px;
  color: #352f2b;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.review-card p {
  margin: 0 0 16px;
  color: #5f5148;
  flex: 1;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.review-rating {
  margin: -2px 0 12px;
  color: #9a654d;
  font-size: 1rem;
  letter-spacing: 0;
}

.review-card footer {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.92rem;
}

.review-expand {
  width: max-content;
  margin: -4px 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9a654d;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
}

.reviews-empty {
  grid-column: 1 / -1;
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.review-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #d9cabc;
  background: #fff8f2;
  color: #5a4b43;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.review-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.reviews-config {
  display: none;
}

.reviews-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.edu-showcase {
  display: block;
  max-width: 860px;
  margin: 0 auto;
  padding: 14px;
  border-radius: var(--radius);
  background: #ebddd0;
  border: 1px solid #decebf;
}

.diploma-view {
  max-width: 780px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid #e3d8cd;
  padding: 12px 14px;
}

.diploma-viewer {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 10px;
  align-items: center;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #d9cbbf;
  background: #fff;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.slider-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.diploma-frame {
  margin: 0;
  min-height: 372px;
  padding: 10px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.diploma-frame img {
  max-width: 100%;
  max-height: 350px;
  object-fit: contain;
  border-radius: 8px;
  cursor: zoom-in;
}

#diplomaEmpty {
  color: var(--muted);
}

.diploma-dots {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 16px;
}

.diploma-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid #ccb8a8;
  background: #efe3d7;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.diploma-dot.is-active {
  background: #9a654d;
  border-color: #9a654d;
  transform: scale(1.16);
}

.diploma-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(29, 21, 16, 0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 120;
}

.diploma-lightbox[hidden] {
  display: none;
}

.diploma-lightbox img {
  max-width: min(92vw, 1280px);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.38);
}

.diploma-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(31, 22, 18, 0.62);
  color: #fff;
  font-size: 1.95rem;
  line-height: 1;
  cursor: pointer;
}

.booking-modal {
  position: fixed;
  inset: 0;
  background: rgba(29, 21, 16, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 130;
}

.booking-modal[hidden] {
  display: none;
}

.booking-dialog {
  position: relative;
  width: min(460px, 100%);
  padding: 30px 24px 24px;
  border-radius: 16px;
  border: 1px solid #ddcdbf;
  background: #fff8f1;
  box-shadow: 0 22px 36px rgba(53, 33, 23, 0.24);
  text-align: center;
}

.booking-dialog h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.booking-dialog p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1rem;
}

.booking-telegram-btn {
  margin: 0 auto;
}

.booking-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #d4c3b5;
  background: #fff;
  color: #5f5148;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.review-modal {
  position: fixed;
  inset: 0;
  background: rgba(29, 21, 16, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 130;
}

.review-modal[hidden] {
  display: none;
}

.review-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, 88vh);
  overflow: auto;
  padding: 30px 24px 24px;
  border-radius: 16px;
  border: 1px solid #ddcdbf;
  background: linear-gradient(180deg, #fffbf7 0%, #f4e9de 100%);
  box-shadow: 0 22px 36px rgba(53, 33, 23, 0.24);
}

.review-dialog strong {
  display: block;
  margin-bottom: 12px;
  color: #352f2b;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.35rem, 5vw, 3.35rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

.review-dialog p {
  margin: 0 0 18px;
  color: #5f5148;
  font-size: 1.08rem;
  line-height: 1.58;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.review-dialog footer {
  color: var(--muted);
  font-size: 0.92rem;
}

.review-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #d4c3b5;
  background: #fff;
  color: #5f5148;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.education-carousel {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 10px;
  align-items: center;
}

.education-rail {
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
  padding: 14px 0 32px;
}

.education-rail::before,
.education-rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.28s ease;
}

.education-rail::before {
  left: 0;
  background: linear-gradient(90deg, rgba(242, 235, 228, 0.98), rgba(242, 235, 228, 0));
}

.education-rail::after {
  right: 0;
  background: linear-gradient(270deg, rgba(242, 235, 228, 0.98), rgba(242, 235, 228, 0));
}

.education-rail.at-start::before {
  opacity: 0;
}

.education-rail.at-end::after {
  opacity: 0;
}

.education-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(420px, 64%);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scroll-padding-inline: 72px;
  padding: 12px 72px 34px;
  scrollbar-width: none;
}

.education-track::-webkit-scrollbar {
  display: none;
}

.education-card {
  scroll-snap-align: start;
  background: linear-gradient(180deg, #fffbf7 0%, #f4e9de 100%);
  border: 1px solid #dfd0c2;
  border-radius: 14px;
  padding: 20px 18px;
  font-size: 1.16rem;
  line-height: 1.56;
  box-shadow: 0 9px 18px rgba(110, 79, 58, 0.1);
  min-height: 220px;
}

.education-card span {
  display: block;
  margin-bottom: 10px;
  color: #352f2b;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.35rem, 4vw, 3.35rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0.025em;
}

.edu-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #d9cabc;
  background: #fff8f2;
  color: #5a4b43;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.edu-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.faq-wrap {
  width: min(880px, 92vw);
}

.faq-item {
  border-bottom: 1px solid #d9cabd;
  position: relative;
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 179, 162, 0), rgba(201, 179, 162, 0.9), rgba(201, 179, 162, 0));
}

.faq-question {
  width: 100%;
  padding: 16px 2px;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.faq-question span:last-child {
  font-size: 1.24rem;
  color: var(--accent-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease;
}

.faq-answer p {
  margin: 0 0 14px;
  color: var(--muted);
}

.prep-panel {
  display: block;
  max-width: 980px;
  margin: 0 auto;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid #dccdc0;
  background: #f4e7db;
  box-shadow: 0 10px 18px rgba(108, 72, 49, 0.08);
}

.prep-copy {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.prep-copy p {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.52;
}

.prep-copy ul {
  margin: 10px 0 18px;
  padding: 0;
  list-style: none;
}

.prep-copy ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.52;
}

.prep-copy ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #9a654d;
}

.prep-steps {
  margin: 6px 0 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.prep-steps span {
  background: transparent;
  border: 1px solid #e1d3c6;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
  line-height: 1.35;
  color: #5f5148;
  text-align: center;
}

.prep-copy .btn {
  display: flex;
  width: max-content;
  margin: 2px auto 0;
}

.site-footer {
  position: relative;
  padding: 96px 0 60px;
  background: var(--page-tone);
  border-top: 1px solid #dbcbbd;
}

.footer-wave {
  position: absolute;
  left: -8vw;
  right: -8vw;
  top: -64px;
  height: 130px;
  background: var(--page-tone);
  border-radius: 0 0 52% 52% / 0 0 95% 95%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: start;
}

.site-footer h2 {
  margin: 0 0 4px;
  font-size: 2.2rem;
}

.site-footer p {
  margin: 0;
  color: #6a5f57;
}

.contacts {
  display: grid;
  gap: 8px;
}

.contacts a {
  color: var(--text);
  text-decoration: none;
}

.contacts a:hover {
  color: var(--accent-dark);
}

@media (max-width: 1080px) {
  .hero-layout,
  .manifest-layout,
  .work-panel,
  .edu-showcase,
  .prep-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topic-grid,
  .boundary-grid,
  .help-topics,
  .prep-steps {
    grid-template-columns: 1fr 1fr;
  }

  .line-decor,
  .petal {
    display: none;
  }

  .portrait-secondary,
  .portrait-bottom {
    min-height: 360px;
  }

  .hero-visual {
    width: min(760px, 98vw);
    margin: 8px auto -92px;
  }

  .process-points {
    grid-template-columns: 1fr 1fr;
  }

  .education-track,
  .reviews-carousel:not(.is-static) .reviews-list {
    grid-auto-columns: minmax(360px, 76%);
    padding: 8px 52px 28px;
    scroll-padding-inline: 52px;
  }

  .manifest-title span:last-child {
    text-align: left;
  }

  .manifest-divider {
    margin-top: 14px;
    margin-bottom: 2px;
  }

  #manifest::before {
    top: -76px;
    height: 132px;
  }
}

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
  }

  .section {
    padding: 66px 0;
  }

  .site-header {
    display: none;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 16px 0 0;
  }

  .hero-shell {
    min-height: calc(100vh - 16px);
    min-height: calc(100dvh - 16px);
    display: flex;
    overflow: visible;
  }

  .hero-layout {
    display: grid;
    grid-template-rows: auto 1fr;
    flex: 1 1 auto;
    min-height: inherit;
    padding-top: 0;
    gap: 12px;
  }

  .hero-copy {
    width: min(100%, 22rem);
    max-width: 22rem;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-inline: 0;
  }

  .hero-copy h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0 auto 12px;
    text-align: center;
  }

  .hero-copy h1 span {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    font-size: clamp(3rem, 14.2vw, 4.55rem);
    line-height: 0.88;
    text-align: center;
    text-wrap: balance;
  }

  .title,
  .manifest-title {
    line-height: 1.04;
  }

  .kicker {
    display: none;
  }

  .hero-text {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    font-size: clamp(1rem, 4.15vw, 1.1rem);
    line-height: 1.31;
    text-wrap: balance;
    text-align: center;
  }

  .hero-desktop-cta {
    display: none;
  }

  .manifest-quote {
    font-size: 4rem;
  }

  .quote-card {
    padding: 22px 22px 20px;
    border-radius: 20px;
    font-size: clamp(1.75rem, 7.2vw, 2rem);
  }

  .hero-visual {
    min-height: 0;
    height: 100%;
    width: 100%;
    max-width: none;
    margin: auto 0 0;
    position: relative;
    overflow: visible;
    z-index: 14;
  }

  .hero-mobile-cta {
    display: flex;
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 60px;
    width: min(calc(100% - 40px), 350px);
    min-height: 56px;
    padding: 0 20px;
    border-radius: 18px;
    text-transform: uppercase;
    letter-spacing: 0.065em;
    font-size: 0.86rem;
    text-align: center;
    transform: translateX(-50%);
    z-index: 25;
  }

  .hero-visual img {
    position: absolute;
    left: 50%;
    bottom: 0;
    display: block;
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform: translateX(-50%);
    filter: none
  }

  .process-points {
    grid-template-columns: 1fr;
  }

  #manifest.section {
    padding-bottom: 18px;
  }

  #process.section {
    margin-top: 0;
    padding: 66px 0;
  }

  #manifest::before {
    top: -28px;
    height: 58px;
  }

  .topic-grid,
  .boundary-grid,
  .help-topics,
  .prep-steps {
    grid-template-columns: 1fr;
  }

  .life-note {
    padding: 12px 0 66px;
  }

  .life-note-panel {
    padding: 22px;
    border-radius: 18px;
  }

  .education-carousel,
  .reviews-carousel:not(.is-static) {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .reviews-carousel,
  .reviews-carousel.is-static {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .reviews-carousel.is-static .reviews-rail {
    padding: 14px 0 32px;
  }

  .education-track,
  .reviews-carousel:not(.is-static) .reviews-list,
  .reviews-carousel.is-static .reviews-list {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 94%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 26px 24px;
    scroll-padding-inline: 26px;
  }

  .reviews-carousel.is-static .reviews-rail::before,
  .reviews-carousel.is-static .reviews-rail::after {
    opacity: 1;
  }

  .reviews-carousel.is-static .reviews-rail.at-start::before,
  .reviews-carousel.is-static .reviews-rail.at-end::after {
    opacity: 0;
  }

  .edu-nav,
  .review-nav {
    display: none;
  }

  .diploma-viewer {
    grid-template-columns: 38px 1fr 38px;
    gap: 6px;
  }

  .slider-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
  }

  .footer-wave {
    top: -38px;
    height: 80px;
  }
}

