:root {
  --bg: #f7f5fb;
  --surface: #ffffff;
  --surface-soft: #f2eef8;
  --text: #181318;
  --muted: #5f5862;
  --line: #ddd8e8;
  --deep: #140a2d;
  --orange: #f48d24;
  --red: #de433a;
  --purple: #662a83;
  --shadow: 0 20px 50px rgba(20, 10, 45, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-frame {
  width: min(1080px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 36px 0 72px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

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

.brand img {
  width: min(250px, 44vw);
  height: auto;
}

.site-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

.site-nav a {
  font-weight: 600;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--deep);
}

.site-nav .nav-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red) 55%, var(--purple));
  box-shadow: 0 10px 24px rgba(102, 42, 131, 0.18);
}

.site-nav .nav-book:hover,
.site-nav .nav-book:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.lang-menu {
  position: relative;
}

.lang-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lang-menu summary::-webkit-details-marker {
  display: none;
}

.lang-menu-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 170px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  z-index: 20;
}

.lang-menu-list a,
.lang-menu-current {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--deep);
  white-space: nowrap;
}

.lang-menu-list a:hover,
.lang-menu-list a:focus-visible {
  background: var(--surface-soft);
}

.lang-menu-current {
  background: var(--surface-soft);
}

.flag {
  display: inline-block;
  width: 21px;
  height: 14px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
  flex: 0 0 auto;
}

.site-main {
  padding-top: 44px;
}

.section,
.hero {
  margin-bottom: 88px;
}

.hero {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.7rem, 4.8vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
  max-width: 8.5ch;
  color: var(--deep);
}

.hero-copy h1 {
  max-width: none;
}

h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
  color: var(--deep);
}

h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--deep);
}

p,
li,
blockquote {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--muted);
}

.intro {
  max-width: 40ch;
  font-size: 1.14rem;
}

.hero-copy {
  max-width: none;
}

.hero .hero-copy .intro {
  max-width: none;
}

.intro-secondary {
  margin-top: 12px;
  max-width: 52ch;
  font-size: 1rem;
}

.hero-simple {
  grid-template-columns: 1fr;
}

.hero-copy-wide {
  max-width: 760px;
}

.skill-hero-copy {
  max-width: none;
}

.skill-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: center;
}

.skill-hero-main {
  min-width: 0;
}

.skill-hero-main h1 {
  max-width: none;
}

.skill-hero-main .intro {
  max-width: 40ch;
  margin-bottom: 0;
}

.skill-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding-top: 0;
}

.skill-logo-panel img {
  display: block;
  width: 180px;
  max-width: 180px;
  height: auto;
}

.standalone-card {
  align-self: start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red) 55%, var(--purple));
}

.button-secondary {
  color: var(--deep);
  background: transparent;
  border-color: var(--line);
}

.hero-image-wrap,
.photo-card {
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image-wrap {
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}

.hero-image-cutout {
  position: relative;
  z-index: 1;
  aspect-ratio: auto;
  max-width: 94%;
  max-height: 620px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 34px rgba(20, 10, 45, 0.14));
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
}

.section-copy {
  max-width: 620px;
}

.simple-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.simple-points li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
}

.simple-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--purple));
}

.about-visuals {
  display: grid;
  gap: 20px;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 24%;
}

.quote-card {
  padding: 24px 26px;
  border-left: 3px solid var(--orange);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.quote-card p {
  margin: 0;
  color: var(--deep);
  font-size: 1.1rem;
  line-height: 1.7;
}

.section-heading {
  margin-bottom: 28px;
}

.references-heading {
  max-width: 760px;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.reference-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.reference-logo-card img {
  max-width: 100%;
  max-height: 82px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.topics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
}

.topics-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.topic-item {
  border-bottom: 1px solid var(--line);
}

.topic-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}

.topic-item summary::-webkit-details-marker {
  display: none;
}

.topic-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
}

.topic-item[open] summary::after {
  content: "−";
}

.topic-item summary span {
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--deep);
  font-weight: 600;
}

.topic-item p {
  margin: 0 0 20px;
  max-width: 52ch;
}

.talk-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
}

.compact-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.booking-section {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.booking-copy h2 {
  max-width: 10ch;
}

.contact-block {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

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

.contact-block a {
  color: var(--deep);
}

.booking-form {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label span {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--deep);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 14px 15px;
}

.bot-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(102, 42, 131, 0.08);
}

textarea {
  resize: vertical;
}

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

small[data-error-for] {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: #b03030;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.form-status {
  margin: 0;
}

.form-status.is-success { color: #1f7a42; }
.form-status.is-error { color: #b03030; }

@media (max-width: 980px) {
  .hero,
  .split-section,
  .topics-layout,
  .booking-section,
  .compact-band {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero > .hero-image-wrap {
    order: 2;
  }

  .hero > .hero-copy {
    order: 1;
  }

  .skill-hero-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .skill-logo-panel {
    justify-content: flex-start;
    padding-top: 0;
  }

  .skill-logo-panel img {
    width: 160px;
    max-width: 160px;
  }

  .references-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    max-width: 11ch;
  }

  .booking-copy h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .site-frame {
    width: min(100vw - 24px, 1120px);
    padding-top: 20px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-right {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .lang-menu-list {
    right: auto;
    left: 0;
  }

  .site-main {
    padding-top: 30px;
  }

  .section,
  .hero {
    margin-bottom: 56px;
  }

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

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

  .booking-form {
    padding: 20px;
  }

  h1 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }
}
