/* ============================================================
   TRADESHOW LANDING PAGE  (/tradeshow)
   Loads AFTER style.css and only touches .ts-* classes, so the
   main site's styling is never affected. Reuses the same tokens
   (--gold, --font-m, --ease…) so it stays on-brand.
   ============================================================ */

.ts-body { background: var(--bg0); }

/* ---------- shared bits ---------- */
.ts-h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  font-weight: 800; font-stretch: 112%; line-height: 1.06;
  letter-spacing: -0.01em; margin-top: 10px;
}
.ts-section { padding: clamp(70px, 11vh, 130px) 0; }
.ts-section--tight { padding-bottom: clamp(40px, 6vh, 70px); }

.ts-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px;
  font-weight: 700; font-size: 0.92rem; color: #0b0906;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 60%, #b9871f);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
  box-shadow: 0 0 26px rgba(212, 160, 58, 0.22);
  transition: box-shadow 0.3s, filter 0.3s, transform 0.3s var(--ease);
}
.ts-btn:hover { box-shadow: 0 0 42px rgba(238, 199, 101, 0.5); filter: brightness(1.07); transform: translateY(-2px); }
.ts-btn--full { width: 100%; justify-content: center; margin-top: 8px; border: 0; cursor: pointer; font-family: inherit; }
.ts-btn--sm { padding: 11px 18px; font-size: 0.82rem; }

/* entrance animations */
.ts-fade { opacity: 0; transform: translateY(22px); animation: tsFade 0.9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes tsFade { to { opacity: 1; transform: none; } }
.ts-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.ts-reveal.in { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.ts-hero {
  position: relative; isolation: isolate;
  min-height: min(94vh, 900px);
  display: flex; align-items: flex-end;
  padding-bottom: clamp(60px, 10vh, 120px);
  overflow: hidden;
}
.ts-hero__media { position: absolute; inset: 0; z-index: -2; }
.ts-hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%;
  animation: tsKen 26s ease-in-out infinite alternate;
}
@keyframes tsKen { from { transform: scale(1.04); } to { transform: scale(1.13) translateX(-1.5%); } }
.ts-hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--bg0) 2%, rgba(5,4,3,0.72) 34%, rgba(5,4,3,0.25) 62%, rgba(5,4,3,0.55)),
    radial-gradient(70% 55% at 22% 78%, rgba(212,160,58,0.16), transparent 70%);
}
.ts-hero__inner { position: relative; }
.ts-hero__title {
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 900; font-stretch: 118%; line-height: 0.98;
  letter-spacing: -0.02em; margin: 14px 0 0;
  text-shadow: 0 6px 40px rgba(0,0,0,0.55);
}
.ts-hero__lede {
  margin-top: 20px; max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.6; color: #d9d2c4;
}
.ts-hero__cta { margin-top: 34px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ts-hero__note { font-family: var(--font-m); font-size: 0.62rem; letter-spacing: 0.22em; color: var(--muted); }

.ts-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-m); font-size: 0.55rem; letter-spacing: 0.34em; color: var(--muted);
}
.ts-scroll i { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); animation: tsScroll 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes tsScroll { 0%,100% { transform: scaleY(0.35); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.ts-marquee {
  overflow: hidden; padding: 16px 0;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  /* The middle of the old gradient was literally `transparent`, so the strip
     showed the page colour straight through and read no darker than the
     section around it. An opaque base sits under the tint now — darker than
     --bg0, without touching --bg0 itself, which is the whole site's page colour. */
  background:
    linear-gradient(90deg, rgba(212,160,58,0.035), rgba(0,0,0,0) 50%, rgba(212,160,58,0.035)),
    #020202;
}
.ts-marquee__track { display: flex; width: max-content; animation: tsRun 34s linear infinite; }
.ts-marquee__track span {
  display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap;
  font-family: var(--font-m); font-size: 0.72rem; letter-spacing: 0.26em; color: var(--muted);
}
.ts-marquee__track i { font-style: normal; color: var(--gold); }
@keyframes tsRun { to { transform: translateX(-50%); } }

/* ============================================================
   CARDS
   ============================================================ */
.ts-cards {
  list-style: none; margin-top: 46px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.ts-card {
  position: relative; padding: 30px 24px 26px;
  background: linear-gradient(165deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  border: 1px solid var(--line-soft);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, background 0.45s;
}
.ts-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s;
  background: radial-gradient(70% 60% at 50% 0%, rgba(212,160,58,0.14), transparent 70%);
}
.ts-card:hover { transform: translateY(-6px); border-color: var(--line); }
.ts-card:hover::after { opacity: 1; }
.ts-card__no {
  font-family: var(--font-m); font-size: 0.62rem; letter-spacing: 0.3em; color: var(--gold);
}
.ts-card h3 { margin: 14px 0 8px; font-size: 1.12rem; font-weight: 700; font-stretch: 110%; }
.ts-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

/* ============================================================
   GALLERY
   ============================================================ */
/* 3 portrait cards — the source photos are tall (≈4:5), so the frames
   match them instead of cropping the walls out of shot. The middle card
   drops slightly for an editorial rhythm. */
.ts-gal {
  margin-top: 42px; padding: 0 clamp(18px, 4vw, 48px);
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}
.ts-gal__item {
  position: relative; margin: 0; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  border: 1px solid var(--line-soft);
  aspect-ratio: 4 / 5;
}
.ts-gal__item:nth-child(2) { transform: translateY(clamp(14px, 3vw, 40px)); }
.ts-gal__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s;
  filter: saturate(0.92);
}
.ts-gal__item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.ts-gal__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 46px 22px 18px;
  background: linear-gradient(to top, rgba(4,3,2,0.92), transparent);
  font-size: 0.86rem; color: #ded7c9;
}
.ts-gal__item figcaption span {
  display: block; font-family: var(--font-m); font-size: 0.58rem;
  letter-spacing: 0.26em; color: var(--gold); margin-bottom: 5px;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.ts-strip {
  padding: clamp(44px, 7vh, 76px) 0;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(90% 140% at 50% 0%, rgba(212,160,58,0.07), transparent 70%);
}
.ts-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.ts-stat b {
  display: block; font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 800;
  font-stretch: 112%; color: var(--gold-hi); text-shadow: 0 0 30px var(--glow);
}
.ts-stat span {
  display: block; margin-top: 6px;
  font-family: var(--font-m); font-size: 0.58rem; letter-spacing: 0.26em; color: var(--muted);
}

/* ============================================================
   QUOTE FORM
   ============================================================ */
.ts-quote__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 80px); align-items: start; }
.ts-quote__lede { color: var(--muted); margin-top: 18px; max-width: 42ch; line-height: 1.7; }
.ts-ticks { list-style: none; margin-top: 26px; display: grid; gap: 11px; }
.ts-ticks li { position: relative; padding-left: 26px; color: #cfc8ba; font-size: 0.9rem; }
.ts-ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 6px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}

.ts-form {
  padding: clamp(24px, 3.5vw, 36px);
  background: linear-gradient(165deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.ts-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ts-field { display: block; margin-bottom: 14px; }
.ts-field > span {
  display: block; margin-bottom: 7px;
  font-family: var(--font-m); font-size: 0.6rem; letter-spacing: 0.22em; color: var(--muted);
}
.ts-field > span em { font-style: normal; opacity: 0.6; }
.ts-field input, .ts-field textarea {
  width: 100%; padding: 13px 14px;
  background: rgba(5, 4, 3, 0.6); color: var(--ink);
  border: 1px solid #322d25; border-radius: 2px;
  font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.ts-field textarea { resize: vertical; min-height: 96px; }
.ts-field input:focus, .ts-field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 160, 58, 0.12);
}
.ts-field input:invalid:not(:placeholder-shown) { border-color: #7a3b2e; }
.ts-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* per-field validation — matches the main contact form */
.ts-field input.is-invalid, .ts-field textarea.is-invalid {
  border-color: rgba(226, 139, 122, 0.55);
}
.ts-field__err { margin: 5px 0 0; font-size: 0.78rem; line-height: 1.5; color: #e28b7a; }
.ts-field__err:empty { display: none; }

.ts-form__status { margin-top: 14px; font-size: 0.85rem; min-height: 1.2em; }
.ts-form__status.ok { color: #8fce8f; }
.ts-form__status.err { color: #e28b7a; }

/* ============================================================
   FOOTER
   ============================================================ */
.ts-foot { padding: 30px 0 40px; border-top: 1px solid var(--line-soft); }
.ts-foot__in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-m); font-size: 0.62rem; letter-spacing: 0.18em; color: var(--muted); }
.ts-foot__in a { color: var(--gold); }
.ts-foot__in a:hover { color: var(--gold-hi); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .ts-cards { grid-template-columns: repeat(2, 1fr); }
  .ts-quote__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ts-cards { grid-template-columns: 1fr; }
  .ts-gal { grid-template-columns: 1fr; }
  .ts-gal__item { aspect-ratio: 4 / 5; }
  .ts-gal__item:nth-child(2) { transform: none; }
  .ts-strip__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .ts-form__row { grid-template-columns: 1fr; gap: 0; }
  .ts-hero { min-height: 88vh; }
}
@media (prefers-reduced-motion: reduce) {
  .ts-fade, .ts-reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
  .ts-hero__media img, .ts-marquee__track, .ts-scroll i { animation: none !important; }
}
