@import url("https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,500;0,600;0,700;1,500&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  /* Palette Colors */
  --color-1: #cb997e;
  --color-2: #ddbea9;
  --color-3: #ffe8d6;
  --color-4: #b7b7a4;
  --color-5: #a5a58d;

  /* Banner Colors */
  --banner-bg: #ffe8d6ee;
  --banner-text: #a5a58d;
  --banner-border: rgba(203, 153, 126, 0.3);

  /* Main Background */
  --main-bg: #ffe8d6;

  /* Header Colors */
  --header-bg: linear-gradient(135deg, #b7b7a4 0%, #aeae99 50%, #a5a58d 100%);
  --header-border: rgba(203, 153, 126, 0.3);
  --header-badge-bg: rgba(255, 232, 214, 0.3);
  --header-badge-text: #a5a58d;
  --header-title-text: #ffe8d6;
  --header-desc-text: #ffe8d6;

  /* Hero Section Colors */
  --hero-title-color: #3f3f32;
  --hero-desc-color: #5a463a;
  --primary-button-bg: #ffe8d6;
  --primary-button-text: #3f3f32;
  --secondary-button-bg: #ddbea9;
  --secondary-button-text: #3f3f32;
  --secondary-button-border: #cb997e;

  /* Features Section Colors */
  --feature-title-color: #3f3f32;
  --feature-desc-color: #5a463a;
  --feature-card-bg: #fff4ea;
  --feature-card-border: rgba(203, 153, 126, 0.4);
  --feature-icon-bg: #ffe8d6;
  --feature-title-text-color: #3f3f32;

  /* Palette Showcase Colors */
  --palette-title-color: #3f3f32;
  --palette-desc-color: #5a463a;
  --palette-card-bg: #fff4ea;
  --palette-label-color: #5c5346;
  --palette-border: rgba(203, 153, 126, 0.2);

  /* CTA Section Colors */
  --cta-bg: linear-gradient(135deg, #cb997e 0%, #ffe8d6 100%);
  --cta-title-text: #ffe8d6;
  --cta-desc-text: #ffe8d6;
  --cta-button-bg: #ffe8d6;
  --cta-button-text: #3f3f32;

  /* Footer Colors */
  --footer-border: rgba(203, 153, 126, 0.2);
  --footer-text: #5a463a;
  --footer-link-color: #3f3f32;

  /* Shared — тёмный текст для читаемости на светлом фоне */
  --ink: #3a322c;
  --ink-soft: #5a463a;
  --accent: #9a6d52;
  --line: rgba(203, 153, 126, 0.35);
  --glow: rgba(203, 153, 126, 0.28);
  --radius: 2px;
  --font-display: "Cormorant Infant", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(165, 165, 141, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(221, 190, 169, 0.55), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 10%, rgba(183, 183, 164, 0.35), transparent 50%),
    var(--main-bg);
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-5);
  color: var(--color-3);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.nav-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  position: relative;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.05rem;
  text-decoration: none;
  z-index: 2;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #fff8f1;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff4ea;
  opacity: 1;
}

.nav-toggle {
  display: none;
  appearance: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 232, 214, 0.45);
  border-radius: 999px;
  background: rgba(255, 232, 214, 0.18);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: #fff8f1;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.site-header.is-open .nav-toggle-bars {
  background: transparent;
}

.site-header.is-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.35rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff8f1;
  position: relative;
  padding: 0.2rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--color-3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  color: var(--color-3);
}

.nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.85rem;
  padding: 1.05rem 2.4rem;
  min-height: 3.75rem;
  min-width: 12.5rem;
  box-sizing: border-box;
  background: var(--color-3);
  color: #3f3f32 !important;
  text-decoration: none !important;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border: 1px solid #fff4ea;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(63, 63, 50, 0.22);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.nav a.nav-cta::after {
  display: none !important;
}

.nav a.nav-cta:hover {
  background: #fff4ea;
  color: var(--accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(63, 63, 50, 0.28);
}

@media (max-width: 900px) {
  .nav-wrap {
    flex-wrap: wrap;
    align-items: center;
    padding: 0.75rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    margin-top: 0.85rem;
    padding: 0.35rem 0 0.6rem;
    border-top: 1px solid rgba(255, 232, 214, 0.28);
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 2.85rem;
    padding: 0.7rem 0.15rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 232, 214, 0.16);
  }

  .nav a::after {
    display: none;
  }

  .nav a.nav-cta {
    width: 100%;
    margin: 0.85rem 0 0;
    min-width: 0;
    min-height: 3.35rem;
    padding: 0.95rem 1.4rem;
    font-size: 1rem;
    border-bottom: 0;
  }

  .nav a.nav-cta:hover {
    transform: none;
  }
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--color-3);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(63, 63, 50, 0.45) 0%,
      rgba(90, 70, 58, 0.55) 40%,
      rgba(58, 50, 44, 0.88) 100%
    ),
    url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=2000&q=80")
      center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0 4rem;
  animation: rise 1s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 600;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  max-width: 12ch;
  letter-spacing: -0.02em;
  color: var(--color-3);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.9rem;
  max-width: 18ch;
  color: #fff4ea;
}

.hero p {
  margin: 0 0 1.7rem;
  max-width: 36ch;
  color: #fff8f1;
  font-size: 1.05rem;
  text-shadow: 0 1px 12px rgba(63, 63, 50, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.35rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary-button-bg);
  color: var(--primary-button-text);
  border-color: rgba(63, 63, 50, 0.2);
}

.btn-primary:hover {
  background: #fff4ea;
  color: var(--ink);
}

.btn-ghost {
  background: var(--secondary-button-bg);
  color: var(--secondary-button-text);
  border-color: var(--secondary-button-border);
}

.btn-ghost:hover {
  background: var(--color-1);
  color: #fff8f1;
}

.btn-solid {
  background: #6f6f58;
  color: #fff8f1;
}

.btn-solid:hover {
  background: var(--accent);
  color: #fff8f1;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.4rem;
  animation: rise 0.9s var(--ease) both;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.8rem;
  color: var(--feature-title-color);
}

.section-head p,
.page-hero p {
  margin: 0;
  color: var(--feature-desc-color);
}

.services {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.service {
  padding: 1.35rem 1.2rem 1.5rem;
  background: var(--feature-card-bg);
  border: 1px solid var(--feature-card-border);
  animation: rise 0.9s var(--ease) both;
  box-shadow: var(--shadow);
}

.service:nth-child(2) {
  animation-delay: 0.08s;
}

.service:nth-child(3) {
  animation-delay: 0.16s;
}

.service-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.35rem 0.55rem;
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--ink);
  font-weight: 700;
  background: rgba(183, 183, 164, 0.45);
  border: 1px solid var(--palette-border);
}

.service h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.7rem;
  line-height: 1.15;
  color: var(--feature-title-text-color);
}

.service p {
  margin: 0;
  color: var(--feature-desc-color);
  font-size: 0.98rem;
}

.examples {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .examples {
    grid-template-columns: 1.15fr 0.95fr;
    grid-template-rows: auto auto;
    gap: 1.35rem 1.5rem;
  }

  .examples .example:first-child {
    grid-row: 1 / span 2;
  }
}

.example {
  padding: 1.4rem 1.35rem 1.55rem;
  background: var(--feature-card-bg);
  border: 1px solid var(--feature-card-border);
  box-shadow: var(--shadow);
  animation: rise 0.9s var(--ease) both;
}

.example:nth-child(2) {
  animation-delay: 0.08s;
}

.example:nth-child(3) {
  animation-delay: 0.14s;
}

.example-kind {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

.example h3 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--feature-title-text-color);
  line-height: 1.15;
}

.example-meta {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.poem {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2.1vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink);
}

.poem p {
  margin: 0 0 1.15rem;
}

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

.example-quote {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.7;
}

.example-quote p {
  margin: 0 0 0.95rem;
}

.example-quote p:last-child {
  margin-bottom: 0;
}

.book-split {
  display: grid;
  gap: 1.6rem;
  align-items: center;
  animation: rise 0.9s var(--ease) both;
}

@media (min-width: 820px) {
  .book-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.4rem;
  }
}

.book-copy {
  max-width: 34rem;
  margin-bottom: 0;
}

.book-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--feature-card-border);
  background: #1c1714;
  box-shadow: var(--shadow);
  width: min(20rem, 78%);
  max-height: min(50vh, 28rem);
  aspect-ratio: 3 / 4;
  justify-self: center;
}

@media (min-width: 820px) {
  .book-card {
    justify-self: end;
    width: min(22rem, 100%);
  }
}

.book-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 45%;
  transition: transform 0.8s var(--ease);
}

.book-card:hover img {
  transform: scale(1.03);
}

.speaking-gallery {
  display: grid;
  gap: 0.85rem;
  width: 100%;
  margin-inline: auto;
  justify-items: center;
  animation: rise 1s var(--ease) both;
}

@media (min-width: 700px) {
  .speaking-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    justify-items: stretch;
  }
}

.speaking-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--feature-card-border);
  background: #2a2420;
  aspect-ratio: 3 / 4;
  width: min(20rem, 100%);
  max-height: min(50vh, 28rem);
}

@media (min-width: 700px) {
  .speaking-shot {
    width: auto;
    max-height: min(50vh, 30rem);
  }
}

.speaking-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 0.8s var(--ease);
}

.speaking-shot:nth-child(2) img {
  object-position: center 42%;
}

.speaking-shot:nth-child(3) img {
  object-position: center 28%;
}

.speaking-shot:hover img {
  transform: scale(1.04);
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    align-items: start;
  }
}

.aside-copy {
  position: sticky;
  top: 5.5rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.contact-list a {
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}

.contact-list a:hover {
  color: var(--accent);
}

.contact-list span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.form-panel {
  background: var(--palette-card-bg);
  border: 1px solid var(--feature-card-border);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  animation: rise 1s var(--ease) both;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(155, 109, 82, 0.45);
  background: #fffaf5;
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-1);
  background: #fffaf5;
  box-shadow: 0 0 0 3px var(--glow);
}

.form-note {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.form-status {
  min-height: 1.4rem;
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status.ok {
  color: #3f3f32;
}

.form-status.err {
  color: #8a3d2f;
}

.page-hero {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.2rem 0 1rem;
  animation: rise 0.8s var(--ease) both;
}

.brief-intro {
  width: min(720px, 100%);
}

.brief-block {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--palette-border);
}

.brief-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.5rem;
  color: var(--palette-title-color);
}

.brief-block > p {
  margin: 0 0 1.2rem;
  color: var(--palette-desc-color);
  max-width: 46rem;
}

.person-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 860px) {
  .person-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.person-panel {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--feature-card-border);
  padding: 1.2rem;
}

.person-panel h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 1rem;
  color: var(--feature-title-text-color);
}

.site-footer {
  border-top: 1px solid var(--footer-border);
  margin-top: 2rem;
  background: linear-gradient(180deg, transparent, rgba(183, 183, 164, 0.2));
}

.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--footer-text);
  font-size: 0.92rem;
}

.footer-inner strong {
  color: var(--footer-link-color);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-inner a {
  color: var(--footer-link-color);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--accent);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media,
  .hero-content,
  .section-head,
  .service,
  .form-panel,
  .page-hero {
    animation: none !important;
    transform: none !important;
  }
}
