:root {
  --tcp-bg: #f4efe7;
  --tcp-surface: #fffaf4;
  --tcp-surface-strong: #102a43;
  --tcp-surface-soft: #eef4ef;
  --tcp-ink: #22303c;
  --tcp-muted: #667281;
  --tcp-line: rgba(16, 42, 67, 0.12);
  --tcp-accent: #e5a447;
  --tcp-accent-soft: #68b6b0;
  --tcp-shadow: 0 24px 60px rgba(16, 42, 67, 0.12);
  --tcp-radius-xl: 32px;
  --tcp-radius-lg: 24px;
  --tcp-radius-md: 18px;
  --tcp-radius-sm: 999px;
}

html {
  background:
    radial-gradient(circle at top left, rgba(104, 182, 176, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(229, 164, 71, 0.18), transparent 22%),
    var(--tcp-bg);
  scroll-behavior: smooth;
}

body.tcp-body {
  min-height: 100vh;
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  color: var(--tcp-ink);
  background: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--tcp-surface-strong);
  line-height: 0.98;
}

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

a {
  color: inherit;
}

.tcp-page-shell {
  min-height: 100vh;
}

.tcp-main {
  padding-bottom: 5rem;
}

.tcp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(16, 42, 67, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, min-height 0.25s ease;
}

.tcp-header > .container {
  width: 100%;
  max-width: none !important;
  padding-inline: clamp(1rem, 2.5vw, 2rem);
}

html.is-scrolled .tcp-header {
  background: rgba(16, 42, 67, 0.95);
}

.tcp-navbar {
  background: transparent;
  min-height: 5.1rem;
}

.tcp-brand {
  gap: 0.9rem;
}

.tcp-brand:hover {
  background: transparent !important;
}

.tcp-brand__mark {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--tcp-accent), #f3cb7d);
  color: var(--tcp-surface-strong);
}

.tcp-brand__copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  color: #fff;
  line-height: 1.1;
}

.tcp-brand__copy strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tcp-brand__copy small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tcp-navbar-burger,
.tcp-navbar-burger:hover,
.tcp-navbar-burger:focus {
  color: #fff;
  background: transparent;
}

.tcp-navbar-links {
  align-items: center;
  gap: 0.15rem;
}

.tcp-navbar-link.navbar-item,
.tcp-navbar .navbar-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 700;
  position: relative;
  background: transparent !important;
}

.tcp-navbar-link.navbar-item::after,
.tcp-navbar .navbar-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.7rem;
  height: 2px;
  border-radius: 999px;
  background: var(--tcp-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.tcp-navbar-link.navbar-item:hover::after,
.tcp-navbar .navbar-link:hover::after {
  transform: scaleX(1);
}

.tcp-navbar-dropdown {
  border: 0;
  border-radius: 1.1rem;
  box-shadow: var(--tcp-shadow);
  padding: 0.45rem;
  min-width: 17rem;
}

.tcp-navbar-dropdown__item.navbar-item {
  border-radius: 0.85rem;
  font-size: 0.92rem;
  white-space: normal;
}

.tcp-navbar-dropdown__item.navbar-item:hover {
  background: rgba(104, 182, 176, 0.14);
  color: var(--tcp-surface-strong);
}

.tcp-header-cta {
  border: 0;
  border-radius: var(--tcp-radius-sm);
  background: linear-gradient(135deg, var(--tcp-accent), #f3c36e);
  color: var(--tcp-surface-strong);
  font-weight: 800;
  box-shadow: 0 18px 30px rgba(229, 164, 71, 0.25);
}

.tcp-header-cta:hover,
.tcp-header-cta:focus {
  color: var(--tcp-surface-strong);
  transform: translateY(-1px);
}

.tcp-section,
.tcp-hero-section {
  padding: clamp(2.5rem, 5vw, 5.5rem) 1.25rem 0;
}

.tcp-hero-section {
  padding-top: clamp(2.7rem, 6vw, 4.5rem);
}

.tcp-panel,
.tcp-card,
.tcp-video-banner,
.tcp-footer-card,
.tcp-toc {
  border-radius: var(--tcp-radius-xl);
  background: rgba(255, 250, 244, 0.94);
  box-shadow: var(--tcp-shadow);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.tcp-hero-copy {
  padding: clamp(2rem, 4vw, 3.6rem);
}

.tcp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: #1d5f5c;
  background: rgba(104, 182, 176, 0.12);
  border-radius: var(--tcp-radius-sm);
  padding: 0.62rem 1rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tcp-hero-title,
.tcp-section-title,
.tcp-article-meta h1,
.tcp-footer-title {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.tcp-section-title {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.tcp-footer-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: #fff;
}

.tcp-hero-lead,
.tcp-story-flow,
.tcp-card__copy,
.tcp-footer-copy,
.tcp-copy {
  color: var(--tcp-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.tcp-copy a,
.tcp-card__copy a,
.tcp-story-flow a {
  color: var(--tcp-surface-strong);
  font-weight: 700;
}

.tcp-copy--lead {
  font-size: 1.08rem;
  color: var(--tcp-ink);
}

.tcp-hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.tcp-button,
.tcp-card__link {
  border-radius: var(--tcp-radius-sm);
  font-weight: 800;
}

.tcp-button {
  min-height: 3.2rem;
  padding-inline: 1.4rem;
  border: 0;
}

.tcp-button--primary {
  background: var(--tcp-surface-strong);
  color: #fff;
}

.tcp-button--soft {
  background: rgba(255, 255, 255, 0.72);
  color: var(--tcp-surface-strong);
  border: 1px solid var(--tcp-line);
}

.tcp-button--accent {
  background: linear-gradient(135deg, var(--tcp-accent), #f3c36e);
  color: var(--tcp-surface-strong);
}

.tcp-button:hover,
.tcp-card__link:hover {
  transform: translateY(-1px);
}

.tcp-hero-metrics {
  margin-top: 1.8rem;
}

.tcp-stat-card {
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--tcp-line);
  min-height: 100%;
}

.tcp-stat-card p {
  margin: 0;
  color: var(--tcp-surface-strong);
  font-weight: 700;
}

.tcp-hero-media {
  background: linear-gradient(180deg, rgba(16, 42, 67, 0.16), rgba(16, 42, 67, 0.44));
  padding: 1.35rem;
  min-height: 100%;
}

.tcp-hero-figure,
.tcp-featured-figure,
.tcp-card__hero-image {
  overflow: hidden;
  border-radius: calc(var(--tcp-radius-xl) - 10px);
}

.tcp-hero-figure img,
.tcp-featured-figure img,
.tcp-card__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tcp-support-stack {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.tcp-support-chip {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 250, 244, 0.94);
  color: var(--tcp-surface-strong);
  font-weight: 700;
}

.tcp-support-chip:hover {
  background: #fff;
}

.tcp-section-heading {
  margin-bottom: 1.65rem;
}

.tcp-section-hero {
  margin-bottom: 1.75rem;
  padding: clamp(1.6rem, 3vw, 2.5rem);
}

.tcp-section-hero--dark,
.tcp-video-banner,
.tcp-footer {
  background: linear-gradient(145deg, #102a43, #173a5a);
  color: rgba(255, 255, 255, 0.9);
}

.tcp-section-hero--dark .tcp-section-title,
.tcp-video-banner .tcp-section-title,
.tcp-footer .tcp-footer-title,
.tcp-footer .tcp-kicker {
  color: #fff;
}

.tcp-video-banner {
  padding: clamp(1.8rem, 3vw, 2.7rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.tcp-section--soft {
  padding-bottom: 1rem;
}

.tcp-card {
  height: 100%;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tcp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(16, 42, 67, 0.16);
}

.tcp-card--news,
.tcp-card--gallery,
.tcp-card--compact,
.tcp-card--minimal {
  background: rgba(255, 250, 244, 0.96);
}

.tcp-card--listing {
  min-height: 100%;
}

.tcp-card--horizontal {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  padding: 0;
  overflow: hidden;
}

.tcp-card__media {
  flex: 0 0 38%;
  overflow: hidden;
}

.tcp-card__media img,
.tcp-card__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tcp-card__body {
  padding: 1.4rem;
}

.tcp-card__tag {
  margin-bottom: 0.85rem;
  color: var(--tcp-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tcp-card__title,
.tcp-mini-card__title {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.05;
}

.tcp-card__title a,
.tcp-mini-card__title a {
  color: inherit;
}

.tcp-card__copy {
  margin-bottom: 1rem;
}

.tcp-card__link {
  color: var(--tcp-surface-strong);
  text-decoration: none;
}

.tcp-card__link:hover {
  color: var(--tcp-accent);
}

.tcp-sidebar-panel,
.tcp-aside-card {
  padding: 1.4rem;
}

.tcp-sidebar-links,
.tcp-footer-links {
  display: grid;
  gap: 0.65rem;
}

.tcp-sidebar-links a,
.tcp-footer-links a {
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.76);
  color: var(--tcp-surface-strong);
  font-weight: 700;
  border: 1px solid var(--tcp-line);
}

.tcp-footer {
  margin-top: 4rem;
  padding: 2.5rem 1.25rem 3rem;
}

.tcp-footer-card {
  height: 100%;
  padding: 1.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
}

.tcp-footer-copy {
  color: rgba(255, 255, 255, 0.74);
}

.tcp-breadcrumbs {
  padding: 1.15rem 1.25rem 0;
}

.tcp-breadcrumbs ul {
  flex-wrap: wrap;
}

.tcp-breadcrumbs a,
.tcp-breadcrumbs span {
  color: var(--tcp-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.tcp-breadcrumbs li.is-active span {
  color: var(--tcp-surface-strong);
}

.tcp-article-shell,
.tcp-static-shell,
.tcp-media-detail {
  padding: clamp(1.8rem, 3vw, 2.8rem);
}

.tcp-article-shell--narrow {
  max-width: 52rem;
  margin: 0 auto;
}

.tcp-article-meta {
  margin-bottom: 1.75rem;
}

.tcp-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  margin-top: 0.9rem;
  color: var(--tcp-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.tcp-featured-figure {
  margin: 0 0 1.5rem;
  box-shadow: var(--tcp-shadow);
}

.tcp-featured-figure--float {
  float: right;
  margin: 0 0 1.35rem 1.35rem;
  max-width: min(20rem, 42%);
}

.tcp-story-flow > * + * {
  margin-top: 1rem;
}

.tcp-content-heading {
  margin-top: 1.5rem;
  font-size: clamp(1.7rem, 2vw, 2.3rem);
}

.tcp-copy {
  margin: 0;
}

.tcp-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--tcp-muted);
}

.tcp-list li + li {
  margin-top: 0.45rem;
}

.tcp-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--tcp-radius-lg);
  background: rgba(16, 42, 67, 0.04);
}

.tcp-figure figcaption {
  padding: 0.85rem 1rem 1rem;
  color: var(--tcp-muted);
  font-size: 0.92rem;
}

.tcp-gallery {
  margin-top: 0.2rem;
}

.tcp-gallery__figure img {
  min-height: 13rem;
  object-fit: cover;
}

.tcp-table {
  background: transparent;
}

.tcp-table td,
.tcp-table th {
  vertical-align: top;
  border-color: var(--tcp-line);
}

.tcp-table-wrap {
  border-radius: var(--tcp-radius-lg);
  border: 1px solid var(--tcp-line);
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.64);
  overflow-x: auto;
}

.tcp-table-image {
  max-width: 22rem;
  border-radius: 1rem;
  overflow: hidden;
}

.tcp-table-stack {
  display: grid;
  gap: 0.75rem;
}

.tcp-embed iframe,
.tcp-embed video,
.tcp-embed object {
  width: 100%;
  min-height: 20rem;
  border: 0;
  border-radius: var(--tcp-radius-lg);
}

.tcp-quote {
  margin: 0;
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--tcp-accent);
  background: rgba(255, 255, 255, 0.72);
  color: var(--tcp-ink);
  font-style: italic;
}

.tcp-code {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #132b44;
  color: #f2f5f7;
  overflow-x: auto;
}

.tcp-rule,
.tcp-separator-line {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 42, 67, 0.18), transparent);
}

.tcp-mini-card {
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--tcp-line);
  background: rgba(255, 255, 255, 0.72);
}

.tcp-toc {
  padding: 1.3rem;
  margin-bottom: 1.5rem;
}

.tcp-toc ul {
  margin: 0;
  padding-left: 1rem;
}

.tcp-toc li + li {
  margin-top: 0.45rem;
}

.tcp-toc a {
  color: var(--tcp-surface-strong);
  font-weight: 700;
}

.tcp-toc .is-sub a {
  color: var(--tcp-muted);
}

.tcp-sticky-shell {
  position: sticky;
  top: 7rem;
}

.tcp-error-shell {
  min-height: 58vh;
  display: flex;
  align-items: center;
}

.tcp-error-card {
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

@media screen and (min-width: 1024px) {
  .tcp-navbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    min-height: auto;
    padding: 0.55rem 0;
    width: 100%;
  }

  .tcp-navbar-menu {
    flex: 1 1 0;
    min-width: 0;
  }

  .tcp-navbar-links {
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: 0;
    min-width: 0;
    padding-right: 0.8rem;
    row-gap: 0.25rem;
  }

  .tcp-navbar-link.navbar-item,
  .tcp-navbar .navbar-link {
    padding: 0.55rem 0.75rem;
  }

  .tcp-navbar-link.navbar-item::after,
  .tcp-navbar .navbar-link::after {
    bottom: 0.35rem;
  }

  .tcp-article-shell--content .tcp-article-meta h1 {
    font-size: clamp(2rem, 2.45vw, 2.8rem);
    line-height: 1.04;
  }
}

@media screen and (max-width: 1023px) {
  .tcp-navbar-menu {
    background: rgba(16, 42, 67, 0.98);
    border-radius: 0 0 1.5rem 1.5rem;
  }

  .tcp-navbar-links {
    padding: 0.5rem 0 1rem;
  }

  .tcp-navbar-link.navbar-item::after,
  .tcp-navbar .navbar-link::after {
    display: none;
  }

  .tcp-video-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 768px) {
  .tcp-hero-title,
  .tcp-section-title,
  .tcp-article-meta h1 {
    font-size: clamp(2.2rem, 8vw, 3.1rem);
  }

  .tcp-featured-figure--float {
    float: none;
    max-width: 100%;
    margin-left: 0;
  }

  .tcp-footer {
    padding-bottom: 2rem;
  }
}

@media print {
  .tcp-header,
  .tcp-footer,
  .tcp-sidebar,
  .tcp-toc {
    display: none !important;
  }

  body.tcp-body {
    background: #fff;
  }

  .tcp-panel,
  .tcp-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
