/* ==========================================================================
   Tallinn Coffee Festival 2027 — main styles
   ========================================================================== */

@font-face {
  font-family: "Lab Grotesque";
  src:
    url("../fonts/LabGrotesque-Regular.woff2") format("woff2"),
    url("../fonts/LabGrotesque-Regular.woff") format("woff"),
    url("../fonts/LabGrotesque-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lab Grotesque";
  src:
    url("../fonts/LabGrotesque-Bold.woff2") format("woff2"),
    url("../fonts/LabGrotesque-Bold.woff") format("woff"),
    url("../fonts/LabGrotesque-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --tcf-blue: #7f9acf;
  --tcf-blue-deep: #5c76d1;
  --tcf-blue-soft: #99a9d3;
  --tcf-sage: #a6b4a4;
  --tcf-sage-dark: #1b3b1e;
  --tcf-cream: #faf6f0;
  --tcf-navy: #1b263b;
  --tcf-terracotta: #79311c;
  --tcf-pink: #f5d9d7;
  --tcf-pink-hot: #fcd2d1;
  --tcf-brown: #462b2c;
  --tcf-gold: #9a7b4f;
  --tcf-white: #ffffff;
  --tcf-text: #1a1a1a;
  --tcf-muted: #5a5a5a;
  --tcf-radius: 1.5rem;
  --tcf-radius-lg: 2rem;
  --tcf-radius-pill: 999px;
  --tcf-container: 1280px;
  /* Designer type system: Inter Tight = headings/display; Inter = body/UI */
  --tcf-font: Inter, system-ui, sans-serif;
  --tcf-font-display: "Lab Grotesque", "Inter Tight", Inter, system-ui, sans-serif;
  /* Figma body: Inter Regular 22 / 160% / 0 tracking */
  --tcf-body-size: 22px;
  --tcf-body-leading: 160%;
  --tcf-body-tracking: 0;
  --tcf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tcf-wp-admin-bar: 0px;
  /* Shared header control height — flag circle + MENÜÜ pill */
  --tcf-chrome-control-size: 49px;
  /* Homepage chrome inset from top (logo + lang/MENÜÜ) — more top air */
  --tcf-chrome-top: 3.25rem;
  /* Festivalist rhythm — sakid→title; title→body / body→next media */
  --tcf-gap-sakid-title: 3.5rem;
  --tcf-gap-title-next: 2.5rem;
}

/* Admin-bar: cancel WP html margin; shift chrome inside heroes (no body padding gap) */
html.admin-bar {
  margin-top: 0 !important;
}

body.admin-bar {
  --tcf-wp-admin-bar: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    --tcf-wp-admin-bar: 46px;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--tcf-font);
  font-weight: 400;
  font-size: var(--tcf-body-size);
  line-height: var(--tcf-body-leading);
  letter-spacing: var(--tcf-body-tracking);
  color: var(--tcf-text);
  background: var(--tcf-cream);
  -webkit-font-smoothing: antialiased;
}

/* Shared body/paragraph copy — Inter Regular 22px / 160% (not headings, pills, buttons) */
.tcf-body,
.tcf-festivalist__copy,
.tcf-social__copy > p,
.tcf-venue__copy > p,
.tcf-ticket-card__main > p,
.tcf-b2b-card > div > p,
.tcf-org-card--profexpo > p {
  font-family: var(--tcf-font);
  font-weight: 400;
  font-size: var(--tcf-body-size);
  line-height: var(--tcf-body-leading);
  letter-spacing: var(--tcf-body-tracking);
}

h1,
h2,
h3,
h4,
h5,
h6,
.tcf-title-pill,
.tcf-hero__date {
  font-family: var(--tcf-font-display);
  font-weight: 700;
  font-style: normal;
}

strong,
b {
  font-weight: 700;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.tcf-container {
  width: min(100% - 2.5rem, var(--tcf-container));
  margin-inline: auto;
}

.tcf-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .tcf-reveal {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.7s var(--tcf-ease), transform 0.7s var(--tcf-ease);
  }

  .tcf-reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  /* Collage: parent stays put; photos jump up on reveal */
  .tcf-collage.tcf-reveal {
    opacity: 1;
    transform: none;
  }

  .tcf-collage.tcf-reveal .tcf-collage__item {
    opacity: 0;
    transform: translate3d(0, 2.75rem, 0) var(--tcf-collage-rest, rotate(0deg));
    transition:
      opacity 0.45s var(--tcf-ease),
      transform 0.7s cubic-bezier(0.22, 1.35, 0.36, 1);
  }

  .tcf-collage.tcf-reveal.is-visible .tcf-collage__item {
    opacity: 1;
    transform: translate3d(0, 0, 0) var(--tcf-collage-rest, rotate(0deg));
  }

  .tcf-collage.tcf-reveal.is-visible .tcf-collage__item:nth-of-type(1) {
    transition-delay: 0.04s;
  }

  .tcf-collage.tcf-reveal.is-visible .tcf-collage__item:nth-of-type(2) {
    transition-delay: 0.14s;
  }

  .tcf-collage.tcf-reveal.is-visible .tcf-collage__item:nth-of-type(3) {
    transition-delay: 0.24s;
  }

  .tcf-collage.tcf-reveal .tcf-deco {
    opacity: 0;
    transition: opacity 0.55s var(--tcf-ease) 0.2s;
  }

  .tcf-collage.tcf-reveal.is-visible .tcf-deco {
    opacity: 1;
  }

  .tcf-title-pill {
    transition: transform 0.4s var(--tcf-ease);
  }

  .tcf-btn {
    transition: transform 0.25s var(--tcf-ease), background-color 0.25s, color 0.25s;
  }

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

  .tcf-card {
    transition: transform 0.35s var(--tcf-ease);
  }

  .tcf-card:hover {
    transform: translateY(-4px);
  }
}

/* --------------------------------------------------------------------------
   Buttons & pills
   -------------------------------------------------------------------------- */

.tcf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--tcf-radius-pill);
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tcf-btn--blue {
  background: var(--tcf-blue);
  color: var(--tcf-navy);
}

.tcf-btn--blue:hover {
  background: #93abd9;
}

.tcf-btn--terracotta {
  background: var(--tcf-terracotta);
  color: var(--tcf-white);
}

.tcf-btn--terracotta:hover {
  background: #8f3c24;
}

/* Empty URL CTAs / FB event — visible but not clickable */
.tcf-btn.is-disabled,
.tcf-ticket-card__price .tcf-btn.is-disabled,
.tcf-nav-overlay__ticket.is-disabled,
.tcf-nav-overlay__social-event.is-disabled,
.tcf-footer__social-event.is-disabled,
.tcf-social-icons__event.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.tcf-btn--navy {
  background: var(--tcf-navy);
  color: var(--tcf-white);
}

.tcf-title-pill {
  display: inline-block;
  margin: 0; /* kill h2 UA margins — Festivalist sakid→title rhythm */
  background: var(--tcf-white);
  color: #79311c; /* default terracotta; section modifiers override */
  padding: 0.7rem 1.65rem;
  border-radius: 1.15rem;
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em; /* Figma -3% */
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Homepage section titles — Inter Tight 700 / 112 / -3% */
.tcf-title-pill--section {
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 7.8vw, 7rem); /* → 112px */
  letter-spacing: -0.03em;
  text-align: center;
  color: #79311c;
  transform: rotate(2deg); /* default; --tilt / --tilt-r override */
}

/* Shared sticker metrics: homepage section pills + form-hero titles */
.tcf-title-pill--section,
.tcf-form-hero__title.tcf-title-pill,
.tcf-form-hero__title-en.tcf-title-pill {
  line-height: 0.62;
  padding: 0 0.34em 29px;
  min-height: 0;
  border-radius: 20px;
}

.tcf-title-pill--tilt {
  transform: rotate(-3deg);
}

.tcf-title-pill--tilt-r {
  transform: rotate(2.5deg);
}

.tcf-title-pill--brown {
  color: var(--tcf-brown);
}

.tcf-title-pill--green {
  color: var(--tcf-sage-dark);
}

.tcf-title-pill--blue {
  color: var(--tcf-blue-deep);
}

.tcf-section-head {
  text-align: center;
  margin-bottom: var(--tcf-gap-title-next);
}

/* --------------------------------------------------------------------------
   Scalloped “sakid” dividers (design lobe SVG, recolored via currentColor)
   -------------------------------------------------------------------------- */

.tcf-wave {
  display: block;
  width: 100%;
  /* Match sakid.svg 1440×128 aspect — tall U-lobes, not flat scallops */
  height: calc(100vw * 128 / 1440);
  min-height: 3.5rem;
  max-height: 8rem;
  line-height: 0;
  overflow: hidden;
  /* Sit flush on next section — kill hairline / wrong-color stripe */
  margin-bottom: -1px;
  position: relative;
  z-index: 1;
}

/* Waves are last child; section padding-bottom painted a colored bar under scallops */
section:has(> .tcf-wave) {
  padding-bottom: 0;
}

.tcf-wave svg {
  width: 100%;
  height: 100%;
  display: block;
  vertical-align: top;
}

.tcf-wave--up {
  transform: none; /* flip handled in SVG */
}

/* --------------------------------------------------------------------------
   Site header / menu
   -------------------------------------------------------------------------- */

.tcf-header {
  position: absolute;
  top: var(--tcf-wp-admin-bar);
  left: 0;
  right: 0;
  z-index: 40;
  padding: 1.25rem 0;
}

/* Form pages: one header flex row — brand left, lang/MENÜÜ right */
body:has(.tcf-form-hero) .tcf-header {
  padding-top: clamp(1.25rem, 2.8vw, 2.25rem);
  padding-bottom: 1.25rem;
}

/* Brand + lang + MENÜÜ — one flex row (homepage + form pages) */
.tcf-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.tcf-header__brand {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}

.tcf-header__brand .tcf-brand__logo {
  display: block;
  /* ~2× previous min(14rem, 38vw); homepage overrides with --tcf-hero-logo-w */
  width: min(28rem, 70vw);
  height: auto;
}

.tcf-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: auto;
  height: var(--tcf-chrome-control-size);
}

/* Homepage: fixed chrome — large logo at top, shrinks + stays sticky for whole page */
body:has(.tcf-intro-stack) .tcf-header__brand {
  visibility: visible;
  pointer-events: auto;
  position: fixed;
  top: calc(var(--tcf-wp-admin-bar) + var(--tcf-chrome-top));
  left: max(1.25rem, calc((100vw - var(--tcf-container)) / 2));
  z-index: 50;
  line-height: 0;
  transition: top 0.35s var(--tcf-ease);
}

body:has(.tcf-intro-stack) .tcf-header__brand .tcf-brand__logo {
  width: var(--tcf-hero-logo-w, min(28rem, 70vw));
  max-width: calc(100vw - 8rem);
  height: auto;
  transition: width 0.4s var(--tcf-ease);
}

body:has(.tcf-intro-stack) .tcf-header__actions {
  position: fixed;
  top: calc(var(--tcf-wp-admin-bar) + var(--tcf-chrome-top));
  right: max(1.25rem, calc((100vw - var(--tcf-container)) / 2));
  z-index: 50;
  margin-left: 0;
}

/* Compact sticky logo after scroll — no glass pill, just shrink + tuck */
body.is-tcf-scrolled:has(.tcf-intro-stack) .tcf-header__brand {
  top: calc(var(--tcf-wp-admin-bar) + 1rem);
}

body.is-tcf-scrolled:has(.tcf-intro-stack) .tcf-header__brand .tcf-brand__logo {
  width: min(9.5rem, 40vw);
}

@media (prefers-reduced-motion: reduce) {
  body:has(.tcf-intro-stack) .tcf-header__brand,
  body:has(.tcf-intro-stack) .tcf-header__brand .tcf-brand__logo {
    transition: none;
  }
}

.tcf-lang {
  box-sizing: border-box;
  width: var(--tcf-chrome-control-size);
  height: var(--tcf-chrome-control-size);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  line-height: 0;
}

.tcf-lang img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tcf-menu-btn {
  box-sizing: border-box;
  height: var(--tcf-chrome-control-size);
  min-height: var(--tcf-chrome-control-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--tcf-navy);
  /* Horizontal pad only; equal height with flag. Slight bottom pad = optical center for Ü */
  padding: 0 1.45rem 0.12em;
  border-radius: var(--tcf-radius-pill);
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 160%;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  vertical-align: middle;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(6px);
}

.tcf-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--tcf-cream);
  color: var(--tcf-navy);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--tcf-ease);
}

.tcf-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.tcf-nav-overlay__inner {
  height: 100%;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding:
    calc(var(--tcf-wp-admin-bar) + 1.15rem)
    clamp(1.25rem, 4vw, 2.5rem)
    1.35rem;
  box-sizing: border-box;
}

.tcf-nav-overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tcf-nav-overlay__label {
  font-family: var(--tcf-font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tcf-navy);
}

.tcf-nav-overlay__close {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  border: 1.5px solid rgba(27, 38, 59, 0.35);
  background: var(--tcf-white);
  color: var(--tcf-navy);
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  font-size: 1.65rem;
  font-weight: 400;
  box-shadow: 0 2px 10px rgba(27, 38, 59, 0.06);
}

.tcf-nav-overlay__close:hover {
  border-color: var(--tcf-navy);
}

.tcf-nav-overlay__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 2.8vh, 1.85rem);
  text-align: center;
  padding: 1rem 0;
}

.tcf-nav-overlay__link {
  font-family: var(--tcf-font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--tcf-navy);
  transition: color 0.25s var(--tcf-ease);
}

.tcf-nav-overlay__link.is-active,
.tcf-nav-overlay__link:hover,
.tcf-nav-overlay__link:focus-visible {
  color: var(--tcf-blue);
}

.tcf-nav-overlay__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(27, 38, 59, 0.12);
}

.tcf-nav-overlay__social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.tcf-nav-overlay__social-btn {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: var(--tcf-navy);
  display: grid;
  place-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.tcf-nav-overlay__social-btn img {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.tcf-nav-overlay__social-event {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 2.55rem;
  min-height: 2.55rem;
  max-height: 2.55rem;
  padding: 0 0.95rem;
  border-radius: var(--tcf-radius-pill);
  background: var(--tcf-navy);
  color: var(--tcf-white);
  font-family: var(--tcf-font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.tcf-nav-overlay__social-event img {
  display: block;
  flex-shrink: 0;
  width: 0.85rem;
  height: 0.85rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.tcf-nav-overlay__social-event span {
  display: block;
  line-height: 1;
  white-space: nowrap;
}

.tcf-nav-overlay__ticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.75rem 1.45rem;
  border-radius: var(--tcf-radius-pill);
  background: var(--tcf-blue);
  color: var(--tcf-navy);
  font-family: var(--tcf-font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(127, 154, 207, 0.35);
  transition: transform 0.25s var(--tcf-ease), background-color 0.25s;
}

.tcf-nav-overlay__ticket:hover {
  background: #93abd9;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .tcf-nav-overlay__bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .tcf-nav-overlay__social {
    justify-content: center;
  }

  .tcf-nav-overlay__ticket {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

/*
 * Height-aware hero type on body so fixed header logo + intro stack both inherit.
 * Tall desktop stays near previous rem/vw caps; short windows shrink via vh.
 */
body:has(.tcf-intro-stack) {
  --tcf-hero-logo-w: min(28rem, 70vw, 40vh);
  --tcf-hero-date-size: clamp(2.25rem, min(8.33vw, 11vh), 7.5rem);
  --tcf-hero-venue-size: clamp(1.125rem, min(3.75vw, 5vh), 3.375rem);
  --tcf-hero-content-gap: clamp(0.75rem, 2vh, 1.5rem);
  --tcf-hero-content-pad-extra: clamp(2rem, 6vh, 5rem);
}

/* Short browser windows: tuck chrome + tighten hero stack further */
@media (max-height: 720px) {
  body:has(.tcf-intro-stack) {
    --tcf-chrome-top: 1.75rem;
    --tcf-hero-logo-w: min(22rem, 62vw, 34vh);
    --tcf-hero-date-size: clamp(2rem, min(7.5vw, 9.5vh), 5.5rem);
    --tcf-hero-venue-size: clamp(1.05rem, min(3.4vw, 4.4vh), 2.5rem);
    --tcf-hero-content-gap: clamp(0.55rem, 1.5vh, 1rem);
    --tcf-hero-content-pad-extra: clamp(1.35rem, 4vh, 3rem);
  }
}

@media (max-height: 640px) {
  body:has(.tcf-intro-stack) {
    --tcf-chrome-top: 1.25rem;
    --tcf-hero-logo-w: min(16rem, 55vw, 28vh);
    --tcf-hero-date-size: clamp(1.75rem, min(6.5vw, 8vh), 3.75rem);
    --tcf-hero-venue-size: clamp(1rem, min(3vw, 3.75vh), 1.85rem);
    --tcf-hero-content-pad-extra: clamp(1rem, 3vh, 2rem);
  }
}

/* Intro stack: sticky video pins; Festivalist+sakid ride over; chrome fixed sitewide */
.tcf-intro-stack {
  --tcf-sakid-h: calc(100vw * 128 / 1440);
  /* Taller pin → sakid + date/venue/CTA sit lower (more hero air) */
  --tcf-hero-h: min(100svh, 64rem);
  position: relative;
  isolation: isolate;
}

/* Sticky pin: video + logo/dates/venue/CTA stay put; Festivalist rides over */
.tcf-hero-pin {
  position: sticky;
  top: 0;
  z-index: 0;
  height: var(--tcf-hero-h);
  overflow: hidden;
}

.tcf-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #5a4038 center / cover no-repeat;
}

.tcf-hero__ui {
  position: absolute;
  inset: 0;
  z-index: 4;
  color: var(--tcf-white);
  pointer-events: none;
}

.tcf-hero {
  position: relative;
  z-index: 1;
  /* Overlay the sticky pin frame (spacer for sticky containment) */
  margin-top: calc(-1 * var(--tcf-hero-h));
  min-height: var(--tcf-hero-h);
  overflow: visible;
  background: transparent;
  pointer-events: none;
}

.tcf-hero__poster,
.tcf-hero__media picture,
.tcf-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.tcf-hero__poster {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tcf-hero__media img {
  object-fit: cover;
  object-position: 70% center;
}

/* Full-bleed muted self-hosted loop (cover) behind logo/CTA — no player chrome */
.tcf-hero__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.tcf-hero__video-el,
.tcf-hero__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  border: 0;
  pointer-events: none;
  /* Kill any native media UI chrome */
  -webkit-appearance: none;
}

.tcf-hero__video-el::-webkit-media-controls,
.tcf-hero__video-el::-webkit-media-controls-enclosure,
.tcf-hero__video video::-webkit-media-controls,
.tcf-hero__video video::-webkit-media-controls-enclosure {
  display: none !important;
  -webkit-appearance: none;
}

@media (prefers-reduced-motion: reduce) {
  .tcf-hero__video {
    display: none;
  }
}

/* Spec: #121110 @ 40% → rgba(18, 17, 16, 0.4) — flat wash, not a gradient */
.tcf-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(18, 17, 16, 0.4);
  /* Shield: block any stray hits to media under the wash */
  pointer-events: auto;
}

/* Hero brand: spacer only — real logo is fixed in .tcf-header__brand */
.tcf-hero__brand {
  position: absolute;
  top: calc(var(--tcf-wp-admin-bar) + var(--tcf-chrome-top));
  left: max(1.25rem, calc((100vw - var(--tcf-container)) / 2));
  z-index: 5;
  width: min(100% - 2.5rem, var(--tcf-container));
  margin: 0;
  line-height: 0;
  visibility: hidden;
  pointer-events: none;
}

.tcf-hero__brand .tcf-brand__logo {
  display: block;
  width: var(--tcf-hero-logo-w, min(28rem, 70vw));
  max-width: 100%;
  height: auto;
}

.tcf-brand__logo {
  display: block;
  width: min(28rem, 70vw);
  max-width: 100%;
  height: auto;
}

/* Date + venue + CTA — left-aligned; rides lower with taller hero / sakid */
.tcf-hero__content {
  position: absolute;
  left: max(1.25rem, calc((100vw - var(--tcf-container)) / 2));
  bottom: 0;
  z-index: 4;
  pointer-events: auto;
  padding: 0 0 calc(var(--tcf-sakid-h) + var(--tcf-hero-content-pad-extra, 5rem));
  width: min(100% - 2.5rem, var(--tcf-container));
  text-align: left;
}

/* Hero date line — Inter Tight 700 / 120 / LH 90% (vh-capped on short windows) */
.tcf-hero__date {
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: var(--tcf-hero-date-size, clamp(2.5rem, 8.33vw, 7.5rem)); /* → 120px tall */
  line-height: 90%;
  letter-spacing: 0;
  margin: 0 0 0.35rem;
}

/* Hero venue under date — Inter 400 / 54 / LH 120% (vh-capped on short windows) */
.tcf-hero__venue {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: var(--tcf-hero-venue-size, clamp(1.25rem, 3.75vw, 3.375rem)); /* → 54px tall */
  line-height: 120%;
  letter-spacing: 0;
  margin: 0 0 var(--tcf-hero-content-gap, 1.5rem);
  opacity: 0.95;
}

/* Sakid rides with Festivalist (over hero), not stuck to hero */
.tcf-festivalist__sakid {
  position: absolute;
  left: 0;
  right: 0;
  /* +2px dock into section body — same hairline fix as kava/voistlused/ticket/info */
  top: calc(var(--tcf-sakid-h) * -1 + 2px);
  z-index: 3;
  line-height: 0;
  pointer-events: none;
  overflow: visible;
}

.tcf-festivalist__sakid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 128;
  object-fit: fill;
}

/* --------------------------------------------------------------------------
   Festivalist
   -------------------------------------------------------------------------- */

.tcf-festivalist {
  --tcf-sakid-h: calc(100vw * 128 / 1440);
  background: var(--tcf-blue);
  color: var(--tcf-navy);
  position: relative;
  z-index: 2;
  /* No negative margin — blue starts below hero; sakid peaks into video above */
  margin-top: 0;
  padding-top: var(--tcf-gap-sakid-title);
  box-shadow: 0 -24px 48px rgba(27, 38, 59, 0.12);
}

/* Blue fill bleed under sakid dock — covers Edge subpixel hairline */
.tcf-festivalist::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--tcf-blue);
  z-index: 2;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .tcf-hero-pin {
    position: relative;
  }

  .tcf-hero {
    margin-top: 0;
    min-height: 0;
  }

  .tcf-festivalist {
    box-shadow: none;
  }

  .tcf-festivalist__sakid {
    position: relative;
    top: 0;
  }
}

.tcf-festivalist .tcf-title-pill {
  margin: 0;
  color: #1b263b;
}

.tcf-festivalist__copy {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.tcf-festivalist__copy p {
  margin: 0;
}

.tcf-festivalist__copy p + p {
  margin-top: 1rem;
}

.tcf-collage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  /* Tuck under next block (.tcf-festival-wide) so collage peeks from behind */
  margin-bottom: -80px;
  align-items: end;
  /* Room for slight item rotations + overlapping sides */
  padding: 0.75rem 1.5rem 1rem;
  /* Do not overflow:hidden here — saucer must peek under .tcf-festival-wide */
}

.tcf-collage__item {
  --tcf-collage-rest: rotate(0deg);
  border-radius: var(--tcf-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #6b7fad;
  /* Press photos together (Figma crowded collage) */
  margin: 0 -2rem;
  transform: var(--tcf-collage-rest);
}

/* L→R: rotate / portrait / rotate — items are the only divs in .tcf-collage */
.tcf-collage__item:nth-of-type(1) {
  --tcf-collage-rest: rotate(-4.28deg);
  z-index: 1;
}

.tcf-collage__item:nth-of-type(2) {
  --tcf-collage-rest: scale(0.8);
  aspect-ratio: 3 / 4;
  z-index: 2;
  transform-origin: bottom center;
}

.tcf-collage__item:nth-of-type(3) {
  --tcf-collage-rest: rotate(3.98deg);
  z-index: 1;
}

.tcf-collage__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tcf-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  height: auto;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.tcf-deco--bean {
  top: 10.75rem;
  left: 6.25rem;
  width: clamp(4.5rem, 9vw, 7rem);
  transform: translate3d(var(--tcf-px, 0px), var(--tcf-py, 0px), 0) rotate(12.98deg);
  z-index: 0;
}

.tcf-deco--flower {
  top: 122px;
  /* Stay inside collage — negative right + parallax X was overflowing the viewport */
  right: 0;
  width: min(351px, 42%);
  height: auto;
  transform: translate3d(var(--tcf-px, 0px), var(--tcf-py, 0px), 0);
  z-index: 0;
}

.tcf-deco--saucer {
  left: 64%;
  bottom: -5.25rem;
  width: 300px;
  height: auto;
  transform: translate3d(calc(-35% + var(--tcf-px, 0px)), var(--tcf-py, 0px), 0);
  z-index: 3;
}

/* Full-bleed auto slider — Figma 1440×479, dash pagination */
.tcf-festival-wide {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #1a1a1a;
}

.tcf-festival-wide__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 479;
  overflow: hidden;
}

.tcf-festival-wide__track {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
}

.tcf-festival-wide__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  z-index: 0;
  /* Soft crossfade: longer + ease-in-out (outgoing stays under incoming) */
  transition: opacity 1.25s cubic-bezier(0.45, 0, 0.55, 1);
  pointer-events: none;
  will-change: opacity;
}

.tcf-festival-wide__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .tcf-festival-wide__slide {
    transition: none;
    will-change: auto;
  }
}

.tcf-festival-wide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tcf-festival-wide__dots {
  position: absolute;
  left: 50%;
  bottom: clamp(0.75rem, 2vw, 1.25rem);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.tcf-festival-wide__dot {
  display: block;
  width: 1.35rem;
  height: 2px;
  padding: 0;
  border: 0;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.35s var(--tcf-ease), background-color 0.35s var(--tcf-ease);
}

.tcf-festival-wide__dot.is-active {
  width: 2.35rem;
  background: #fff;
}

.tcf-festival-wide__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Stats + Kava stack (sticky stats; kava+sakid ride over — same idea as hero)
   -------------------------------------------------------------------------- */

.tcf-stats-stack {
  --tcf-sakid-h: calc(100vw * 128 / 1440);
  position: relative;
  isolation: isolate;
}

.tcf-stats {
  background: var(--tcf-sage);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 calc(var(--tcf-sakid-h) + 1.5rem);
  position: sticky;
  top: 0;
  z-index: 0;
  overflow: hidden;
}

.tcf-stats__stage {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 3.5rem;
  min-height: clamp(18rem, 32vw, 26rem);
}

.tcf-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  align-items: start;
  justify-items: center;
  position: relative;
  z-index: 2;
  /* Was 58rem — three 380px cards overlapped heavily; use full container */
  max-width: 100%;
  margin-inline: auto;
}

.tcf-stats__deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dark sage recolor for bean / saucer SVGs */
.tcf-stats__bean {
  /* green_bean.svg already has native sage fill */
  height: auto;
}

.tcf-stats__pile {
  height: auto;
}

.tcf-stats__bean--1 {
  width: clamp(3.25rem, 6.5vw, 5.25rem);
  top: 2.25rem;
  /* nudged further right from clamp(2%, 8%, 12%) */
  left: clamp(8%, 16%, 22%);
  transform: translate3d(var(--tcf-px, 0px), var(--tcf-py, 0px), 0) rotate(233deg);
  z-index: 3;
}

.tcf-stats__bean--2 {
  width: clamp(5rem, 10vw, 8.5rem);
  bottom: -5.5rem;
  right: clamp(4%, 30%, 46%);
  transform: translate3d(var(--tcf-px, 0px), var(--tcf-py, 0px), 0) rotate(19deg);
  z-index: 3;
}

.tcf-stats__pile {
  /* 3× previous clamp(5rem, 9vw, 7.5rem) */
  width: clamp(15rem, 27vw, 22.5rem);
  top: 39%;
  left: 19%;
  transform: translate3d(var(--tcf-px, 0px), var(--tcf-py, 0px), 0);
  z-index: 0;
  opacity: 0.95;
}

/* Semi-circle / bowl behind center card */
.tcf-stats__bowl {
  /* bowl_roheline.svg — 2× earlier CSS bowl size */
  width: clamp(11rem, 20vw, 16rem);
  height: auto;
  top: 6%;
  right: 19%;
  transform: translate3d(var(--tcf-px, 0px), var(--tcf-py, 0px), 0);
  z-index: 3;
}

.tcf-stat-card {
  --tcf-card-rot: 0deg;
  --tcf-card-y: 0px;
  width: min(380px, 100%);
  background: var(--tcf-white);
  border-radius: 1.35rem;
  padding: clamp(1.75rem, 3vw, 2.6rem) clamp(1rem, 2vw, 1.5rem);
  text-align: center;
  color: var(--tcf-sage-dark);
  position: relative;
  z-index: 2;
  box-shadow: 0 14px 36px rgba(27, 59, 30, 0.1);
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translate3d(var(--tcf-px, 0px), calc(var(--tcf-card-y) + var(--tcf-py, 0px)), 0) rotate(var(--tcf-card-rot));
}

/* Slight stagger + tilt — softer Y so cards don’t feel piled after spread */
.tcf-stat-card--1 {
  --tcf-card-rot: -5deg;
  --tcf-card-y: 2.85rem;
}

.tcf-stat-card--2 {
  --tcf-card-rot: 0deg;
  --tcf-card-y: 0.55rem;
}

.tcf-stat-card--3 {
  --tcf-card-rot: 4deg;
  --tcf-card-y: 4.85rem;
}

/* Figma: Lab Grotesque 700 / 88 / 100% */
.tcf-stat-card__num {
  font-family: var(--tcf-font-display);
  font-size: clamp(2.75rem, 6.2vw, 5.5rem); /* → 88px */
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: var(--tcf-sage-dark);
  display: block;
}

/* Tracking 0% — was 0.15em; keep selector specific so nothing re-widens it */
.tcf-stats .tcf-stat-card .tcf-stat-card__label {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--tcf-font-display);
  font-size: clamp(0.95rem, 2.2vw, 2rem); /* → 32px */
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  color: var(--tcf-text);
}

/* --------------------------------------------------------------------------
   Kava
   -------------------------------------------------------------------------- */

.tcf-kava {
  --tcf-sakid-h: calc(100vw * 128 / 1440);
  background: var(--tcf-cream);
  color: var(--tcf-navy);
  position: relative;
  z-index: 2;
  margin-top: 0;
  /* Sakid→title = Festivalist; bottom = sakid peek + body→next clearance */
  padding: var(--tcf-gap-sakid-title) 0
    calc(var(--tcf-sakid-h) + var(--tcf-gap-title-next));
  box-shadow: 0 -24px 48px rgba(27, 38, 59, 0.1);
}

/* Same sakid asset/CSS as Festivalist (cream twin = kava bg); +2px dock kills hairline */
.tcf-kava__sakid {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--tcf-sakid-h) * -1 + 2px);
  z-index: 3;
  line-height: 0;
  pointer-events: none;
  overflow: visible;
}

.tcf-kava__sakid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 128;
  object-fit: fill;
}

@media (prefers-reduced-motion: reduce) {
  .tcf-stats {
    position: relative;
  }

  .tcf-kava {
    box-shadow: none;
  }

  .tcf-kava__sakid {
    position: relative;
    top: 0;
  }
}


.tcf-kava .tcf-title-pill {
  color: #1b263b;
}

.tcf-kava__placeholder {
  max-width: 40rem;
  margin: 0 auto 40px;
  text-align: center;
  padding: 0;
}

.tcf-kava__placeholder-lead {
  margin: 0;
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: var(--tcf-navy);
}

.tcf-kava__placeholder-sub {
  margin: 0.85rem 0 0;
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: #706b64;
}

.tcf-kava__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.tcf-kava__day-title {
  font-family: "Lab Grotesque", "Inter Tight", sans-serif; /* Lab when available */
  font-weight: 400;
  font-size: 28px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--tcf-navy);
  margin: 0 0 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid #e6dfd5;
}

.tcf-event {
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(27, 38, 59, 0.12);
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  column-gap: 0.85rem;
  row-gap: 0.2rem;
}

.tcf-event:last-child {
  border-bottom: 0;
}

.tcf-event__time {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--tcf-font-display);
  font-size: 0.92rem;
  color: var(--tcf-navy);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

h4.tcf-event__title {
  grid-column: 2;
  grid-row: 1;
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--tcf-navy);
  margin: 0;
}

.tcf-event__desc {
  grid-column: 2;
  grid-row: 2;
  margin: 0.15rem 0 0;
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
  color: #706b64;
}

.tcf-event__loc {
  grid-column: 2;
  grid-row: 3;
  margin: 0.35rem 0 0;
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  color: #6c6122;
}

/* --------------------------------------------------------------------------
   Võistlused
   -------------------------------------------------------------------------- */

.tcf-voistlused {
  --tcf-sakid-h: calc(100vw * 128 / 1440);
  background: var(--tcf-navy);
  color: var(--tcf-white);
  position: relative;
  z-index: 2;
  /* Sakid→title = Festivalist; keep air under cards for ticket sakid peek */
  padding: var(--tcf-gap-sakid-title) 0 calc(var(--tcf-sakid-h) + 4.5rem);
}

/* Same sakid.svg lobes as Festivalist/kava; navy fill = section bg */
.tcf-voistlused__sakid {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--tcf-sakid-h) * -1 + 2px);
  z-index: 3;
  line-height: 0;
  pointer-events: none;
  overflow: visible;
}

.tcf-voistlused__sakid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 128;
  object-fit: fill;
}

@media (prefers-reduced-motion: reduce) {
  .tcf-voistlused__sakid {
    position: relative;
    top: 0;
  }
}

.tcf-voistlused .tcf-title-pill {
  color: var(--tcf-blue);
}

.tcf-voistlused__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.tcf-comp-card {
  /* Navy under media so antialias fringe matches section (no white hairline) */
  background: var(--tcf-navy);
  color: var(--tcf-text);
  border-radius: var(--tcf-radius-lg);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.tcf-comp-card__media {
  aspect-ratio: 16 / 10;
  background: var(--tcf-navy);
  overflow: hidden;
  border-radius: var(--tcf-radius-lg) var(--tcf-radius-lg) 0 0;
}

.tcf-comp-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.tcf-comp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  border-radius: inherit;
  display: block;
}

/* Alina / cupping — face sits higher in the frame */
.tcf-comp-card--cupping .tcf-comp-card__media img {
  object-position: center top;
}

.tcf-comp-card--cupping .tcf-winner__avatar img {
  object-position: center 5%;
}

.tcf-comp-card__body {
  background: var(--tcf-white);
  padding: 1.5rem 1.5rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tcf-comp-card__body h3 {
  margin: 0 0 0.75rem;
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0;
  color: #1f1e1c;
}

.tcf-comp-card__body p {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 160%;
  letter-spacing: 0;
  color: #706b64;
  flex: 1;
}

.tcf-winner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.tcf-winner__avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #9bb0d8, #5c76d1);
  flex-shrink: 0;
  overflow: hidden;
}

.tcf-winner__avatar picture {
  display: block;
  width: 100%;
  height: 100%;
}

.tcf-winner__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.tcf-winner__label {
  display: block;
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #d9d9d9;
}

.tcf-winner__name {
  display: block;
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0;
  color: #1f1e1c;
}

.tcf-winner__country {
  display: block;
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: 0;
  color: #706b64;
}

.tcf-comp-card__link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--tcf-blue-deep);
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--tcf-white);
  cursor: pointer;
}

.tcf-comp-card__link-hide {
  display: none;
}

.tcf-comp-card.is-winners-open .tcf-comp-card__link-show {
  display: none;
}

.tcf-comp-card.is-winners-open .tcf-comp-card__link-hide {
  display: inline;
}

.tcf-past-winners {
  display: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.tcf-comp-card.is-winners-open .tcf-past-winners {
  display: block;
}

.tcf-past-winners__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tcf-past-winners__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(31, 30, 28, 0.12);
}

.tcf-past-winners__list li:last-child {
  border-bottom: 0;
}

.tcf-past-winners__who {
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  color: #1f1e1c;
}

.tcf-past-winners__country {
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  color: #706b64;
  flex-shrink: 0;
}

.tcf-comp-sponsors {
  margin-top: 3.5rem;
  padding: 1.75rem 1.25rem 0;
  text-align: center;
}

.tcf-comp-sponsors__label {
  font-family: var(--tcf-font-display); /* Lab Grotesque → Inter Tight */
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: normal;
  text-align: center;
  text-transform: uppercase;
  color: var(--tcf-blue);
  margin-bottom: 2.25rem;
}

.tcf-logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3.25rem;
  align-items: center;
}

.tcf-logo-row img {
  height: 2.75rem;
  width: auto;
  max-width: 9rem;
  object-fit: contain;
}

/* Competition strip logos are already white PNGs */
.tcf-comp-sponsors .tcf-logo-row img {
  filter: none;
  opacity: 1;
  height: clamp(2.5rem, 4.5vw, 3.5rem);
  max-width: min(12rem, 30vw);
}

/* Competition strip Brita — white transparent PNG (no invert) */
.tcf-comp-sponsors .tcf-logo-row img.tcf-logo-row__brita {
  filter: none;
  opacity: 1;
  height: clamp(2.1rem, 3.8vw, 2.85rem);
  max-width: min(11rem, 28vw);
}

.tcf-comp-sponsors .tcf-logo-row img.tcf-logo-row__caffebo {
  height: clamp(3.75rem, 7vw, 5.5rem);
  max-width: min(17rem, 44vw);
}

.tcf-logo-row span {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Ticket
   -------------------------------------------------------------------------- */

.tcf-ticket {
  --tcf-sakid-h: calc(100vw * 128 / 1440);
  background: var(--tcf-terracotta);
  position: relative;
  z-index: 2;
  padding: var(--tcf-gap-sakid-title) 0 90px;
}

/* Brown/terracotta sakid — same lobes as Festivalist/kava; fill = ticket bg */
.tcf-ticket__sakid {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--tcf-sakid-h) * -1 + 2px);
  z-index: 3;
  line-height: 0;
  pointer-events: none;
  overflow: visible;
}

.tcf-ticket__sakid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 128;
  object-fit: fill;
}

@media (prefers-reduced-motion: reduce) {
  .tcf-ticket__sakid {
    position: relative;
    top: 0;
  }
}

.tcf-ticket-card {
  --tcf-ticket-hole: 32px;
  --tcf-ticket-notch: 46px;
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  background: var(--tcf-white);
  border-radius: var(--tcf-radius-lg);
  overflow: visible;
  position: relative;
  /* Side gutter must clear half-notch (~23px) or notches widen the page */
  width: min(100% - 3.5rem, var(--tcf-container));
  max-width: none;
  margin-inline: auto;
  isolation: isolate;
}

.tcf-ticket-card__main {
  padding: clamp(2rem, 4vw, 3rem) clamp(1.75rem, 3vw, 2.75rem);
  border-radius: var(--tcf-radius-lg) 0 0 var(--tcf-radius-lg);
  background: var(--tcf-white);
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Same Inter Tight section sticker as Festivalist; color #79311C; pink fill */
.tcf-ticket-card__title.tcf-title-pill {
  color: #79311c;
  background: var(--tcf-pink);
  box-shadow: none;
  margin: 0 0 1.25rem;
  /* Explicit sticker metrics (shared with .tcf-title-pill--section) */
  line-height: 0.62;
  padding: 0 0.34em 29px;
  min-height: 0;
  border-radius: 20px;
}

/* Figma: Inter 400 / 22 / LH 160% / #1F1E1C — centered */
.tcf-ticket-card__main p {
  margin: 0;
  color: #1f1e1c;
  max-width: 36rem;
  text-align: center;
}

.tcf-ticket-card__price {
  background: var(--tcf-pink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  padding: clamp(2rem, 3.5vw, 2.75rem);
  position: relative;
  z-index: 1;
  border-radius: 0 var(--tcf-radius-lg) var(--tcf-radius-lg) 0;
}

/* Perforation: 5×32 holes + 46 edge notches (Figma vertical tear) */
.tcf-ticket-card__perf {
  position: absolute;
  left: 0;
  top: calc(var(--tcf-ticket-notch) / -2);
  bottom: calc(var(--tcf-ticket-notch) / -2);
  width: var(--tcf-ticket-notch);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.tcf-ticket-card__perf-hole,
.tcf-ticket-card__perf-notch {
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--tcf-terracotta);
}

.tcf-ticket-card__perf-hole {
  width: var(--tcf-ticket-hole);
  height: var(--tcf-ticket-hole);
}

.tcf-ticket-card__perf-notch {
  width: var(--tcf-ticket-notch);
  height: var(--tcf-ticket-notch);
}

.tcf-ticket-card__amount {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  color: #1f1e1c;
}

/* Figma: Lab Grotesque 700 / 120 / LH ~115% / #79311C */
.tcf-ticket-card__price-num {
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: clamp(3.5rem, 8.33vw, 7.5rem); /* → 120px */
  line-height: 115%;
  letter-spacing: 0;
  color: #79311c;
}

/* Figma: Lab Grotesque 700 / 32 / LH 100% / #1F1E1C */
.tcf-ticket-card__price-cur {
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0;
  color: #1f1e1c;
}

/* CTA: same as hero (.tcf-btn letter-spacing already 0) */
.tcf-ticket-card__price .tcf-btn {
  letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   Visitor info — left copy + full-bleed-right photo
   -------------------------------------------------------------------------- */

.tcf-info {
  --tcf-sakid-h: calc(100vw * 128 / 1440);
  background: var(--tcf-sage);
  padding: 0;
  color: var(--tcf-sage-dark);
  overflow: visible;
  position: relative;
  z-index: 2;
}

.tcf-info__layout {
  display: grid;
  grid-template-columns: minmax(18rem, 34rem) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  /* Align left column with site container; photo column flush to viewport right */
  padding-left: max(1.25rem, calc((100vw - var(--tcf-container)) / 2));
  min-height: clamp(28rem, 48vw, 38rem);
}

.tcf-info__copy {
  position: relative;
  z-index: 2;
  /* Top = Festivalist sakid→title; bottom clears pink sakid lobes */
  padding: var(--tcf-gap-sakid-title) clamp(1rem, 2.5vw, 2rem)
    calc(var(--tcf-sakid-h) + var(--tcf-gap-title-next)) 0;
  overflow: visible;
}

.tcf-info__head {
  text-align: left;
  margin: 0 0 var(--tcf-gap-title-next);
  position: relative;
  z-index: 3;
  /* Bleed title pill onto the photo column */
  width: max-content;
  max-width: none;
  margin-right: calc(-1 * clamp(4rem, 12vw, 10rem));
}

/* One line; overlaps photo */
.tcf-info__head .tcf-title-pill {
  white-space: nowrap;
  display: inline-block;
  margin: 0;
}

.tcf-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.tcf-info-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-weight: 400;
}

.tcf-info-list strong {
  font-weight: 700;
}

.tcf-info-list .icon,
.tcf-info-list__icon {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--tcf-sage-dark);
  position: relative;
  display: inline-grid;
  place-items: center;
  line-height: 0;
}

.tcf-info-list__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Dog + slash: line sits on top of dog SVG */
.tcf-info-list__icon--dog {
  width: 1.55rem;
  height: 1.55rem;
}

.tcf-info-list__icon--dog .tcf-info-list__icon-line {
  position: absolute;
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
}

.tcf-info-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tcf-info__media {
  position: relative;
  z-index: 1;
  width: 100%;
  justify-self: stretch;
  align-self: stretch;
  margin: 0;
  min-height: 100%;
  /* Beans / parallax stay inside the photo column */
  overflow: hidden;
}

.tcf-info__photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
}

.tcf-info__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Two sage beans on photo — ~4× and ~2× base; scroll float via --tcf-px/py */
.tcf-info__bean {
  position: absolute;
  left: 50%;
  height: auto;
  opacity: 0.95;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(27, 59, 30, 0.12));
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.tcf-info__bean--lg {
  width: clamp(12rem, 32vw, 18rem); /* ~4× ~4rem base */
  bottom: -0.5rem;
  left: 70%;
  transform: translate3d(calc(-50% + var(--tcf-px, 0px)), var(--tcf-py, 0px), 0) rotate(8deg);
}

.tcf-info__bean--md {
  width: clamp(6rem, 16vw, 9rem); /* ~2× ~4rem base */
  bottom: 30%;
  left: 40%;
  transform: translate3d(calc(-35% + var(--tcf-px, 0px)), var(--tcf-py, 0px), 0) rotate(329deg);
}

/* Pink sakid — Festivalist lobe SVG twin; docked up into layout */
.tcf-info__sakid {
  position: relative;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
  margin-top: calc(var(--tcf-sakid-h) * -1 + 2px);
  overflow: visible;
}

.tcf-info__sakid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 128;
  object-fit: fill;
}

@media (prefers-reduced-motion: reduce) {
  .tcf-info__sakid {
    margin-top: 0;
  }
}

/* --------------------------------------------------------------------------
   Sponsors + participants
   -------------------------------------------------------------------------- */

.tcf-sponsors,
.tcf-osalejad {
  background: var(--tcf-pink);
  color: var(--tcf-brown);
  padding: var(--tcf-gap-sakid-title) 0 1rem;
}

.tcf-sponsors {
  padding-top: 45px;
}

.tcf-osalejad {
  padding-top: var(--tcf-gap-sakid-title);
  padding-bottom: 0;
  overflow: visible; /* allow B2B flower to peek into logo grid */
}

.tcf-osalejad h2 {
  color: #79311c;
}

.tcf-sponsors__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  overflow: visible;
  align-items: start;
}

.tcf-sponsors .tcf-section-head {
  margin-bottom: var(--tcf-gap-title-next);
}

.tcf-sponsors h2 {
  color: #79311c;
}

.tcf-quote-card {
  background: var(--tcf-white);
  border-radius: var(--tcf-radius-lg);
  padding: 2rem 1.75rem;
}

/* Farmi is first direct card; Brita is wrapped in .tcf-quote-card-slot */
.tcf-sponsors__grid > .tcf-quote-card:first-child {
  transform: rotate(-1.5deg);
}

.tcf-quote-card-slot--brita {
  position: relative;
  z-index: 0;
}

.tcf-quote-card-slot--brita .tcf-quote-card {
  position: relative;
  z-index: 1;
  transform: rotate(1.5deg);
}

/* Brown bean peeking from behind Brita card (bottom-right) */
.tcf-quote-card__bean {
  position: absolute;
  right: clamp(-1.75rem, -3vw, -0.75rem);
  bottom: clamp(-1.5rem, -2.5vw, -0.65rem);
  width: clamp(3.75rem, 9vw, 5.75rem);
  height: auto;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  transform: rotate(28deg);
}

.tcf-quote-card__logo {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.tcf-quote-card__logo img {
  height: 160px;
  max-height: 160px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.tcf-quote-card__logo--farmi img {
  height: 160px;
  max-height: 160px;
  max-width: 100%;
}

/* Official BRITA wordmark (wide) — large but keep aspect */
.tcf-quote-card__logo--brita img {
  height: auto;
  width: min(100%, 14rem);
  max-height: none;
  max-width: 100%;
  object-fit: contain;
}

.tcf-quote-card__logo--brita {
  min-height: 7rem;
}

/* Quote: Lab 400 / 24 / LH 150% / LS 0 */
.tcf-quote-card blockquote {
  margin: 0 0 1.25rem;
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 150%;
  letter-spacing: 0;
  color: var(--tcf-brown);
}

/* Name: Lab 700 / 20 / LH 100% / LS 0 */
.tcf-quote-card cite {
  display: block;
  font-style: normal;
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--tcf-brown);
}

/* Role: Lab 400 / 16 / LH 100% / LS 0 / #7F9ACF */
.tcf-quote-card cite span {
  display: block;
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  color: #7f9acf;
  margin-top: 0.35rem;
}

.tcf-osalejad-grid {
  position: relative;
  z-index: 2; /* above B2B flower backdrop */
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.65rem;
}

.tcf-osaleja {
  aspect-ratio: 1;
  background: var(--tcf-white);
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--tcf-navy);
  letter-spacing: 0.02em;
  padding: 0.55rem;
  overflow: hidden;
}

.tcf-osaleja img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   B2B (inside .tcf-osalejad — inherit pink, no separate band)
   -------------------------------------------------------------------------- */

.tcf-b2b {
  background: transparent;
  padding: 2.5rem 0 90px;
  color: var(--tcf-brown);
  position: relative;
  overflow: visible;
}

.tcf-b2b__stage {
  position: relative;
  z-index: 1;
}

/* Terracotta flower (#79311C) — behind card + logo row, right side */
.tcf-b2b__flower {
  position: absolute;
  right: clamp(-1.5rem, -2vw, 0rem);
  top: 0;
  width: clamp(12rem, 28vw, 22rem);
  height: auto;
  transform: translateY(-42%);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.tcf-b2b-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
  background: var(--tcf-white);
  border: 1px solid rgba(70, 43, 44, 0.08);
  border-radius: var(--tcf-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 16px 40px rgba(70, 43, 44, 0.06);
}

/* “Tule oma ettevõttega…” — Lab 700 / 56 / LH 110% / tracking -2% */
.tcf-b2b-card h2 {
  margin: 0;
  padding-right: 15%;
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 110%;
  letter-spacing: -0.02em;
  color: var(--tcf-terracotta);
}

.tcf-b2b-card p {
  margin: 0 0 1.25rem;
  color: var(--tcf-brown);
}

/* “Võta meiega ühendust” — Lab 700 / 18 / LH 100% / LS 1% / #FAF6F0 */
.tcf-b2b-card .tcf-btn {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #faf6f0;
}

/* --------------------------------------------------------------------------
   Social
   -------------------------------------------------------------------------- */

.tcf-social {
  background: var(--tcf-blue);
  color: var(--tcf-navy);
  padding: var(--tcf-gap-sakid-title) 0 2rem;
  overflow: hidden; /* collage clips at section edges */
  position: relative;
}

.tcf-social__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.tcf-social__copy {
  position: relative;
  z-index: 5; /* above collage shots */
}

.tcf-social__head {
  text-align: center;
  margin-bottom: var(--tcf-gap-title-next);
  position: relative;
  z-index: 6;
}

/* #tallinncoffeefestival — Lab 700 / 64 / LH ~115% / tracking -3% */
.tcf-social__head .tcf-title-pill {
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 60%;
  letter-spacing: -0.03em;
  text-align: center;
  color: #1b263b;
  background: #f4efea;
  transform: rotate(1deg); /* opposite of former -3deg tilt */
  padding: 0 0.34em 0.45em;
  min-height: 0;
  position: relative;
  z-index: 6;
}

.tcf-social__copy p {
  max-width: 34ch;
}

.tcf-social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--tcf-gap-title-next);
  align-items: center;
  flex-wrap: wrap;
}

.tcf-social-icons a {
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: var(--tcf-navy);
  color: var(--tcf-cream, #faf6f0);
  display: grid;
  place-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.tcf-social-icons a > img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.tcf-social-icons a.tcf-social-icons__event {
  width: auto;
  height: 47px;
  min-height: 47px;
  max-height: 47px;
  padding: 0 0.95rem;
  border-radius: var(--tcf-radius-pill);
  background: var(--tcf-navy);
  color: var(--tcf-cream, #faf6f0);
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--tcf-font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.tcf-social-icons a.tcf-social-icons__event img {
  display: block;
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.tcf-social-icons a.tcf-social-icons__event span {
  display: block;
  line-height: 1;
  white-space: nowrap;
}

.tcf-social__collage {
  position: relative;
  z-index: 1;
  min-height: clamp(22rem, 42vw, 32rem);
  background: transparent;
  overflow: visible; /* hang past collage; .tcf-social clips */
}

.tcf-social__deco {
  position: absolute;
  left: 29.5rem;
  top: 46%;
  width: 5.5rem;
  z-index: 4;
  opacity: 0.9;
  transform: rotate(14deg);
}

.tcf-social__shot {
  position: absolute;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(27, 38, 59, 0.25);
  background: #6b7fad;
}

/* Figma-like scatter — more horizontal spread; clip at edges */
.tcf-social__shot--1 { width: 48%; left: -18%; top: -4%; aspect-ratio: 4/3; z-index: 2; transform: rotate(-9deg); }
.tcf-social__shot--2 { width: 40%; right: -18%; top: -12%; aspect-ratio: 1; z-index: 3; transform: rotate(11deg); }
.tcf-social__shot--3 { width: 42%; left: 28%; top: 30%; aspect-ratio: 5/4; z-index: 4; transform: rotate(-5deg); }
.tcf-social__shot--4 { width: 38%; left: -14%; bottom: -14%; aspect-ratio: 5/4; z-index: 3; transform: rotate(8deg); }
.tcf-social__shot--5 { width: 44%; right: -20%; bottom: -12%; aspect-ratio: 5/4; z-index: 2; transform: rotate(-13deg); }

/* --------------------------------------------------------------------------
   Organizers
   -------------------------------------------------------------------------- */

.tcf-org {
  background: var(--tcf-sage);
  padding: 110px 0 2rem;
}

.tcf-org .tcf-section-head {
  margin-bottom: var(--tcf-gap-title-next);
}


.tcf-org__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}

.tcf-org-card {
  background: var(--tcf-white);
  border-radius: var(--tcf-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(27, 59, 30, 0.08);
}

.tcf-org-card__media {
  /* Screenshot: ~297×237 photo */
  aspect-ratio: 297 / 237;
  background: #c5cfc2;
  overflow: hidden;
  flex-shrink: 0;
  /* Bottom corners rounded on the image plane (top follows card radius via overflow) */
  border-radius: 0 0 1.25rem 1.25rem;
}

.tcf-org-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0 0 1.25rem 1.25rem;
}

.tcf-org-card__body {
  padding: 1rem 1.15rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tcf-org-card__body h3 {
  margin: 0;
  font-family: var(--tcf-font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  color: #1f1e1c;
  letter-spacing: 0;
}

.tcf-org-card__role {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--tcf-font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 100%;
  /* Figma/OpenType tracking 100 ≈ 0.1em */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6c6122;
}

.tcf-org-card__body hr {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0 0 0.75rem;
}

.tcf-org-card__contact {
  font-family: var(--tcf-font-display);
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  color: #706b64;
  word-break: break-word;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tcf-org-card__contact a {
  color: #706b64;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 100%;
}

.tcf-org-icon {
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 0;
  object-fit: contain;
}

.tcf-org-card--profexpo {
  padding: 80px 1.25rem 1.35rem;
  justify-content: flex-start;
  align-items: center;
}

.tcf-org-card--profexpo .tcf-org-card__logo {
  width: min(100%, 15.5rem);
  height: auto;
  margin: 0;
  align-self: center;
}

/* Body bottom-aligned; Lab 400 18 / 150% / 0 */
.tcf-org-card--profexpo > p {
  margin: auto 0 0;
  align-self: flex-start;
  font-family: var(--tcf-font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0;
  color: #1f1e1c;
  max-width: none;
  vertical-align: bottom;
}

.tcf-org-card--profexpo a {
  text-decoration: underline;
}

.tcf-org .tcf-wave {
  color: var(--tcf-blue);
  margin-top: 6rem;
}

/* --------------------------------------------------------------------------
   Venue
   -------------------------------------------------------------------------- */

.tcf-venue {
  background: var(--tcf-blue);
  color: var(--tcf-navy);
  padding: 40px 0 80px;
  /* No sticky kids / no sakid hang — clip X so long title pill can’t widen the page */
  overflow-x: clip;
}

.tcf-venue__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

/* Allow grid cols to shrink below intrinsic title-pill width */
.tcf-venue__grid > * {
  min-width: 0;
}

.tcf-venue__head {
  text-align: left;
  margin-bottom: var(--tcf-gap-title-next);
  max-width: 100%;
}

/* Kultuurikatel — Lab 700 / 64 / LH ~60% / tracking -3% / #1B263B / 1deg */
.tcf-venue__head .tcf-title-pill {
  font-family: "Lab Grotesque", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 60%;
  letter-spacing: -0.03em;
  text-align: left;
  color: #1b263b;
  background: #f4efea;
  transform: rotate(1deg);
  padding: 0 0.34em 0.45em;
  min-height: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.tcf-venue__copy p {
  max-width: 36ch;
}

.tcf-venue__media picture {
  display: block;
  width: 100%;
}

.tcf-venue__media img {
  border-radius: 24px;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.tcf-footer {
  background: var(--tcf-navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 3.5rem 0 2rem;
}

.tcf-footer__top {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.tcf-footer__logo {
  display: block;
  width: min(100%, 11rem);
  height: auto;
  margin-bottom: 0.9rem;
}

.tcf-footer__brand p {
  margin: 0;
  font-family: var(--tcf-font);
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.75);
}

.tcf-footer__brand a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tcf-newsletter h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tcf-newsletter p {
  margin: 0 0 1rem;
  font-family: var(--tcf-font);
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.7);
}

.tcf-newsletter__form {
  display: flex;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--tcf-radius-pill);
  padding: 0.3rem 0.3rem 0.3rem 1.15rem;
  align-items: center;
}

.tcf-newsletter__form input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--tcf-white);
  font: inherit;
  min-width: 0;
  outline: none;
}

.tcf-newsletter__form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.tcf-newsletter__form button {
  background: var(--tcf-blue);
  color: var(--tcf-navy);
  border-radius: var(--tcf-radius-pill);
  padding: 0.75rem 1.35rem;
  font-family: var(--tcf-font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.tcf-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.tcf-footer__social {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.tcf-footer__social a {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--tcf-white);
  color: var(--tcf-navy);
  display: grid;
  place-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.tcf-footer__social img {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
}

/* EVENT pill: beat `.tcf-footer__social a` (grid) so FB + EVENT stay one horizontal row */
.tcf-footer__social a.tcf-footer__social-event {
  width: auto;
  height: 2.4rem;
  min-height: 2.4rem;
  max-height: 2.4rem;
  padding: 0 0.9rem;
  border-radius: var(--tcf-radius-pill);
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: var(--tcf-font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  overflow: visible;
}

.tcf-footer__social a.tcf-footer__social-event img {
  display: block;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
}

.tcf-footer__social a.tcf-footer__social-event span {
  display: block;
  line-height: 1;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .tcf-collage,
  .tcf-stats__grid,
  .tcf-kava__grid,
  .tcf-voistlused__grid,
  .tcf-info__layout,
  .tcf-sponsors__grid,
  .tcf-b2b-card,
  .tcf-social__grid,
  .tcf-venue__grid,
  .tcf-footer__top {
    grid-template-columns: 1fr;
  }

  .tcf-info__layout {
    padding-left: 1.25rem;
    padding-right: 0;
    gap: 0;
    min-height: 0;
  }

  .tcf-info__copy {
    padding: var(--tcf-gap-sakid-title) 1.25rem
      calc(var(--tcf-sakid-h) + var(--tcf-gap-title-next)) 0;
  }

  .tcf-info__head {
    margin-right: 0;
    max-width: 100%;
  }

  .tcf-info__head .tcf-title-pill {
    white-space: normal;
    margin: 0;
  }

  .tcf-info__media {
    min-height: clamp(16rem, 70vw, 24rem);
  }

  .tcf-info__photo {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .tcf-org__grid {
    grid-template-columns: 1fr 1fr;
  }

  .tcf-osalejad-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .tcf-ticket-card {
    grid-template-columns: 1fr;
    /* Side gutter ≥ half-notch so perf punches don’t widen the page */
    --tcf-ticket-notch: 40px;
    width: min(100% - 3.5rem, var(--tcf-container));
  }

  .tcf-ticket-card__main {
    border-radius: var(--tcf-radius-lg) var(--tcf-radius-lg) 0 0;
  }

  .tcf-ticket-card__price {
    border-radius: 0 0 var(--tcf-radius-lg) var(--tcf-radius-lg);
  }

  /* Horizontal tear: notches left/right, 5 holes between */
  .tcf-ticket-card__perf {
    left: calc(var(--tcf-ticket-notch) / -2);
    right: calc(var(--tcf-ticket-notch) / -2);
    top: 0;
    bottom: auto;
    width: auto;
    height: var(--tcf-ticket-notch);
    transform: translateY(-50%);
    flex-direction: row;
  }

  .tcf-stats__stage {
    min-height: 0;
    padding: 1rem 0 1.5rem;
  }

  .tcf-stat-card--1,
  .tcf-stat-card--2,
  .tcf-stat-card--3 {
    --tcf-card-rot: 0deg;
    --tcf-card-y: 0px;
  }

  .tcf-stats__bowl,
  .tcf-stats__bean--2 {
    display: none;
  }

  /* Single-column stack: beat h4.tcf-event__title desktop grid placement */
  .tcf-event {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-template-columns: none;
    column-gap: 0;
    row-gap: 0.25rem;
  }

  .tcf-event__time,
  h4.tcf-event__title,
  .tcf-event__title,
  .tcf-event__desc,
  .tcf-event__loc {
    display: block;
    width: 100%;
    max-width: 100%;
    grid-column: auto;
    grid-row: auto;
  }

  .tcf-social__collage {
    min-height: 22rem;
  }

  /* Collage single-col: drop overlapping negative margins (were ±2rem past edges) */
  .tcf-collage__item {
    margin: 0;
  }

  .tcf-deco--flower {
    width: min(9rem, 36%);
    top: 4rem;
  }

  .tcf-sponsors,
  .tcf-osalejad {
    /* Quote-card tilts + B2B — clip X only; no sakid hang outside these bands */
    overflow-x: clip;
  }

  .tcf-quote-card__bean {
    right: -0.65rem;
    bottom: -0.85rem;
    width: clamp(3.25rem, 18vw, 4.5rem);
  }

  .tcf-b2b-card h2 {
    font-size: clamp(1.75rem, 8vw, 2.75rem);
    padding-right: 0;
  }

  .tcf-b2b__flower {
    width: clamp(10rem, 42vw, 16rem);
    right: -0.5rem;
    transform: translateY(-38%);
  }

  .tcf-social__head .tcf-title-pill {
    font-size: 38px;
  }

  .tcf-intro-stack {
    /* Match desktop: full-viewport pin so sakid + CTA sit lower */
    --tcf-hero-h: min(100svh, 64rem);
  }

  /* Width breakpoint: slightly tighter bottom pad; height vars still apply from body */
  body:has(.tcf-intro-stack) {
    --tcf-hero-content-pad-extra: clamp(1.75rem, 5vh, 3.25rem);
  }

  .tcf-hero__media img,
  .tcf-hero__poster img {
    object-position: 80% center;
  }
}

@media (max-width: 640px) {
  .tcf-container {
    width: min(100% - 1.5rem, var(--tcf-container));
  }

  .tcf-venue__head .tcf-title-pill {
    font-size: 48px;
    /* 1deg rotate expands AABB past the box — keep pill inside column */
    max-width: 100%;
    overflow: hidden;
  }

  .tcf-org__grid {
    grid-template-columns: 1fr;
  }

  .tcf-osalejad-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tcf-collage {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
    /* Saucer already hidden; clip leftover flower/rotation X safely */
    overflow: hidden;
  }

  .tcf-collage__item {
    margin: 0;
  }

  .tcf-deco--flower {
    display: none;
  }

  .tcf-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .tcf-newsletter__form {
    flex-direction: column;
    border-radius: 1.25rem;
    padding: 0.75rem;
  }

  .tcf-newsletter__form input {
    width: 100%;
    padding: 0.5rem;
  }

  .tcf-newsletter__form button {
    width: 100%;
  }

  .tcf-b2b-card,
  .tcf-ticket-card__main,
  .tcf-ticket-card__price {
    padding: 1.5rem;
  }

  .tcf-b2b__flower {
    width: min(11rem, 55vw);
    right: 0;
    transform: translateY(-35%);
  }

  .tcf-deco--saucer,
  .tcf-stats__pile {
    display: none;
  }

  .tcf-social__shot--5 {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Inner pages (register / latteart / cupping) — form layout + Ninja Forms
   -------------------------------------------------------------------------- */

.tcf-form-hero {
  --tcf-sakid-h: calc(100vw * 128 / 1440);
  position: relative;
  /* Taller hero — room under large header logo + title pills above sakid */
  min-height: clamp(34rem, 78vh, 56rem);
  color: var(--tcf-white);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  background: #5a4038 center / cover no-repeat;
}

.tcf-form-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.tcf-form-hero__media picture,
.tcf-form-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.tcf-form-hero__media img {
  object-fit: cover;
  object-position: 70% center;
}

.tcf-form-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(18, 17, 16, 0.4);
  pointer-events: none;
}

.tcf-form-hero__titles {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem; /* more air ET→EN (Figma); pb on pills closes the old 0.85rem gap */
  /* Clear oversized header logo (min(28rem, 70vw)); sit titles in lower hero */
  padding: clamp(14rem, 36vw, 22rem) 1.25rem calc(var(--tcf-sakid-h) + 2.25rem);
  width: 100%;
  text-align: center;
}

/* ET hero pill — Figma 112 / -3%; Inter Tight (ignore Figma family).
   LH + padding via shared sticker rule with .tcf-title-pill--section. */
.tcf-form-hero__title.tcf-title-pill {
  font-family: var(--tcf-font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 7.8vw, 7rem); /* 40px → 112px */
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0;
  box-shadow: none;
}

/* EN subtitle pill — Figma 72 / -3%; Inter Tight (not Lab Grotesque) */
.tcf-form-hero__title-en.tcf-title-pill {
  font-family: var(--tcf-font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 4.5rem); /* 28px → 72px */
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0.75rem 0 0; /* push EN clearly below ET (Figma) */
  box-shadow: none;
}

.tcf-form-hero__sakid {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
  color: var(--tcf-cream);
}

.tcf-form-hero__sakid .tcf-wave {
  height: var(--tcf-sakid-h);
  min-height: 0;
  max-height: none;
}

.tcf-page--form {
  background: var(--tcf-cream);
  color: var(--tcf-navy);
  padding: 0 0 4.5rem;
  min-height: auto;
}

/* Form pages: content wrapper 1280px; form shell 900px centered inside */
.tcf-page--form .tcf-page__inner {
  width: min(100% - 2.5rem, 1280px);
  max-width: 1280px;
  padding: 0.5rem 0 0;
}

.tcf-page__form-shell {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* Fallback mailto form (plugin/form missing) */
.tcf-page__fallback {
  display: grid;
  gap: 1.15rem;
}

.tcf-page__fallback label {
  display: grid;
  gap: 0.4rem;
  font-weight: 700;
  font-family: var(--tcf-font-display);
  color: var(--tcf-navy);
}

.tcf-page__fallback input,
.tcf-page__fallback textarea,
.tcf-page__fallback select {
  width: 100%;
  border: 1px solid #d7d2cb;
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  font: inherit;
  background: var(--tcf-white);
  color: var(--tcf-navy);
}

.tcf-page__fallback .tcf-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.tcf-page__note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--tcf-muted);
}

/* ---- Ninja Forms (scoped) ---- */

.tcf-page--form .nf-form-cont {
  margin: 0;
}

.tcf-page--form .nf-form-title {
  display: none;
}

.tcf-page--form .nf-field-container {
  margin: 0 0 1.35rem;
  padding: 0;
  width: 100%;
}

.tcf-page--form .nf-field-label {
  margin: 0 0 0.45rem;
}

.tcf-page--form .nf-field-label label,
.tcf-page--form .nf-field-label .nf-label-span {
  display: block;
  font-family: var(--tcf-font);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--tcf-muted);
  margin: 0;
}

.tcf-page--form .nf-field-label .tcf-nf-et {
  font-weight: 700;
  color: var(--tcf-navy);
  font-family: var(--tcf-font-display);
}

.tcf-page--form .nf-field-label .tcf-nf-sep {
  color: var(--tcf-muted);
  font-weight: 400;
}

.tcf-page--form .nf-field-label .tcf-nf-en {
  font-weight: 400;
  color: var(--tcf-muted);
  font-family: var(--tcf-font);
}

/* Terms PDFs inside bilingual checkbox / field labels */
.tcf-page--form .nf-field-label .tcf-nf-et a,
.tcf-page--form .nf-field-label .tcf-nf-en a,
.tcf-page--form .listcheckbox-container label .tcf-nf-et a,
.tcf-page--form .listcheckbox-container label .tcf-nf-en a,
.tcf-page--form .listradio-container label .tcf-nf-et a,
.tcf-page--form .listradio-container label .tcf-nf-en a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.tcf-page--form .nf-field-label .tcf-nf-et a:hover,
.tcf-page--form .nf-field-label .tcf-nf-en a:hover,
.tcf-page--form .listcheckbox-container label .tcf-nf-et a:hover,
.tcf-page--form .listcheckbox-container label .tcf-nf-en a:hover,
.tcf-page--form .listradio-container label .tcf-nf-et a:hover,
.tcf-page--form .listradio-container label .tcf-nf-en a:hover {
  color: var(--tcf-terracotta);
}

.tcf-page--form .ninja-forms-req-symbol,
.tcf-page--form .nf-field-label .ninja-forms-req-symbol {
  color: var(--tcf-terracotta);
  margin-left: 0.15em;
}

.tcf-page--form .nf-field-element {
  margin: 0;
}

.tcf-page--form .nf-form-content input.nf-element,
.tcf-page--form .nf-form-content select.nf-element,
.tcf-page--form .nf-form-content textarea.nf-element {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #d7d2cb;
  border-radius: 0.65rem;
  padding: 0.9rem 1.05rem;
  background: var(--tcf-white);
  color: var(--tcf-navy);
  font-family: var(--tcf-font);
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: none;
  outline: none;
  transition: border-color 0.2s var(--tcf-ease), box-shadow 0.2s var(--tcf-ease);
}

.tcf-page--form .nf-form-content input.nf-element::placeholder,
.tcf-page--form .nf-form-content textarea.nf-element::placeholder {
  color: #a8a29a;
  opacity: 1;
}

.tcf-page--form .nf-form-content input.nf-element:focus,
.tcf-page--form .nf-form-content select.nf-element:focus,
.tcf-page--form .nf-form-content textarea.nf-element:focus {
  border-color: var(--tcf-blue);
  box-shadow: 0 0 0 3px rgba(127, 154, 207, 0.25);
}

.tcf-page--form .nf-form-content textarea.nf-element {
  min-height: 8.5rem;
  resize: vertical;
}

.tcf-page--form .nf-form-content select.nf-element {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%231b263b' d='M4.2 6.2 8 10l3.8-3.8 1.2 1.2L8 12.4 3 7.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Checkbox / radio option groups — bordered white box */
.tcf-page--form .listcheckbox-container .nf-field-element,
.tcf-page--form .listradio-container .nf-field-element,
.tcf-page--form .listcheckbox-wrap .nf-field-element,
.tcf-page--form .listradio-wrap .nf-field-element {
  background: var(--tcf-white);
  border: 1px solid #d7d2cb;
  border-radius: 0.75rem;
  padding: 0.85rem 1.1rem;
}

.tcf-page--form .listcheckbox-container ul,
.tcf-page--form .listradio-container ul,
.tcf-page--form .nf-field-element ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.tcf-page--form .listcheckbox-container li,
.tcf-page--form .listradio-container li,
.tcf-page--form .nf-field-element li {
  margin: 0;
  padding: 0;
}

.tcf-page--form .listcheckbox-container label,
.tcf-page--form .listradio-container label,
.tcf-page--form .nf-field-element label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-family: var(--tcf-font);
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--tcf-navy);
  font-weight: 400;
  cursor: pointer;
}

.tcf-page--form .listcheckbox-container input.nf-element,
.tcf-page--form .listradio-container input.nf-element,
.tcf-page--form .checkbox-container input.nf-element {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--tcf-blue-deep);
  border-radius: 0.25rem;
  box-shadow: none;
}

.tcf-page--form .listradio-container input.nf-element {
  border-radius: 50%;
}

/* Single terms checkbox — input left, bilingual label right */
.tcf-page--form .checkbox-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.tcf-page--form .checkbox-container .nf-field-element {
  order: 0;
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.tcf-page--form .checkbox-container .nf-field-label {
  order: 1;
  flex: 1 1 auto;
  margin: 0;
}

.tcf-page--form .checkbox-container .nf-field-label label {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* HTML / info callout (maksetähtajad, pinna üür, märkus, etc.) */
.tcf-page--form .html-container .nf-field-element,
.tcf-page--form .html-wrap .nf-field-element,
.tcf-page--form .nf-field-container.html-container {
  background: var(--tcf-pink);
  border: none;
  border-radius: 0.85rem;
  padding: 1.15rem 1.35rem;
  color: var(--tcf-navy);
}

.tcf-page--form .html-container .nf-field-label {
  display: none;
}

.tcf-page--form .html-container .nf-field-element,
.tcf-page--form .html-container .nf-field-element p,
.tcf-page--form .html-container .nf-field-element span,
.tcf-page--form .html-container .nf-field-element li {
  font-family: var(--tcf-font);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--tcf-navy);
}

.tcf-page--form .html-container .nf-field-element p {
  margin: 0 0 0.65rem;
}

.tcf-page--form .html-container .nf-field-element p:last-child {
  margin-bottom: 0;
}

.tcf-page--form .html-container .nf-field-element b,
.tcf-page--form .html-container .nf-field-element strong {
  font-family: var(--tcf-font-display);
  font-weight: 700;
  color: var(--tcf-navy);
}

/* Description text under fields */
.tcf-page--form .nf-field-description {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--tcf-muted);
}

/* Submit — wide blue pill */
.tcf-page--form .submit-container,
.tcf-page--form .submit-wrap {
  margin-top: 1.75rem;
}

.tcf-page--form .submit-container .nf-field-label {
  display: none;
}

.tcf-page--form .submit-container input.nf-element,
.tcf-page--form .submit-container button.nf-element,
.tcf-page--form input[type="submit"].nf-element,
.tcf-page--form button.nf-element[type="button"],
.tcf-page--form button.nf-element[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 3.35rem;
  padding: 0.95rem 1.75rem;
  border: 0;
  border-radius: var(--tcf-radius-pill);
  background: var(--tcf-blue);
  color: var(--tcf-white);
  font-family: var(--tcf-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(127, 154, 207, 0.35);
  transition: transform 0.25s var(--tcf-ease), background-color 0.25s, color 0.25s;
}

.tcf-page--form .submit-container input.nf-element:hover,
.tcf-page--form .submit-container button.nf-element:hover,
.tcf-page--form input[type="submit"].nf-element:hover {
  background: var(--tcf-blue-deep);
  color: var(--tcf-white);
  transform: translateY(-2px);
}

.tcf-page--form .nf-error,
.tcf-page--form .nf-error-msg,
.tcf-page--form .nf-field-error {
  color: var(--tcf-terracotta);
  font-size: 0.88rem;
}

.tcf-page--form .nf-error .nf-element,
.tcf-page--form .nf-form-content .nf-element.nf-error {
  border-color: var(--tcf-terracotta);
}

.tcf-page--form .nf-form-fields-required {
  display: none;
}

@media (max-width: 640px) {
  .tcf-form-hero {
    min-height: clamp(30rem, 78vh, 42rem);
  }

  .tcf-form-hero__titles {
    padding-top: clamp(12rem, 55vw, 18rem);
    gap: 1.75rem;
  }

  .tcf-page--form .tcf-page__inner {
    width: min(100% - 1.5rem, 1280px);
    max-width: 1280px;
  }
}
