:root {
  --tp-ink: #1e2230;
  --tp-ink-soft: #5b6170;
  --tp-ink-mute: #8a90a0;
  --tp-paper: #ffffff;
  --tp-paper-2: #f4f5f8;
  --tp-line: #e1e4eb;
  --tp-red: #d8261c;
  --tp-blue: #1b6fd6;
  --tp-green: #169b47;
  --tp-amber: #eea100;
  --tp-red-soft: #fdeceb;
  --tp-blue-soft: #e8f0fc;
  --tp-green-soft: #e6f5ec;
  --tp-amber-soft: #fff4d6;
  --tp-ribbon: linear-gradient(90deg, #e2301f 0%, #f26b1d 18%, #1b6fd6 42%, #169b47 66%, #a9c916 82%, #f2a900 100%);
  --tp-font: "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --tp-max: 1120px;
  --tp-gutter: clamp(20px, 4vw, 40px);
  --tp-radius: 6px;
  --tp-header-h: 84px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--tp-header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tp-site *, .tp-site *::before, .tp-site *::after { transition: none !important; animation: none !important; }
}

body.tp-body {
  margin: 0;
  font-family: var(--tp-font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tp-ink);
  background: var(--tp-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.tp-site img { max-width: 100%; height: auto; display: block; }

.tp-site a { color: var(--tp-blue); text-decoration: none; }
.tp-site a:hover { text-decoration: underline; }

.tp-site :focus-visible {
  outline: 3px solid var(--tp-blue);
  outline-offset: 3px;
  border-radius: 3px;
}

.tp-site h1, .tp-site h2, .tp-site h3, .tp-site h4 {
  margin: 0;
  font-family: var(--tp-font);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--tp-ink);
}

.tp-site p { margin: 0 0 1em; }
.tp-site p:last-child { margin-bottom: 0; }

.tp-wrap {
  width: 100%;
  max-width: var(--tp-max);
  margin: 0 auto;
  padding: 0 var(--tp-gutter);
}

.tp-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--tp-ink);
  color: #fff;
  border-radius: var(--tp-radius);
}
.tp-skip:focus { left: 8px; }

.tp-rule {
  height: 4px;
  width: 100%;
  background: var(--tp-ribbon);
  background-size: 200% 100%;
}
.tp-motion .tp-rule { animation: tp-rule-drift 14s linear infinite alternate; }

.tp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tp-header.is-scrolled {
  border-bottom-color: var(--tp-line);
  box-shadow: 0 6px 24px rgba(30, 34, 48, 0.06);
}

.tp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--tp-header-h);
}

.tp-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.tp-logo img { width: 168px; height: auto; }

.tp-nav { display: flex; align-items: center; gap: 6px; }
.tp-nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--tp-ink);
  border-radius: var(--tp-radius);
  white-space: nowrap;
}
.tp-nav a:hover { background: var(--tp-paper-2); text-decoration: none; }
.tp-nav a[data-key]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--tp-ink-mute);
  flex: 0 0 auto;
}
.tp-nav a[data-key="red"]::before { background: var(--tp-red); }
.tp-nav a[data-key="blue"]::before { background: var(--tp-blue); }
.tp-nav a[data-key="green"]::before { background: var(--tp-green); }
.tp-nav a[data-key="amber"]::before { background: var(--tp-amber); }
.tp-nav a.is-active { background: var(--tp-paper-2); }

.tp-header__cta { flex: 0 0 auto; }
.tp-nav__cta { display: none; }

.tp-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.tp-burger span {
  width: 20px;
  height: 2px;
  background: var(--tp-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.tp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.tp-site .tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  font-family: var(--tp-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  background: var(--tp-ink);
  border: 2px solid var(--tp-ink);
  border-radius: var(--tp-radius);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.tp-site .tp-btn:hover { background: #2c3145; border-color: #2c3145; text-decoration: none; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(30, 34, 48, 0.5); }
.tp-site .tp-btn:active { transform: translateY(0); box-shadow: none; }

.tp-site .tp-btn--ghost { background: transparent; color: var(--tp-ink); }
.tp-site .tp-btn--ghost:hover { background: var(--tp-ink); color: #fff; }

.tp-site .tp-btn--red { background: var(--tp-red); border-color: var(--tp-red); }
.tp-site .tp-btn--red:hover { background: #b81f16; border-color: #b81f16; }
.tp-site .tp-btn--blue { background: var(--tp-blue); border-color: var(--tp-blue); }
.tp-site .tp-btn--blue:hover { background: #155bb3; border-color: #155bb3; }
.tp-site .tp-btn--green { background: var(--tp-green); border-color: var(--tp-green); }
.tp-site .tp-btn--green:hover { background: #117a38; border-color: #117a38; }

.tp-site .tp-btn--sm { min-height: 42px; padding: 8px 16px; font-size: 15px; }

.tp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px);
}
.tp-hero__inner { position: relative; max-width: 900px; }
.tp-hero__kicker {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--tp-ink-soft);
}
.tp-hero h1 {
  font-size: clamp(38px, 6.4vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 16ch;
}
.tp-hero__ribbon {
  display: block;
  width: min(100%, 980px);
  height: auto;
  margin: clamp(18px, 3vw, 34px) 0 clamp(22px, 3vw, 36px) -12px;
  overflow: visible;
}
.tp-hero__ribbon .tp-ribbon-line,
.tp-hero__ribbon .tp-ribbon-glint {
  d: path("M10 70 C 230 22, 430 100, 650 56 S 900 18, 970 46");
}
.tp-hero__ribbon .tp-ribbon-glint { opacity: 0; }
.tp-motion .tp-hero__kicker,
.tp-motion .tp-hero h1,
.tp-motion .tp-hero__lead,
.tp-motion .tp-hero__actions .tp-btn {
  opacity: 0;
  animation: tp-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.tp-motion .tp-hero__kicker { animation-delay: 0.05s; }
.tp-motion .tp-hero h1 { animation-delay: 0.15s; animation-duration: 0.95s; }
.tp-motion .tp-hero__lead { animation-delay: 1.05s; }
.tp-motion .tp-hero__actions .tp-btn:nth-child(1) { animation-delay: 1.2s; }
.tp-motion .tp-hero__actions .tp-btn:nth-child(2) { animation-delay: 1.3s; }
.tp-motion .tp-hero__actions .tp-btn:nth-child(3) { animation-delay: 1.4s; }
.tp-motion .tp-hero__ribbon .tp-ribbon-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: tp-draw 1.5s cubic-bezier(0.65, 0, 0.25, 1) 0.45s forwards, tp-wave 10s ease-in-out 2s infinite alternate;
}
.tp-motion .tp-hero__ribbon .tp-ribbon-glint {
  stroke-dasharray: 0.07 1;
  stroke-dashoffset: 1.07;
  animation: tp-glint 7s linear 2.4s infinite, tp-wave 10s ease-in-out 2s infinite alternate;
}
.tp-hero__lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: var(--tp-ink-soft);
  max-width: 58ch;
  margin-bottom: 30px;
}
.tp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }


.tp-section { padding: clamp(56px, 8vw, 104px) 0; }
.tp-section--alt { background: var(--tp-paper-2); }

.tp-section__head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 52px);
  padding-left: 28px;
}
.tp-section__head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--tp-ink);
  transform-origin: top;
}
.tp-section__head[data-key="red"]::before { background: var(--tp-red); }
.tp-section__head[data-key="blue"]::before { background: var(--tp-blue); }
.tp-section__head[data-key="green"]::before { background: var(--tp-green); }
.tp-section__head[data-key="amber"]::before { background: var(--tp-amber); }
.tp-motion .tp-section__head::before { transform: scaleY(0); transition: transform 0.7s cubic-bezier(0.65, 0, 0.25, 1); }
.tp-motion .tp-section__head > * { opacity: 0; transform: translateX(-10px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tp-motion .tp-section__head > :nth-child(2) { transition-delay: 0.12s; }
.tp-motion .tp-section__head.is-in::before { transform: scaleY(1); }
.tp-motion .tp-section__head.is-in > * { opacity: 1; transform: none; }

.tp-section__head h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.03em;
}
.tp-section__head p {
  font-size: 18px;
  color: var(--tp-ink-soft);
  max-width: 60ch;
}

.tp-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.tp-cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tp-pillar {
  position: relative;
  padding-top: 20px;
}
.tp-pillar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--tp-ink);
  transform-origin: left;
}
.tp-pillar[data-key="red"]::before { background: var(--tp-red); }
.tp-pillar[data-key="blue"]::before { background: var(--tp-blue); }
.tp-pillar[data-key="green"]::before { background: var(--tp-green); }
.tp-pillar[data-key="amber"]::before { background: var(--tp-amber); }
.tp-motion .tp-pillar::before { transform: scaleX(0); transition: transform 0.8s cubic-bezier(0.65, 0, 0.25, 1); }
.tp-motion .tp-pillar > * { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tp-motion .tp-pillar.is-in::before { transform: scaleX(1); }
.tp-motion .tp-pillar.is-in > * { opacity: 1; transform: none; transition-delay: 0.25s; }
.tp-motion .tp-pillar:nth-child(2) { --tp-d: 0.12s; }
.tp-motion .tp-pillar:nth-child(3) { --tp-d: 0.24s; }
.tp-motion .tp-pillar::before, .tp-motion .tp-pillar > * { transition-delay: var(--tp-d, 0s); }
.tp-motion .tp-pillar.is-in > * { transition-delay: calc(var(--tp-d, 0s) + 0.25s); }
.tp-pillar h3 { font-size: 21px; margin-bottom: 10px; }
.tp-site a.tp-pillar { display: block; color: var(--tp-ink); }
.tp-site a.tp-pillar:hover { text-decoration: none; }
.tp-site a.tp-pillar:hover h3 { color: var(--tp-amber); }
.tp-pillar__more { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--tp-ink); border-bottom: 2px solid var(--tp-amber); transition: transform 0.2s ease; }
.tp-site a.tp-pillar:hover .tp-pillar__more { transform: translateX(4px); }
.tp-pillar p { color: var(--tp-ink-soft); font-size: 16px; }

.tp-founder {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.tp-founder__card {
  position: sticky;
  top: calc(var(--tp-header-h) + 24px);
}
.tp-founder__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--tp-radius);
  background-color: var(--tp-paper-2);
  background-image: url("../img/founder-placeholder.svg");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--tp-line);
}
.tp-founder__name {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tp-founder__role {
  margin-top: 4px;
  font-size: 15px;
  color: var(--tp-ink-soft);
}
.tp-founder__quote {
  margin: 0;
  padding: 0;
  border: 0;
}
.tp-founder__quote p {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.tp-founder__quote p + p { margin-top: 1.1em; }
.tp-motion .tp-founder__quote p, .tp-motion .tp-founder__note { opacity: 0; transform: translateY(10px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tp-motion .tp-founder__quote p:nth-child(2) { transition-delay: 0.15s; }
.tp-motion .tp-founder__note { transition-delay: 0.3s; }
.tp-motion .tp-founder__quote.is-in p, .tp-motion .tp-founder__quote.is-in + .tp-founder__note { opacity: 1; transform: none; }
.tp-founder__quote p:first-child::before {
  content: "\201E";
  color: var(--tp-ink-mute);
}
.tp-founder__quote p:last-child::after {
  content: "\201C";
  color: var(--tp-ink-mute);
}
.tp-founder__note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--tp-line);
  font-size: 16px;
  color: var(--tp-ink-soft);
}

.tp-service {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.tp-service__body p { font-size: 17px; }
.tp-service__body p + p { margin-top: 1em; }
.tp-service__actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

.tp-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tp-list li {
  position: relative;
  padding: 16px 0 16px 28px;
  border-top: 1px solid var(--tp-line);
  font-size: 17px;
}
.tp-list li:last-child { border-bottom: 1px solid var(--tp-line); }
.tp-motion .tp-list li { opacity: 0; transform: translateX(14px); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tp-motion .tp-list li:nth-child(2) { transition-delay: 0.08s; }
.tp-motion .tp-list li:nth-child(3) { transition-delay: 0.16s; }
.tp-motion .tp-list li:nth-child(4) { transition-delay: 0.24s; }
.tp-motion .tp-list.is-in li { opacity: 1; transform: none; }
.tp-motion .tp-list li::before { transform: scale(0); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: inherit; }
.tp-motion .tp-list.is-in li::before { transform: scale(1); }
.tp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--tp-ink);
}
.tp-list[data-key="red"] li::before { background: var(--tp-red); }
.tp-list[data-key="blue"] li::before { background: var(--tp-blue); }
.tp-list[data-key="green"] li::before { background: var(--tp-green); }
.tp-list[data-key="amber"] li::before { background: var(--tp-amber); }
.tp-list li strong { display: block; font-weight: 700; }

.tp-list__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--tp-ink-soft);
  margin: 0 0 8px;
}

.tp-seminars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.tp-seminar {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  background: var(--tp-paper);
  border: 1px solid var(--tp-line);
  border-top: 4px solid var(--tp-blue);
  border-radius: var(--tp-radius);
}
.tp-seminar[data-key="green"] { border-top-color: var(--tp-green); }
.tp-seminar[data-key="red"] { border-top-color: var(--tp-red); }
.tp-motion .tp-seminar { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tp-motion .tp-seminar:nth-child(2) { transition-delay: 0.12s; }
.tp-motion .tp-seminar:nth-child(3) { transition-delay: 0.24s; }
.tp-motion .tp-seminar.is-in { opacity: 1; transform: none; }
.tp-seminar { transition: border-color 0.2s ease, box-shadow 0.25s ease; }
.tp-seminar:hover { box-shadow: 0 18px 36px -20px rgba(30, 34, 48, 0.35); }
.tp-seminar__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--tp-blue);
  margin-bottom: 10px;
}
.tp-seminar[data-key="green"] .tp-seminar__label { color: var(--tp-green); }
.tp-seminar h3 { font-size: 22px; margin-bottom: 12px; }
.tp-seminar p { font-size: 16px; color: var(--tp-ink-soft); }
.tp-seminar__names {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tp-seminar__names li {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--tp-paper-2);
  color: var(--tp-ink);
}
.tp-seminar__foot { margin-top: auto; padding-top: 18px; }

.tp-upcoming {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.tp-vip {
  margin-top: clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px 30px;
  background: var(--tp-amber-soft);
  border-left: 6px solid var(--tp-amber);
  border-radius: 0 var(--tp-radius) var(--tp-radius) 0;
}
.tp-motion .tp-vip, .tp-motion .tp-partner__card, .tp-motion .tp-founder__card { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tp-motion .tp-vip.is-in, .tp-motion .tp-partner__card.is-in, .tp-motion .tp-founder__card.is-in { opacity: 1; transform: none; }
.tp-vip h3 { font-size: 20px; margin-bottom: 6px; }
.tp-vip p { color: var(--tp-ink-soft); font-size: 16px; }

.tp-partner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.tp-partner__body p { font-size: 17px; }
.tp-partner__body p + p { margin-top: 1em; }
.tp-partner__card {
  display: grid;
  gap: 22px;
  padding: 28px;
  background: var(--tp-paper-2);
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  font-size: 16px;
}
.tp-partner__logo {
  display: inline-flex;
  width: 120px;
  height: 120px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
}
.tp-partner__logo img { width: 100%; height: 100%; object-fit: contain; }
.tp-partner__card p { margin: 0; }
.tp-partner__label { font-size: 14px; font-weight: 700; color: var(--tp-ink-soft); margin-bottom: 4px !important; }
.tp-partner__name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.tp-partner__role { color: var(--tp-ink-soft); }
.tp-partner__links { list-style: none; margin: 10px 0 0; padding: 0; }
.tp-partner__links li + li { margin-top: 4px; }
.tp-partner__links a { color: var(--tp-ink); font-weight: 700; }
.tp-partner__company { padding-top: 20px; border-top: 1px solid var(--tp-line); color: var(--tp-ink-soft); }
.tp-partner__company .tp-partner__label { color: var(--tp-ink); font-size: 16px; }

.tp-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.tp-post {
  display: flex;
  flex-direction: column;
  background: var(--tp-paper);
  border: 1px solid var(--tp-line);
  border-top: 4px solid var(--tp-amber);
  border-radius: var(--tp-radius);
  overflow: hidden;
}
.tp-post__thumb { aspect-ratio: 16 / 9; background: var(--tp-paper-2); }
.tp-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tp-post__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.tp-post__date { font-size: 14px; color: var(--tp-ink-soft); margin-bottom: 8px; }
.tp-post h2 { font-size: 21px; margin-bottom: 10px; }
.tp-post h2 a { color: var(--tp-ink); }
.tp-post p { font-size: 16px; color: var(--tp-ink-soft); }
.tp-post__more { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--tp-ink); }
.tp-posts__empty { color: var(--tp-ink-soft); }
.tp-pagination { margin-top: clamp(28px, 4vw, 44px); display: flex; gap: 8px; flex-wrap: wrap; }
.tp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  color: var(--tp-ink);
  font-weight: 700;
}
.tp-pagination .page-numbers.current { background: var(--tp-ink); color: #fff; border-color: var(--tp-ink); }
.tp-single__meta { font-size: 15px; color: var(--tp-ink-soft); margin-top: 10px; }
.tp-single__thumb { max-width: 800px; margin: 0 0 clamp(24px, 4vw, 40px); border-radius: var(--tp-radius); overflow: hidden; }
.tp-single__back { max-width: 800px; margin-top: clamp(28px, 4vw, 44px); padding-top: 20px; border-top: 1px solid var(--tp-line); }

.tp-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.tp-contact h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.tp-contact__lead { font-size: 18px; color: var(--tp-ink-soft); max-width: 40ch; }
.tp-contact__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}
.tp-site a.tp-contact__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--tp-paper);
  border: 1px solid var(--tp-line);
  border-top: 4px solid var(--tp-ink);
  border-radius: var(--tp-radius);
  color: var(--tp-ink);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.tp-site a.tp-contact__card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -22px rgba(30, 34, 48, 0.4);
}
.tp-site a.tp-contact__card:nth-child(1) { border-top-color: var(--tp-red); }
.tp-site a.tp-contact__card:nth-child(2) { border-top-color: var(--tp-blue); }
.tp-contact__ico {
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
  border-radius: var(--tp-radius);
  display: grid;
  place-items: center;
  background: var(--tp-paper-2);
  color: var(--tp-ink);
}
.tp-contact__ico svg { width: 24px; height: 24px; }
.tp-contact__label { font-size: 15px; font-weight: 700; color: var(--tp-ink-soft); }
.tp-contact__value {
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  word-break: break-word;
}
.tp-contact__note { font-size: 15px; color: var(--tp-ink-soft); }
.tp-site a.tp-contact__card .tp-btn { margin-top: 14px; }
.tp-site a.tp-contact__card:hover .tp-btn { background: #2c3145; border-color: #2c3145; }
.tp-motion .tp-contact__card { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease, border-color 0.2s ease; }
.tp-motion .tp-contact__card:nth-child(2) { transition-delay: 0.12s; }
.tp-motion .tp-contact__card.is-in { opacity: 1; transform: none; transition-delay: 0s; }
.tp-motion .tp-contact__card.is-in:hover { transform: translateY(-3px); }

.tp-footer {
  background: var(--tp-paper-2);
  border-top: 1px solid var(--tp-line);
  padding: clamp(40px, 6vw, 64px) 0 28px;
  font-size: 15px;
  color: var(--tp-ink-soft);
}
.tp-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.tp-footer__brand img { width: 176px; }
.tp-footer__brand p { margin-top: 16px; max-width: 40ch; }
.tp-footer h4 { font-size: 15px; font-weight: 800; margin-bottom: 14px; color: var(--tp-ink); }
.tp-footer ul { list-style: none; margin: 0; padding: 0; }
.tp-footer li + li { margin-top: 8px; }
.tp-footer a { color: var(--tp-ink); }
.tp-footer__bottom {
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--tp-line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.tp-page { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 104px); }
.tp-page__head {
  max-width: 800px;
  margin-bottom: clamp(24px, 4vw, 40px);
  padding-left: 22px;
  border-left: 6px solid var(--tp-ink);
}
.tp-page__head h1 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.03em; }
.tp-prose { max-width: 800px; }
.tp-prose h2 { font-size: 28px; margin: 1.6em 0 0.6em; }
.tp-prose h3 { font-size: 22px; margin: 1.4em 0 0.5em; }
.tp-prose p, .tp-prose ul, .tp-prose ol { margin: 0 0 1.1em; }
.tp-prose li + li { margin-top: 0.35em; }
.tp-prose img { border-radius: var(--tp-radius); }
.tp-prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 22px;
  border-left: 6px solid var(--tp-blue);
  color: var(--tp-ink-soft);
  font-size: 19px;
}
.tp-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; }
.tp-prose th, .tp-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--tp-line); }
.tp-prose th { font-weight: 700; }

@media (max-width: 1400px) {
  .tp-nav a { font-size: 14px; padding: 9px 9px; }
  .tp-logo img { width: 150px; }
}

@media (max-width: 1240px) {
  .tp-burger { display: inline-flex; }
  .tp-header__cta { display: none; }
  .tp-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--tp-gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--tp-line);
    box-shadow: 0 16px 32px rgba(30, 34, 48, 0.08);
    display: none;
  }
  .tp-nav.is-open { display: flex; }
  .tp-nav a { padding: 14px 10px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--tp-line); }
  .tp-nav a:last-child { border-bottom: 0; }
  .tp-nav .tp-nav__cta { display: block; margin-top: 10px; }
  .tp-nav .tp-nav__cta .tp-btn { width: 100%; }
}

@media (max-width: 900px) {
  .tp-cols, .tp-seminars, .tp-upcoming { grid-template-columns: minmax(0, 1fr); }
  .tp-cols--2 { grid-template-columns: minmax(0, 1fr); }
  .tp-founder { grid-template-columns: minmax(0, 1fr); }
  .tp-founder__card { position: static; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; align-items: center; }
  .tp-founder__photo { aspect-ratio: 1; }
  .tp-founder__name { margin-top: 0; }
  .tp-service, .tp-contact, .tp-partner { grid-template-columns: minmax(0, 1fr); }
  .tp-contact__cards { grid-template-columns: minmax(0, 1fr); }
  .tp-posts { grid-template-columns: minmax(0, 1fr); }
  .tp-vip { grid-template-columns: minmax(0, 1fr); }
  .tp-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tp-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --tp-header-h: 72px; }
  body.tp-body { font-size: 16px; }
  .tp-logo img { width: 136px; }
  .tp-hero h1 { max-width: none; }
  .tp-hero__actions .tp-btn { width: 100%; }
  .tp-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .tp-founder__card { grid-template-columns: 100px minmax(0, 1fr); }
  .tp-section__head { padding-left: 16px; }
}

@keyframes tp-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes tp-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes tp-wave {
  from { d: path("M10 70 C 230 22, 430 100, 650 56 S 900 18, 970 46"); }
  to { d: path("M10 60 C 230 38, 430 84, 650 48 S 900 34, 970 58"); }
}
@keyframes tp-glint {
  0% { opacity: 0; stroke-dashoffset: 1.07; }
  4% { opacity: 0.8; }
  34% { opacity: 0.8; }
  40% { opacity: 0; stroke-dashoffset: 0; }
  100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes tp-rule-drift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
