/* Tandis 24 Design Lab: page content.
   t24.css is the frame of the site (banner, menu, cards, footer).
   This file keeps the text and accent colours of the page content,
   and the few content pieces t24.css does not have. Load it after t24.css. */

.t24-main { color: #e0e6ed; }
.t24-main.wide { max-width: 1400px; }

/* ---------- one width ----------
   everything inside a section runs the full width of the section:
   text, lists, pictures and video share the same left and right edge */
.t24-prose, .t24-services, .t24-note, .t24-soon { max-width: none; }

/* ---------- headings ---------- */
.t24-h2, .t24-soon h2 { background-image: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%); }
.t24-h3 {
  margin: 0 0 clamp(22px, 3vw, 34px);
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  line-height: 1.15;
  color: #fbbf24;
}

/* ---------- running text ---------- */
.t24-prose p, .t24-services p, .t24-soon p { color: #cbd5e1; }
.t24-prose p, .t24-services p { -webkit-hyphens: none; hyphens: none; }
.t24 strong { color: #90ee90; }
.t24-services + .t24-prose { margin-top: clamp(26px, 4vw, 36px); }
/* on a phone a justified line without hyphens leaves wide gaps between words */
@media (max-width: 600px) { .t24-prose p, .t24-services p { text-align: left; } }

/* ---------- lists of services and features ---------- */
.t24-services.plain li { grid-template-columns: 1fr; }
.t24-services p strong { display: inline; margin: 0; font: inherit; font-weight: 600; }

/* ---------- embedded video ---------- */
.t24-video {
  position: relative;
  margin: 0 0 clamp(24px, 3vw, 36px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #0b1230;
  box-shadow: 0 34px 90px rgba(2, 6, 24, 0.6), 0 0 0 1px rgba(150, 185, 255, 0.22), 0 0 60px rgba(110, 120, 255, 0.16);
}
.t24-video iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .t24-video { border-radius: 14px; } }

/* the light panel keeps the same inner edge as the other sections */
.t24-card.t24-light { padding: clamp(24px, 4.5vw, 60px); }
