/**
 * TCC Homepage Design System v1.0
 * Scope rule: every selector is anchored to .tcc-homepage.
 * Header and footer are intentionally excluded and remain byte-for-byte frozen.
 */
.tcc-homepage {
  --home-container: 1180px;
  --home-section-space: 80px;
  --home-section-space-mobile: 48px;
  --home-grid-gap: 24px;
  --home-card-radius: 16px;
  --home-image-radius: 14px;
  --home-card-shadow: 0 12px 32px rgba(18, 63, 49, .08);
  --home-card-shadow-hover: 0 18px 42px rgba(18, 63, 49, .13);
  --home-border: #e7e1d7;
  --home-body-size: 16px;
  --home-body-line: 1.7;
  overflow: clip;
}

.tcc-homepage > .hero .container,
.tcc-homepage > .section .container {
  width: min(calc(100% - 48px), var(--home-container));
}

.tcc-homepage > .section {
  padding-block: var(--home-section-space);
}

.tcc-homepage .eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .18em;
}

.tcc-homepage .section-heading {
  max-width: 760px;
  margin: 0 0 38px;
  text-align: left;
}

.tcc-homepage .section-heading h2,
.tcc-homepage .split-grid h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.tcc-homepage .section-heading > p:last-child,
.tcc-homepage .about-copy,
.tcc-homepage .product-card p,
.tcc-homepage .process-card p,
.tcc-homepage .journal-card p {
  font-size: var(--home-body-size);
  line-height: var(--home-body-line);
}

/* Hero: compact and readable, scoped to homepage only. */
.tcc-homepage > .hero {
  min-height: 590px;
}

.tcc-homepage .hero__content {
  width: min(610px, 100%);
  padding-bottom: 24px;
}

.tcc-homepage .hero h1 {
  margin-top: 12px;
  font-size: clamp(58px, 6.2vw, 88px);
  line-height: .94;
  letter-spacing: -.045em;
}

.tcc-homepage .hero__lead {
  max-width: 560px;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.65;
}

.tcc-homepage .hero__actions {
  margin-top: 28px;
}

.tcc-homepage .hero__actions .button,
.tcc-homepage .cta-actions .button {
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.2;
}

/* About. */
.tcc-homepage .split-grid {
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6vw, 76px);
}

.tcc-homepage .about-media,
.tcc-homepage .about-media img {
  min-height: 390px;
}

.tcc-homepage .about-media {
  border-radius: var(--home-card-radius);
}

.tcc-homepage .about-media img {
  border-radius: var(--home-card-radius);
}

.tcc-homepage .about-media blockquote {
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 20px;
  border-radius: 14px;
  font-size: clamp(18px, 2vw, 26px);
}

.tcc-homepage .stats {
  gap: 18px;
  margin-top: 30px;
}

.tcc-homepage .stats > div {
  padding-top: 14px;
  border-top: 2px solid rgba(210, 160, 84, .72);
}

.tcc-homepage .stats strong {
  font-size: 24px;
}

/* Shared content cards. */
.tcc-homepage .product-grid,
.tcc-homepage .experience-grid,
.tcc-homepage .journal-grid {
  gap: var(--home-grid-gap);
}

.tcc-homepage .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.tcc-homepage .product-card,
.tcc-homepage .journal-card {
  border-color: var(--home-border);
  border-radius: var(--home-card-radius);
  box-shadow: var(--home-card-shadow);
}

.tcc-homepage .product-card:hover,
.tcc-homepage .journal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-card-shadow-hover);
}

.tcc-homepage .product-card__media {
  padding: 12px;
}

.tcc-homepage .product-card img {
  border-radius: var(--home-image-radius);
}

.tcc-homepage .product-card__body {
  padding: 0 20px 22px;
}

.tcc-homepage .product-card h3 {
  margin: 16px 0 8px;
  font-size: 24px;
  line-height: 1.2;
}

.tcc-homepage .product-card a {
  margin-top: 12px;
  font-size: 14px;
}

/* Process: two balanced rows of three on desktop. */
.tcc-homepage .process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.tcc-homepage .process-card {
  min-height: 150px;
  padding: 22px;
  border-radius: var(--home-card-radius);
  text-align: left;
}

.tcc-homepage .process-card span {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--gold);
}

.tcc-homepage .process-card h3 {
  margin-top: 16px;
  font-size: 19px;
  line-height: 1.25;
}

.tcc-homepage .process-card p {
  margin-top: 8px;
  font-size: 14px;
}

/* Experience. */
.tcc-homepage .experience-grid article {
  position: relative;
  min-height: 280px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--home-card-radius);
  box-shadow: var(--home-card-shadow);
}

.tcc-homepage .experience-grid article > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tcc-homepage .experience-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 20, 15, .06) 25%, rgba(6, 30, 22, .84) 100%);
}

.tcc-homepage .experience-grid article > h3,
.tcc-homepage .experience-grid article > p,
.tcc-homepage .experience-grid article > a {
  position: relative;
  z-index: 2;
}

.tcc-homepage .experience-grid h3 {
  font-size: 24px;
}

/* Journal: single post stays proportionate instead of stretching. */
.tcc-homepage .journal-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
}

.tcc-homepage .journal-card {
  transition: transform .25s ease, box-shadow .25s ease;
}

.tcc-homepage .journal-card img {
  aspect-ratio: 16 / 9;
}

.tcc-homepage .journal-card > div {
  padding: 20px;
}

.tcc-homepage .journal-card h3 {
  margin: 8px 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

/* CTA compact; footer starts sooner. */
.tcc-homepage > .cta-section {
  padding-block: 0;
}

.tcc-homepage .cta-card {
  min-height: 210px;
  padding: 42px 56px;
  border-radius: 0;
  box-shadow: none;
}

.tcc-homepage .cta-card h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.tcc-homepage .cta-card p {
  margin-top: 10px;
}

@media (max-width: 920px) {
  .tcc-homepage {
    --home-section-space: 64px;
  }

  .tcc-homepage > .hero {
    min-height: 540px;
  }

  .tcc-homepage .hero h1 {
    font-size: clamp(52px, 10vw, 76px);
  }

  .tcc-homepage .split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .tcc-homepage .cta-card {
    padding: 38px;
  }
}

@media (max-width: 640px) {
  .tcc-homepage {
    --home-section-space: var(--home-section-space-mobile);
    --home-grid-gap: 16px;
  }

  .tcc-homepage > .hero .container,
  .tcc-homepage > .section .container {
    width: min(calc(100% - 28px), var(--home-container));
  }

  .tcc-homepage > .hero {
    min-height: 500px;
  }

  .tcc-homepage .hero__content {
    padding-bottom: 12px;
  }

  .tcc-homepage .hero h1 {
    font-size: clamp(44px, 15vw, 62px);
  }

  .tcc-homepage .hero__lead {
    margin-top: 18px;
    font-size: 15px;
  }

  .tcc-homepage .hero__actions {
    margin-top: 22px;
  }

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

  .tcc-homepage .section-heading h2,
  .tcc-homepage .split-grid h2 {
    font-size: 30px;
  }

  .tcc-homepage .about-media,
  .tcc-homepage .about-media img {
    min-height: 330px;
  }

  .tcc-homepage .stats,
  .tcc-homepage .process-grid {
    grid-template-columns: 1fr;
  }

  .tcc-homepage .product-grid,
  .tcc-homepage .experience-grid,
  .tcc-homepage .journal-grid {
    grid-template-columns: 1fr;
  }

  .tcc-homepage .process-card {
    min-height: auto;
  }

  .tcc-homepage .experience-grid article {
    min-height: 250px;
  }

  .tcc-homepage .cta-card {
    min-height: auto;
    padding: 34px 24px;
  }

  .tcc-homepage .cta-card h2 {
    font-size: 34px;
  }
}

@media print {
  .tcc-homepage > .section {
    padding-block: 30px;
    break-inside: avoid;
  }

  .tcc-homepage > .hero {
    min-height: 420px;
  }

  .tcc-homepage .product-card,
  .tcc-homepage .process-card,
  .tcc-homepage .experience-grid article,
  .tcc-homepage .journal-card {
    break-inside: avoid;
    box-shadow: none;
  }
}

/**
 * Homepage Section 01 — Hero lock (v3.3.3)
 * Scope: homepage hero only. Header, footer and all following sections excluded.
 */
.tcc-homepage > .hero {
  min-height: 540px;
}

.tcc-homepage > .hero .hero__content {
  width: min(590px, 100%);
  padding-bottom: 12px;
}

.tcc-homepage > .hero h1 {
  margin-top: 10px;
  font-size: clamp(54px, 5.6vw, 78px);
  line-height: .96;
}

.tcc-homepage > .hero .hero__lead {
  max-width: 540px;
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.62;
}

.tcc-homepage > .hero .hero__actions {
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 920px) {
  .tcc-homepage > .hero {
    min-height: 520px;
  }

  .tcc-homepage > .hero h1 {
    font-size: clamp(48px, 10vw, 68px);
  }
}

@media (max-width: 640px) {
  .tcc-homepage > .hero {
    min-height: 470px;
  }

  .tcc-homepage > .hero .hero__content {
    padding-bottom: 0;
  }

  .tcc-homepage > .hero h1 {
    font-size: clamp(46px, 15vw, 62px);
  }

  .tcc-homepage > .hero .hero__lead {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.58;
  }

  .tcc-homepage > .hero .hero__actions {
    margin-top: 20px;
  }
}

/* Homepage polish v1.1 — scoped content refinements only. */
@media (min-width: 921px) {
  .tcc-homepage .hero__content {
    transform: translateY(18px);
  }
}

.tcc-homepage .hero h1 {
  margin-bottom: 0;
}

.tcc-homepage .hero__lead {
  margin-top: 26px;
}

.tcc-homepage .hero__actions .button {
  min-height: 44px;
}

.tcc-homepage .stats {
  margin-top: 38px;
}

.tcc-homepage .about-media img {
  filter: saturate(1.03) contrast(1.02);
}

.tcc-homepage .product-card h3 {
  margin-bottom: 12px;
}

.tcc-homepage .product-card p {
  margin-top: 0;
}

.tcc-homepage .cta-card {
  min-height: 190px;
  padding-block: 36px;
}

.tcc-homepage .cta-actions {
  margin-top: 22px;
}

@media (max-width: 920px) {
  .tcc-homepage .hero__content {
    transform: none;
  }

  .tcc-homepage .stats {
    margin-top: 34px;
  }

  .tcc-homepage .cta-card {
    min-height: 180px;
  }
}

@media (max-width: 640px) {
  .tcc-homepage .hero__lead {
    margin-top: 20px;
  }

  .tcc-homepage .hero__actions .button {
    min-height: 42px;
  }

  .tcc-homepage .stats {
    margin-top: 30px;
  }

  .tcc-homepage .cta-card {
    min-height: auto;
    padding-block: 30px;
  }

  .tcc-homepage .cta-actions {
    margin-top: 18px;
  }
}

/* v3.3.5 — Experience card image bridge and contrast lock. */
.tcc-homepage .experience-grid .experience-card__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 12px;
  color: #f2c46d;
  font-weight: 700;
  line-height: 1.35;
  opacity: 1;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}

.tcc-homepage .experience-grid .experience-card__link:hover,
.tcc-homepage .experience-grid .experience-card__link:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
