/* Softqube at Tech Expo Gujarat 2026: event page. Desktop-first: base = 1920, then max-width queries. */

.sq-teg {
  --tg-ink: var(--black, #000);
  --tg-paper: var(--white, #fff);
  --tg-blue: var(--blue, #08aff7);
  --tg-mist: var(--bg-grey, #eaedf2);
  --tg-body: #4a4a4a;
  --tg-line: rgba(0, 0, 0, 0.16);
  --tg-line-inv: rgba(255, 255, 255, 0.22);
  --tg-gutter: clamp(1rem, 0.3rem + 3.5vw, 4.5rem);
  --tg-sec: clamp(4rem, 3.05rem + 4.75vw, 8.75rem);
  --tg-h1: clamp(2.375rem, 1.9rem + 2.375vw, 4.75rem);
  --tg-h2: clamp(1.875rem, 1.5rem + 1.875vw, 3.75rem);
  --tg-h3: clamp(1.375rem, 1.25rem + 0.625vw, 2rem);
  --tg-text: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
  --tg-small: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
  --tg-head-h: 100px;
  display: block;
  background: var(--tg-paper);
  color: var(--tg-ink);
  font-family: "Futura PT Book", "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: var(--tg-text);
  line-height: 1.55;
}

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

.sq-teg :where(img) { display: block; max-width: 100%; height: auto; }
/* :where() keeps this reset at low specificity so the component rules below can set margins. */
.sq-teg :where(p, ul, ol, dl, dt, dd, figure) { margin: 0; padding: 0; }
.sq-teg :where(ul, ol) { list-style: none; }
.sq-teg section { overflow-x: clip; }

.sq-teg-wrap {
  width: min(100% - 2 * var(--tg-gutter), 1520px);
  margin-inline: auto;
}

.sq-teg-h1, .sq-teg-h2, .sq-teg-h3 {
  margin: 0;
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-weight: 500;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.sq-teg-h1 { font-size: var(--tg-h1); line-height: 1.05; letter-spacing: -0.01em; }
.sq-teg-h2 { font-size: var(--tg-h2); line-height: 1.1; letter-spacing: -0.01em; }
.sq-teg-h3 { font-size: var(--tg-h3); line-height: 1.2; }

/* Buttons: same pill shape as the theme's buttons. */
.sq-teg-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.sq-teg .sq-teg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 30px;
  border: 2px solid var(--tg-ink);
  border-radius: 102px;
  background: var(--tg-paper);
  color: var(--tg-ink);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: var(--tg-text);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.sq-teg-btn svg { flex: none; width: 20px; height: 20px; transition: transform 0.3s ease; }
.sq-teg .sq-teg-btn--blue { border-color: var(--tg-blue); background: var(--tg-blue); }
.sq-teg .sq-teg-btn--ghost { border-color: var(--tg-paper); background: transparent; color: var(--tg-paper); }
.sq-teg .sq-teg-btn--black { background: var(--tg-ink); color: var(--tg-paper); }
.sq-teg .sq-teg-btn--line { background: transparent; }
.sq-teg .sq-teg-btn--white { border-color: var(--tg-paper); }

.sq-teg .sq-teg-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-bottom: 2px solid var(--tg-blue);
  color: var(--tg-ink);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-weight: 500;
  text-decoration: none;
}
.sq-teg-link svg { flex: none; width: 18px; height: 18px; transition: transform 0.3s ease; }

.sq-teg .sq-teg-inline {
  color: inherit;
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--tg-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.sq-teg a:focus-visible,
.sq-teg button:focus-visible,
.sq-teg summary:focus-visible { outline: 2px solid var(--tg-blue); outline-offset: 3px; }
.sq-teg-ticket button:focus-visible { outline-color: var(--tg-ink); }

/* 1. Hero ------------------------------------------------------------- */
.sq-teg-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  /* The hero fills one screen below the announcement bar, and no more. */
  min-height: calc(100vh - var(--sq-promo-h, 0px));
  min-height: calc(100svh - var(--sq-promo-h, 0px));
  padding: calc(var(--tg-head-h) + clamp(0.75rem, 3svh, 2rem)) 0 clamp(1.25rem, 4svh, 3rem);
  background: var(--tg-ink);
  color: var(--tg-paper);
}
/* Expo photo behind the hero, dimmed over black so the white text stays readable. */
.sq-teg .sq-teg-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0.32;
}
.sq-teg-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 0.9rem + 3vw, 4.5rem);
  align-items: center;
}
.sq-teg-hero__copy { grid-column: span 7; min-width: 0; }

.sq-teg-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(14px, 2.5svh, 24px);
  color: var(--tg-blue);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: var(--tg-small);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sq-teg-eyebrow__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tg-blue); }

.sq-teg-h1 span { display: block; color: var(--tg-blue); }
/* Vertical spacing in the hero scales with the screen height (svh), so the hero fits one screen. */
.sq-teg-lede { max-width: 34em; margin-top: clamp(16px, 3svh, 28px); color: rgba(255, 255, 255, 0.86); font-size: clamp(1.0625rem, 1rem + 0.3125vw, 1.375rem); }
.sq-teg-hero .sq-teg-actions { margin-top: clamp(20px, 4svh, 36px); }

.sq-teg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  margin-top: clamp(24px, 5.5svh, 56px);
  padding-top: clamp(16px, 2.5svh, 24px);
  border-top: 1px solid var(--tg-line-inv);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-weight: 500;
}
.sq-teg-meta span {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--tg-small);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* The ticket: the page's one graphic idea. */
.sq-teg-ticket {
  grid-column: span 5;
  container-type: inline-size;
  min-width: 0;
  color: var(--tg-ink);
}
/* Two white pieces with real cut-out notches (masks), so the photo shows through them. */
.sq-teg-ticket__main,
.sq-teg-ticket__stub {
  background: var(--tg-paper);
  -webkit-mask-image: radial-gradient(circle 16px at var(--tg-notch-a), transparent 15.5px, #000 16px), radial-gradient(circle 16px at var(--tg-notch-b), transparent 15.5px, #000 16px);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(circle 16px at var(--tg-notch-a), transparent 15.5px, #000 16px), radial-gradient(circle 16px at var(--tg-notch-b), transparent 15.5px, #000 16px);
  mask-composite: intersect;
}
.sq-teg-ticket__main { --tg-notch-a: 0 100%; --tg-notch-b: 100% 100%; overflow: hidden; border-radius: 28px 28px 0 0; }
.sq-teg-ticket__stub { --tg-notch-a: 0 0; --tg-notch-b: 100% 0; border-radius: 0 0 28px 28px; }
/* Blue header band, like the top of a printed pass. */
.sq-teg-ticket__band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  padding: 6px 7cqi;
  background: var(--tg-blue);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: var(--tg-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}
.sq-teg-ticket__band span:last-child { font-weight: 500; white-space: nowrap; }
.sq-teg-ticket__body { padding: 4.5cqi 7cqi 5.5cqi; }
.sq-teg-ticket__label {
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: var(--tg-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}
/* Blue marker stroke behind the lower part of the booth number. */
.sq-teg-ticket__booth span { display: inline-block; padding: 0 0.04em; box-shadow: inset 0 -0.24em 0 var(--tg-blue); }
/* The stall: SVG awning, two posts with a live screen, and a counter that carries the booth number.
   It is its own size container, and its width is capped by the screen height so the hero fits one screen. */
.sq-teg-booth {
  position: relative;
  container-type: inline-size;
  width: min(100%, 34vh);
  width: min(100%, 34svh);
  margin-inline: auto;
  padding-bottom: 8px;
}
.sq-teg-booth::after {
  content: "";
  position: absolute;
  right: -3%;
  bottom: 0;
  left: -3%;
  height: 3px;
  border-radius: 3px;
  background: var(--tg-ink);
}
.sq-teg .sq-teg-booth__roof { display: block; width: 100%; max-width: none; height: auto; overflow: visible; }
.sq-teg-booth__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -1.5cqi 5.33% 0;
  padding: 3.2cqi 0 2.7cqi;
  border-inline: 3px solid var(--tg-ink);
}
.sq-teg-booth__screen {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--tg-ink);
  color: var(--tg-paper);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.sq-teg-booth__bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.sq-teg-booth__bars i {
  display: block;
  width: 4px;
  height: 100%;
  border-radius: 1px;
  background: var(--tg-blue);
  transform-origin: 50% 100%;
  animation: sq-teg-bar 1.1s ease-in-out infinite alternate;
}
.sq-teg-booth__bars i:nth-child(2) { animation-delay: -0.45s; }
.sq-teg-booth__bars i:nth-child(3) { animation-delay: -0.8s; }
.sq-teg-booth__counter {
  position: relative;
  padding: calc(3.6cqi + 7px) 3.6cqi 4.2cqi;
  border: 3px solid var(--tg-ink);
  border-radius: 6px 6px 4px 4px;
  background: var(--tg-paper);
  text-align: center;
}
/* Blue counter top, slightly wider than the counter. */
.sq-teg-booth__counter::before {
  content: "";
  position: absolute;
  top: -8px;
  right: -4%;
  left: -4%;
  height: 14px;
  border: 3px solid var(--tg-ink);
  border-radius: 4px;
  background: var(--tg-blue);
}
.sq-teg-booth__counter .sq-teg-ticket__label { margin-top: 0; }
/* Continuous loops: transform and opacity only. */
.sq-teg-booth__flag,
.sq-teg-booth__ping { transform-box: fill-box; }
.sq-teg-booth__flag { transform-origin: 0 50%; animation: sq-teg-flag 1.5s ease-in-out infinite alternate; }
.sq-teg-booth__ping { transform-origin: 50% 50%; animation: sq-teg-ping 2.2s ease-out infinite; }
.sq-teg-booth.is-paused * { animation-play-state: paused; }
@keyframes sq-teg-flag {
  from { transform: rotate(-9deg) scaleX(1); }
  to { transform: rotate(7deg) scaleX(0.84); }
}
@keyframes sq-teg-bar {
  from { transform: scaleY(0.3); }
  to { transform: scaleY(1); }
}
@keyframes sq-teg-ping {
  0% { transform: scale(1); opacity: 0.6; }
  75%, 100% { transform: scale(3); opacity: 0; }
}
.sq-teg-ticket__booth {
  margin-top: 2.4cqi;
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: 5rem;
  font-size: clamp(3.5rem, 30cqi, 10rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.sq-teg-ticket__stub {
  position: relative;
  display: grid;
  gap: 4cqi;
  padding: 4.5cqi 7cqi 5cqi;
  border-top: 2px dashed rgba(0, 0, 0, 0.55);
}
.sq-teg-ticket__coupon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  min-width: 0;
}
/* Decorative barcode strip along the bottom of the stub. */
.sq-teg-ticket__barcode svg { display: block; width: 100%; height: 28px; fill: var(--tg-ink); }
.sq-teg-ticket__offer { display: flex; flex-direction: column; line-height: 1.2; }
.sq-teg-ticket__offer span { max-width: 9em; }
.sq-teg-ticket__offer strong { font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif; font-size: var(--tg-h3); font-weight: 700; }

.sq-teg .sq-teg-copy {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin: 0;
  padding: 5px 5px 5px 18px;
  border: 0;
  border-radius: 102px;
  background: var(--tg-ink);
  color: var(--tg-paper);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.sq-teg-copy__code { color: var(--tg-blue); font-weight: 700; letter-spacing: 0.08em; }
.sq-teg-copy__hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 102px;
  background: var(--tg-paper);
  color: var(--tg-ink);
  font-size: var(--tg-small);
  font-weight: 500;
}

/* 2. About -------------------------------------------------------------- */
.sq-teg-about { padding: var(--tg-sec) 0; }
.sq-teg-about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 0.9rem + 3vw, 4.5rem);
  row-gap: clamp(2.5rem, 2rem + 2.5vw, 5rem);
}
.sq-teg-about .sq-teg-h2 { grid-column: span 5; }
.sq-teg-about__copy { grid-column: span 7; display: grid; gap: 1.1em; max-width: 44em; color: var(--tg-body); }
.sq-teg-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--tg-line);
}
.sq-teg-stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 28px 24px 0 0;
}
.sq-teg-stats > div + div { padding-left: 24px; border-left: 1px solid var(--tg-line); }
.sq-teg-stats dt { color: var(--tg-body); font-size: var(--tg-small); letter-spacing: 0.1em; text-transform: uppercase; }
.sq-teg-stats dd {
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(2.5rem, 1.9rem + 3vw, 5.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* 3. Live demos -------------------------------------------------------- */
.sq-teg-show { padding: var(--tg-sec) 0; background: var(--tg-mist); }
.sq-teg-show__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 0.9rem + 3vw, 4.5rem);
  row-gap: 20px;
  align-items: end;
}
.sq-teg-show__head > div { grid-column: span 6; min-width: 0; }
.sq-teg-show__head > p { grid-column: 8 / -1; color: var(--tg-body); }

/* Small pill label with a "live" dot. */
.sq-teg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 16px;
  border: 1px solid var(--tg-line);
  border-radius: 102px;
  background: var(--tg-paper);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: var(--tg-small);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}
.sq-teg-live { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tg-blue); }
.sq-teg-live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--tg-blue);
  animation: sq-teg-ping 2.2s ease-out infinite;
}

/* Three product cards. Each has a "stage" in the product's own colours, with its brochure standing on it. */
.sq-teg-demos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 0.5rem + 1.25vw, 32px);
  margin-top: clamp(2rem, 1.6rem + 2vw, 4rem);
}
.sq-teg-demo { display: flex; min-width: 0; }
.sq-teg-demo--mia { --st-bg: #0b1437; --st-dot: rgba(255, 255, 255, 0.16); --st-floor: #f36c21; --st-ink: #fff; --st-accent: #e2591a; }
.sq-teg-demo--rev { --st-bg: #f3efe6; --st-dot: rgba(13, 42, 64, 0.16); --st-floor: #1f8f3a; --st-ink: #0d2a40; --st-accent: #1f8f3a; }
.sq-teg-demo--qdl { --st-bg: #e4f0fb; --st-dot: rgba(11, 37, 64, 0.16); --st-floor: #1c7fd0; --st-ink: #0b2540; --st-accent: #1c7fd0; }
.sq-teg-demo__card {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--tg-line);
  border-radius: 24px;
  background: var(--tg-paper);
}
.sq-teg-demo__stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: clamp(250px, 13rem + 5vw, 340px);
  padding-bottom: 26px;
  overflow: hidden;
  background-color: var(--st-bg);
  background-image: radial-gradient(var(--st-dot) 1.2px, transparent 1.6px);
  background-size: 18px 18px;
}
/* The coloured floor the brochure stands on. */
.sq-teg-demo__stage::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 24%;
  background: var(--st-floor);
}
.sq-teg .sq-teg-demo__poster {
  position: relative;
  z-index: 1;
  width: min(40%, 168px);
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  transform: rotate(-4deg);
  transform-origin: 50% 100%;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sq-teg-demo__no {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 2;
  color: var(--st-ink);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: var(--tg-text);
  font-weight: 500;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.sq-teg-demo__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 102px;
  background: var(--tg-paper);
  color: var(--tg-ink);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}
.sq-teg-demo__body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: clamp(22px, 1rem + 1vw, 36px); }
.sq-teg-demo__kicker { color: var(--st-accent); font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif; font-size: var(--tg-small); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.sq-teg-demo__body .sq-teg-h3 { margin-top: 6px; }
.sq-teg-demo__lead { margin-top: 12px; color: var(--tg-ink); font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif; font-weight: 500; line-height: 1.45; }
.sq-teg-demo__list { display: grid; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--tg-line); }
.sq-teg-demo__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--tg-body); line-height: 1.45; }
.sq-teg-demo__list svg { width: 22px; height: 22px; margin-top: 0.1em; color: var(--st-accent); }
.sq-teg .sq-teg-demo__link { align-self: flex-start; margin-top: auto; }
.sq-teg-demo__list + .sq-teg-demo__link { margin-top: 24px; }
/* Keep the links level across the three cards. */
.sq-teg-demo__body > .sq-teg-demo__list { margin-bottom: auto; }

/* Closing strip: book a demo slot. */
.sq-teg-show__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: clamp(16px, 0.5rem + 1.25vw, 32px);
  padding: clamp(22px, 1rem + 1vw, 32px) clamp(22px, 1rem + 2vw, 44px);
  border-radius: 24px;
  background: var(--tg-ink);
  color: var(--tg-paper);
}
.sq-teg-show__cta p { max-width: 34em; font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem); font-weight: 500; line-height: 1.4; }
.sq-teg-show__cta strong { color: var(--tg-blue); font-weight: 500; }

/* 3b. Stand tour: the stand render with numbered pins, and a key below --- */
.sq-teg-stand { padding: var(--tg-sec) 0; background: var(--tg-paper); }
.sq-teg-stand__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 0.9rem + 3vw, 4.5rem);
  row-gap: 20px;
  align-items: end;
}
.sq-teg-stand__title { grid-column: 1 / span 7; min-width: 0; }
.sq-teg-stand__intro { grid-column: 8 / -1; min-width: 0; }
.sq-teg-stand__intro p { max-width: 34em; color: var(--tg-body); }
.sq-teg-stand__intro .sq-teg-link { margin-top: 18px; }

.sq-teg-stand__figure { margin: clamp(2rem, 1.6rem + 2vw, 4rem) 0 0; }
.sq-teg-stand__frame {
  --spot: 44px;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--tg-line);
  border-radius: 28px;
  background: #0b1437;
  isolation: isolate;
}
.sq-teg .sq-teg-stand__frame img { width: 100%; height: 100%; object-fit: cover; }
/* "Booth A119" plate on the floor, like the number sign on a real stand: brand blue, white frame,
   a bobbing map pin and a ring that pulses outwards. */
.sq-teg-stand__plate {
  position: absolute;
  bottom: 4.5%;
  left: 3%;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px 12px 12px;
  border: 3px solid var(--tg-paper);
  border-radius: 18px;
  background: var(--tg-blue);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
  color: var(--tg-ink);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  line-height: 1;
}
.sq-teg-stand__plate::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 3px solid var(--tg-blue);
  border-radius: 22px;
  opacity: 0;
  pointer-events: none;
  animation: sq-teg-plate-ping 2.6s ease-out infinite;
}
@keyframes sq-teg-plate-ping {
  0% { opacity: 0.9; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.14, 1.3); }
}
.sq-teg-stand__plate-pin {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--tg-ink);
  color: var(--tg-blue);
}
.sq-teg-stand__plate-pin svg { width: 28px; height: 28px; animation: sq-teg-pin-bob 1.8s ease-in-out infinite; }
@keyframes sq-teg-pin-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.sq-teg-stand__plate-text { display: grid; gap: 4px; }
.sq-teg-stand__plate-text span { font-size: 14px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; }
.sq-teg-stand__plate-text strong { font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); font-weight: 500; letter-spacing: 0.01em; }

/* MIA agents: invisible buttons over each logo on the left wall. Each opens a white card above it. */
.sq-teg-stand__figure { position: relative; }
.sq-teg-agents { position: absolute; inset: 0; pointer-events: none; }
/* "Hover or tap a logo" hint: brand-blue pill with a tapping hand and a pulsing ring. */
.sq-teg-agents__hint {
  position: absolute;
  top: 56.4%;
  left: 9.64%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 20px 6px 6px;
  border: 2px solid var(--tg-paper);
  border-radius: 102px;
  background: var(--tg-blue);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
  color: var(--tg-ink);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.sq-teg-agents__hint::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid var(--tg-blue);
  border-radius: 102px;
  opacity: 0;
  pointer-events: none;
  animation: sq-teg-hint-ping 2.4s ease-out infinite;
}
@keyframes sq-teg-hint-ping {
  0% { opacity: 0.9; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.08, 1.5); }
}
.sq-teg-agents__hand {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tg-ink);
  color: var(--tg-paper);
}
.sq-teg-agents__hand svg { width: 18px; height: 18px; animation: sq-teg-hand-tap 1.6s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes sq-teg-hand-tap {
  0%, 60%, 100% { transform: translateY(0) scale(1); }
  30% { transform: translateY(2px) scale(0.86); }
}
.sq-teg-agents__hint-touch { display: none; }
.sq-teg-agent {
  position: absolute;
  top: calc(var(--y) + var(--h) / 2);
  left: var(--x);
  z-index: 1;
  width: var(--w);
  height: max(var(--h), 24px);
  translate: 0 -50%;
}
.sq-teg-agent:hover,
.sq-teg-agent:focus-within,
.sq-teg-agent.is-open { z-index: 3; }
.sq-teg .sq-teg-agent__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.sq-teg .sq-teg-agent--panel .sq-teg-agent__btn { border-radius: 12px; }
.sq-teg-agent--panel .sq-teg-agent__btn::after { border-radius: 15px; }
.sq-teg .sq-teg-agent__btn:focus-visible,
.sq-teg-agent.is-open .sq-teg-agent__btn { outline: 3px solid var(--ac, var(--tg-blue)); outline-offset: 2px; }
/* A ring that runs across the logos now and then, so people see they can be opened. */
.sq-teg-agent__btn::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--ac, var(--tg-blue));
  border-radius: 9px;
  opacity: 0;
  pointer-events: none;
  animation: sq-teg-agent-hint 6s ease-in-out infinite;
  animation-delay: calc(1s + var(--i, 0) * 0.18s);
}
@keyframes sq-teg-agent-hint {
  0% { opacity: 0; }
  4% { opacity: 1; }
  12%, 100% { opacity: 0; }
}
.sq-teg-agents:has(.sq-teg-agent:hover, .sq-teg-agent.is-open, .sq-teg-agent:focus-within) .sq-teg-agent__btn::after { animation: none; }
.sq-teg-agent__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Card: a navy header in the stand's own colour (dot texture, icon in the logo's colour, accent line),
   then a white body with tinted ticks and a link row. --ac is set per agent in event-page.php. */
.sq-teg-agent__card {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 0;
  z-index: 2;
  width: 340px;
  border-radius: 18px;
  background: var(--tg-paper);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 28px 56px rgba(0, 9, 30, 0.5);
  color: var(--tg-ink);
  text-align: left;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transform-origin: 30px 100%;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.3s;
}
.sq-teg-agent--end .sq-teg-agent__card { right: 0; left: auto; transform-origin: calc(100% - 30px) 100%; }
/* The lower row of agents and the two product panels open their card below the logo. */
.sq-teg-agent--below .sq-teg-agent__card { top: calc(100% + 14px); bottom: auto; transform: translateY(-10px) scale(0.98); transform-origin: 30px 0; }
.sq-teg-agent--below.sq-teg-agent--end .sq-teg-agent__card { transform-origin: calc(100% - 30px) 0; }
/* The product cards have longer points, so they are wider. */
.sq-teg-agent--panel .sq-teg-agent__card { width: 400px; }
.sq-teg-agent__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px 18px 16px;
  border-bottom: 3px solid var(--ac);
  border-radius: 18px 18px 0 0;
  background-color: #0b1437;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1.1px, transparent 1.5px);
  background-size: 14px 14px;
  color: var(--tg-paper);
}
.sq-teg-agent__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ac);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
  color: var(--tg-paper);
}
.sq-teg-agent__icon svg { width: 24px; height: 24px; }
.sq-teg-agent__id { min-width: 0; }
.sq-teg-agent__body { padding: 16px 18px 4px; }
/* Arrow pointing at the logo, and an invisible bridge so the card stays open while the pointer moves onto it. */
.sq-teg-agent__card::before {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 22px;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: var(--tg-paper);
  transform: rotate(45deg);
}
.sq-teg-agent--end .sq-teg-agent__card::before { right: 22px; left: auto; }
.sq-teg-agent__card::after { content: ""; position: absolute; top: 100%; right: 0; left: 0; height: 18px; }
.sq-teg-agent--below .sq-teg-agent__card::before { top: -7px; bottom: auto; background: #0b1437; }
.sq-teg-agent--below .sq-teg-agent__card::after { top: auto; bottom: 100%; }
.sq-teg-agent.is-open .sq-teg-agent__card,
.sq-teg .sq-teg-agent__btn:focus-visible + .sq-teg-agent__card,
.sq-teg-agent__card:focus-within { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sq-teg-agent__tag {
  color: rgba(255, 255, 255, 0.74);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}
.sq-teg-agent__tag strong { color: var(--tg-paper); font-weight: 500; }
.sq-teg .sq-teg-agent__name {
  margin: 4px 0 0;
  color: var(--tg-paper);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
}
.sq-teg-agent__text { color: var(--tg-body); font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.sq-teg-agent__points { display: grid; gap: 9px; margin-top: 14px; }
.sq-teg-agent__points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--tg-ink); font-size: 15px; line-height: 1.4; text-wrap: pretty; }
.sq-teg-agent__tick {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(8, 175, 247, 0.14);
  background: color-mix(in srgb, var(--ac) 14%, #fff);
  color: var(--ac);
}
.sq-teg-agent__tick svg { width: 13px; height: 13px; }
.sq-teg .sq-teg-agent__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin-top: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--tg-line);
  color: var(--tg-ink);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
}
.sq-teg .sq-teg-agent__link:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; border-radius: 6px; }
.sq-teg-agent__go {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ac);
  color: var(--tg-paper);
  transition: transform 0.25s ease;
}
.sq-teg-agent__go svg { width: 16px; height: 16px; }
/* After Esc the card stays shut until the pointer or focus leaves that agent. */
.sq-teg .sq-teg-agent.is-dismissed .sq-teg-agent__card { opacity: 0; visibility: hidden; }

/* 4. Why visit + team --------------------------------------------------- */
/* Heading row, three reason cards (each with its own small drawing on a navy blueprint panel),
   then six people cards. */
.sq-teg-why { padding: var(--tg-sec) 0; background: var(--tg-ink); color: var(--tg-paper); }
.sq-teg-why__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 0.9rem + 3vw, 4.5rem);
  row-gap: 20px;
  align-items: end;
}
.sq-teg-why__head > div { grid-column: 1 / span 7; min-width: 0; }
.sq-teg-why__intro { grid-column: 8 / -1; max-width: 34em; color: rgba(255, 255, 255, 0.8); }
.sq-teg-why .sq-teg-link { color: var(--tg-paper); }
.sq-teg-why .sq-teg-kicker { border-color: var(--tg-paper); color: var(--tg-ink); }

.sq-teg-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(2rem, 1.6rem + 2vw, 4rem);
}
.sq-teg-reason {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px 14px clamp(24px, 1.1rem + 0.6vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: #0d0d0f;
  transition: border-color 0.3s ease;
}
.sq-teg-reason .sq-teg-h3 { margin: 26px 14px 0; color: var(--tg-paper); }
.sq-teg-reason p { margin: 10px 14px 0; color: rgba(255, 255, 255, 0.78); line-height: 1.5; text-wrap: pretty; }
.sq-teg-reason__no {
  position: absolute;
  right: 26px;
  bottom: clamp(24px, 1.1rem + 0.6vw, 32px);
  color: transparent;
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(3rem, 2.4rem + 2vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
  pointer-events: none;
}
.sq-teg-reason p { padding-right: clamp(3.5rem, 3rem + 2vw, 5.5rem); }

/* The navy panel at the top of each card. */
.sq-teg-reason__art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: clamp(170px, 8rem + 3vw, 210px);
  overflow: hidden;
  border-radius: 18px;
  background-color: #0b1437;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* 01: a small app window with a live chart. */
.sq-teg-win {
  display: flex;
  flex-direction: column;
  width: min(78%, 280px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: #101c46;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}
.sq-teg-win__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.sq-teg-win__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); }
.sq-teg-win__bar em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--tg-paper);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sq-teg-win__chart { display: flex; align-items: flex-end; gap: 7px; height: 84px; padding: 12px 14px 14px; }
.sq-teg-win__chart i {
  flex: 1;
  height: 100%;
  border-radius: 4px 4px 2px 2px;
  background: var(--tg-blue);
  transform: scaleY(var(--h));
  transform-origin: 50% 100%;
  animation: sq-teg-win-bar 2.6s ease-in-out infinite;
  animation-delay: var(--d);
}
.sq-teg-win__chart i:nth-child(odd) { background: rgba(8, 175, 247, 0.55); }
@keyframes sq-teg-win-bar {
  0%, 100% { transform: scaleY(var(--h)); }
  50% { transform: scaleY(calc(var(--h) * 0.6)); }
}

/* 02: the team's initials, overlapping. */
.sq-teg-stack { display: flex; }
.sq-teg-stack b {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-left: -14px;
  border: 3px solid #0b1437;
  border-radius: 50%;
  background: var(--tg-blue);
  color: var(--tg-ink);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.sq-teg-stack b:first-child { margin-left: 0; }
.sq-teg-stack b:nth-child(even) { background: var(--tg-paper); }
.sq-teg .sq-teg-stack__more { background: #1f2c5c; color: var(--tg-paper); }
.sq-teg-stack__label { color: rgba(255, 255, 255, 0.78); font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

/* 03: "Since 2009" with the service areas. */
.sq-teg-since { display: flex; align-items: baseline; gap: 10px; font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif; line-height: 1; }
.sq-teg-since small { color: rgba(255, 255, 255, 0.72); font-size: 14px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.sq-teg-since strong { color: var(--tg-blue); font-size: clamp(3rem, 2.4rem + 2vw, 4.25rem); font-weight: 500; letter-spacing: 0.01em; }
.sq-teg-since__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 92%; }
.sq-teg-since__tags i {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 102px;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
}

/* Team: six people cards. */
.sq-teg-team { margin-top: clamp(2.5rem, 2rem + 2.5vw, 5rem); }
.sq-teg-team__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.sq-teg .sq-teg-team__title {
  margin: 0;
  color: var(--tg-paper);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: var(--tg-h3);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}
.sq-teg-team__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.sq-teg-team__list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: #0d0d0f;
  transition: border-color 0.3s ease;
}
.sq-teg-team__av {
  display: grid;
  flex: none;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 14px;
  border: 2px solid var(--tg-blue);
  border-radius: 50%;
  background: rgba(8, 175, 247, 0.14);
  color: var(--tg-paper);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.sq-teg-team__list strong { color: var(--tg-paper); font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif; font-size: 18px; font-weight: 500; line-height: 1.25; }
.sq-teg-team__role { color: var(--tg-blue); font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif; font-size: 15px; font-weight: 500; line-height: 1.3; }

/* 5. Event details ------------------------------------------------------ */
/* Heading row across the top, then a 12-column grid of tiles with no empty space:
   dates | booth floor plan | opening time, then venue with map | visitor pass, then organiser | listing. */
.sq-teg-details { padding: var(--tg-sec) 0; }
.sq-teg-details__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 0.9rem + 3vw, 4.5rem);
  row-gap: 20px;
  align-items: end;
}
.sq-teg-details__head > div { grid-column: 1 / span 7; min-width: 0; }
.sq-teg-details__intro { grid-column: 8 / -1; max-width: 34em; color: var(--tg-body); }

.sq-teg-facts {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(2rem, 1.6rem + 2vw, 4rem);
}
.sq-teg-fact {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: clamp(20px, 0.9rem + 0.6vw, 28px);
  border-radius: 24px;
  background: var(--tg-mist);
}
.sq-teg-fact dt {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--tg-body);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: var(--tg-small);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}
.sq-teg-fact__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--tg-paper);
  color: var(--tg-ink);
}
.sq-teg-fact__icon svg { width: 21px; height: 21px; }
.sq-teg-fact dd { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; margin: 0; }
.sq-teg-fact dd strong {
  color: var(--tg-ink);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.625rem);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}
.sq-teg-fact dd > span { color: var(--tg-body); line-height: 1.45; }
.sq-teg-fact dd .sq-teg-link { font-size: 16px; }

.sq-teg-fact--dates { grid-column: span 5; }
.sq-teg-fact--booth { grid-column: span 4; }
.sq-teg-fact--time { grid-column: span 3; }
.sq-teg-fact--venue { grid-column: span 7; }
.sq-teg-fact--pass { grid-column: span 5; }
.sq-teg-fact--org,
.sq-teg-fact--listing { grid-column: span 6; }

/* Dates: three calendar pages and the calendar button. */
.sq-teg-fact--dates dd { justify-content: space-between; gap: 20px; }
.sq-teg-days { display: flex; gap: 12px; width: 100%; }
.sq-teg-days li {
  display: grid;
  flex: 1;
  justify-items: center;
  max-width: 150px;
  overflow: hidden;
  border: 2px solid var(--tg-ink);
  border-radius: 16px;
  background: var(--tg-paper);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}
.sq-teg-days__wd {
  width: 100%;
  padding: 8px 0 7px;
  border-bottom: 2px solid var(--tg-ink);
  background: var(--tg-blue);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.sq-teg-days__d { padding-top: 12px; font-size: clamp(2.5rem, 2rem + 1.2vw, 3.25rem); font-variant-numeric: tabular-nums; }
.sq-teg-days__m { padding: 6px 0 12px; color: var(--tg-body); font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; }

/* Booth: a navy "floor plan" in the stand's colour, with a blueprint grid. Only A119 is lit. */
.sq-teg-fact--booth {
  background-color: #0b1437;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.sq-teg-fact--booth dt { color: rgba(255, 255, 255, 0.74); }
.sq-teg-fact--booth .sq-teg-fact__icon { background: var(--tg-blue); color: var(--tg-ink); }
.sq-teg-plan {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px 6px;
  width: 100%;
  margin: 18px 0 6px;
}
.sq-teg-plan i { height: 30px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 5px; background: rgba(255, 255, 255, 0.04); }
.sq-teg-plan b {
  position: relative;
  display: grid;
  place-items: center;
  height: 30px;
  border-radius: 5px;
  background: var(--tg-blue);
  box-shadow: 0 0 0 2px var(--tg-paper);
  color: var(--tg-ink);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
/* Ring that pulses out from the lit cell (placed on the plan, over the 4th column, 2nd row). */
.sq-teg-plan__ring {
  position: absolute;
  top: 36px;
  left: calc((100% - 30px) / 6 * 3 + 16px);
  width: calc((100% - 30px) / 6 + 4px);
  height: 34px;
  border: 2px solid var(--tg-blue);
  border-radius: 7px;
  opacity: 0;
  pointer-events: none;
  animation: sq-teg-plan-ping 2.4s ease-out infinite;
}
@keyframes sq-teg-plan-ping {
  0% { opacity: 0.9; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.35, 1.8); }
}
/* Pin over the lit cell (4th column, 2nd row); placed on the plan so it stays inside its box. */
.sq-teg-plan { position: relative; }
.sq-teg-plan__pin {
  position: absolute;
  top: 16px;
  left: calc((100% - 30px) / 6 * 3.5 + 18px);
  width: 26px;
  height: 26px;
  margin-left: -13px;
  color: var(--tg-paper);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.45));
  animation: sq-teg-pin-bob 1.8s ease-in-out infinite;
}
.sq-teg-fact--booth dd strong { color: var(--tg-paper); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1.1; }
.sq-teg-fact--booth dd strong em { color: var(--tg-blue); font-style: normal; }
.sq-teg-fact--booth dd > span { color: rgba(255, 255, 255, 0.78); }

/* Opening time: white tile with an ink edge and a clock at 9:30. */
.sq-teg-fact--time { border: 2px solid var(--tg-ink); background: var(--tg-paper); }
.sq-teg-fact--time .sq-teg-fact__icon { background: var(--tg-mist); }
.sq-teg-fact--time dd { justify-content: space-between; }
.sq-teg-fact--time dd strong { font-size: clamp(2.25rem, 1.7rem + 1.6vw, 3.25rem); line-height: 1; }
.sq-teg-clock { align-self: flex-end; width: clamp(96px, 3rem + 4.5vw, 150px); color: var(--tg-ink); }
.sq-teg-clock svg { display: block; width: 100%; height: auto; }

/* Venue: text and button on the left, a small illustrated map on the right. */
.sq-teg-fact--venue dd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 24px; align-items: stretch; }
.sq-teg-venue__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.sq-teg-venue__text > span { color: var(--tg-body); line-height: 1.45; }
.sq-teg-venue__text .sq-teg-btn { margin-top: auto; }
.sq-teg-map { display: block; min-height: 170px; overflow: hidden; border: 1px solid var(--tg-line); border-radius: 16px; background: #f6f8fb; }
.sq-teg-map svg { display: block; width: 100%; height: 100%; }
.sq-teg-map__ping { transform-box: fill-box; transform-origin: center; animation: sq-teg-map-ping 2.4s ease-out infinite; }
@keyframes sq-teg-map-ping {
  0% { opacity: 0.55; transform: scale(0.4); }
  80%, 100% { opacity: 0; transform: scale(1.9); }
}

/* Visitor pass: a ticket with a dashed edge. */
.sq-teg-fact--pass { border: 2px dashed var(--tg-ink); background: var(--tg-paper); }
.sq-teg-fact--pass .sq-teg-fact__icon { background: var(--tg-blue); }
.sq-teg-fact--pass dd { gap: 14px; }
.sq-teg-fact--pass dd strong { font-size: clamp(2.25rem, 1.7rem + 1.6vw, 3.25rem); line-height: 1; }
.sq-teg-fact--pass dd .sq-teg-link { margin-top: auto; }

/* 6. FAQ ---------------------------------------------------------------- */
.sq-teg-faq { padding: var(--tg-sec) 0; background: var(--tg-mist); }
.sq-teg-faq__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 0.9rem + 3vw, 4.5rem);
  row-gap: 40px;
  align-items: start;
}
.sq-teg-faq__head { grid-column: span 4; min-width: 0; }
.sq-teg-faq__contact { display: grid; justify-items: start; gap: 6px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--tg-line); }
.sq-teg-faq__contact p { margin-bottom: 6px; color: var(--tg-body); }
.sq-teg .sq-teg-faq__label { margin: 8px 0 0; color: var(--tg-ink); font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif; font-size: var(--tg-small); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.sq-teg-faq__contact .sq-teg-inline { display: inline-flex; align-items: center; min-height: 44px; }
.sq-teg-faq__list { grid-column: 6 / -1; min-width: 0; border-top: 2px solid var(--tg-ink); }
.sq-teg-qa { border-bottom: 1px solid var(--tg-line); }
.sq-teg-qa summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(1.125rem, 1.05rem + 0.375vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.sq-teg-qa summary::-webkit-details-marker { display: none; }
.sq-teg-qa summary i {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--tg-ink);
  border-radius: 50%;
}
.sq-teg-qa summary i::before,
.sq-teg-qa summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--tg-ink);
  transition: transform 0.3s ease;
}
.sq-teg-qa summary i::after { transform: rotate(90deg); }
.sq-teg-qa[open] summary i { background: var(--tg-blue); border-color: var(--tg-blue); }
.sq-teg-qa[open] summary i::after { transform: rotate(0deg); }
.sq-teg-qa > p { max-width: 42em; padding: 0 56px 26px 0; color: var(--tg-body); }

/* 7. Closing call to action -------------------------------------------- */
/* Black, like the closing block on the theme's other pages: the footer's blue social strip overlaps its last 50px. */
.sq-teg-cta { padding: var(--tg-sec) 0 calc(var(--tg-sec) + 50px); background: var(--tg-ink); color: var(--tg-paper); }
.sq-teg-cta__title span { color: var(--tg-blue); }
.sq-teg-cta__kicker {
  color: var(--tg-blue);
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: var(--tg-small);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sq-teg-cta__title {
  margin: 16px 0 0;
  font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(2.75rem, 1.55rem + 6vw, 8.75rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.sq-teg-cta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: clamp(2rem, 1.6rem + 2vw, 4rem);
  padding-top: clamp(1.5rem, 1.3rem + 1vw, 2.5rem);
  border-top: 1px solid var(--tg-line-inv);
}
.sq-teg-cta__row p { max-width: 26em; font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif; font-size: var(--tg-h3); font-weight: 500; line-height: 1.45; }
.sq-teg-cta__row strong { font-weight: 700; letter-spacing: 0.04em; }

@media (hover: hover) {
  .sq-teg .sq-teg-btn:hover { border-color: var(--tg-ink); background: var(--tg-ink); color: var(--tg-paper); }
  .sq-teg-demo__card:hover .sq-teg-demo__poster { transform: rotate(0deg) translateY(-8px); }
  .sq-teg .sq-teg-btn--blue:hover,
  .sq-teg .sq-teg-btn--ghost:hover { border-color: var(--tg-paper); background: var(--tg-paper); color: var(--tg-ink); }
  .sq-teg .sq-teg-btn--black:hover { border-color: var(--tg-ink); background: var(--tg-paper); color: var(--tg-ink); }
  .sq-teg .sq-teg-btn:hover svg,
  .sq-teg .sq-teg-link:hover svg { transform: translateX(4px); }
  .sq-teg .sq-teg-copy:hover .sq-teg-copy__hint { background: var(--tg-blue); }
  .sq-teg-agent:hover .sq-teg-agent__btn { outline: 3px solid var(--ac, var(--tg-blue)); outline-offset: 2px; }
  .sq-teg .sq-teg-agent__link:hover .sq-teg-agent__go { transform: translateX(4px); }
  .sq-teg-reason:hover,
  .sq-teg-team__list li:hover { border-color: rgba(8, 175, 247, 0.6); }
  .sq-teg-agent:hover .sq-teg-agent__card { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}

@media (prefers-reduced-motion: reduce) {
  .sq-teg-live::after { animation: none; opacity: 0; }
  .sq-teg .sq-teg-demo__poster { transition: none; }
  .sq-teg-booth__flag,
  .sq-teg-booth__bars i { animation: none; }
  .sq-teg-booth__ping { animation: none; opacity: 0; }
  .sq-teg-agent__btn::after { animation: none; }
  .sq-teg-agent__card { transform: none; transition: none; animation: none !important; }
  .sq-teg-stand__plate::after,
  .sq-teg-agents__hint::after { animation: none; opacity: 0; }
  .sq-teg-stand__plate-pin svg,
  .sq-teg-agents__hand svg,
  .sq-teg-plan__pin { animation: none; }
  .sq-teg-plan__ring,
  .sq-teg-map__ping { animation: none; opacity: 0; }
  .sq-teg-win__chart i { animation: none; }
  .sq-teg-reason,
  .sq-teg-team__list li { transition: none; }
  .sq-teg .sq-teg-btn,
  .sq-teg-btn svg,
  .sq-teg-link svg,
  .sq-teg-qa summary i::before,
  .sq-teg-qa summary i::after { transition: none; }
}

/* ---- Breakpoints ------------------------------------------------------ */
/* The theme header becomes 80px tall here. */
@media only screen and (max-width: 1199px) {
  .sq-teg { --tg-head-h: 80px; }
  /* Narrower ticket: drop the dates from the band. */
  .sq-teg-ticket__band span:last-child { display: none; }
  /* Product rows: name above the text so long product names never get squeezed. */
  .sq-teg-hero__copy { grid-column: span 7; }
  /* Demo cards: one per row, stage on the left, so the text column never gets narrow. */
  .sq-teg-demos { grid-template-columns: minmax(0, 1fr); }
  .sq-teg-demo__card { flex-direction: row; }
  .sq-teg-demo__stage { flex: 0 0 38%; height: auto; min-height: 300px; }
  .sq-teg .sq-teg-demo__poster { width: min(62%, 168px); }
  /* Team: three people per row. */
  .sq-teg-team__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Reasons: one per row, drawing on the left and text on the right. */
  .sq-teg-reasons { grid-template-columns: minmax(0, 1fr); }
  .sq-teg-reason { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; column-gap: 10px; align-items: start; padding: 14px; }
  .sq-teg-reason__art { grid-row: 1 / span 2; height: 100%; min-height: 190px; }
  .sq-teg-reason .sq-teg-h3 { margin: 18px 14px 0; }
  .sq-teg-reason p { margin: 10px 14px 18px; }
  .sq-teg-faq__list { grid-column: 5 / -1; }
  /* Details: heading block full width (text left, day tiles right), tiles below at full width. */
  /* Details tiles: two per row (dense packing keeps the rows full), venue across the width. */
  .sq-teg-facts { grid-auto-flow: dense; }
  .sq-teg-fact--dates,
  .sq-teg-fact--booth,
  .sq-teg-fact--time,
  .sq-teg-fact--pass { grid-column: span 6; }
  .sq-teg-fact--venue { grid-column: 1 / -1; }
}

/* Tablets and phones: the logos on the image are too small to tap, so the agents become name pills under the image.
   The open card sits in the page flow, on its own row right after the pills. */
@media only screen and (max-width: 1023px) {
  .sq-teg-agents { position: relative; inset: auto; margin-top: 18px; pointer-events: auto; }
  .sq-teg-agents__hint { position: relative; top: auto; left: auto; }
  .sq-teg-agents__hint-desk { display: none; }
  .sq-teg-agents__hint-touch { display: inline; }
  .sq-teg-agents__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .sq-teg-agent { display: contents; }
  .sq-teg .sq-teg-agent__btn,
  .sq-teg .sq-teg-agent--panel .sq-teg-agent__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    height: auto;
    min-height: 44px;
    padding: 8px 18px 8px 14px;
    border: 1px solid var(--tg-line);
    border-radius: 102px;
    background: var(--tg-paper);
    color: var(--tg-ink);
    font-family: "Futura PT", "Trebuchet MS", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
  }
  /* Each pill carries the agent's colour as a dot. */
  .sq-teg-agent__btn::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ac); }
  .sq-teg-agent.is-open .sq-teg-agent__btn { border-color: #0b1437; background: #0b1437; color: var(--tg-paper); outline: 0; }
  .sq-teg-agent__btn::after { content: none; }
  .sq-teg-agent__label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .sq-teg-agent__card {
    position: static;
    order: 1;
    flex: 0 0 100%;
    display: none;
    width: 100%;
    max-width: 560px;
    margin-top: 6px;
    box-shadow: 0 0 0 1px var(--tg-line), 0 16px 36px rgba(0, 9, 30, 0.16);
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .sq-teg-agent__card::before,
  .sq-teg-agent__card::after { content: none; }
  .sq-teg-agent--panel .sq-teg-agent__card,
  .sq-teg-agent--below .sq-teg-agent__card { width: 100%; transform: none; }
  .sq-teg-agent.is-open .sq-teg-agent__card,
  .sq-teg .sq-teg-agent__btn:focus-visible + .sq-teg-agent__card,
  .sq-teg-agent__card:focus-within { display: block; animation: sq-teg-card-in 0.25s ease both; }
  .sq-teg .sq-teg-agent.is-dismissed .sq-teg-agent__card { display: none; }
}
@keyframes sq-teg-card-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* Tablets: one column for the split sections. */
@media only screen and (max-width: 991px) {
  .sq-teg-hero__copy,
  .sq-teg-ticket,
  .sq-teg-about .sq-teg-h2,
  .sq-teg-about__copy,
  .sq-teg-stand__title,
  .sq-teg-stand__intro,
  .sq-teg-show__head > div,
  .sq-teg-show__head > p,
  .sq-teg-why__head > div,
  .sq-teg-why__intro,
  .sq-teg-details__head > div,
  .sq-teg-details__intro,
  .sq-teg-faq__head,
  .sq-teg-faq__list { grid-column: 1 / -1; }
  .sq-teg-hero__grid { row-gap: 48px; }
  /* Tablet ticket: booth on the left, coupon stub on the right. */
  .sq-teg-ticket { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .sq-teg-ticket__band { min-height: 48px; padding: 6px 5cqi 6px 6cqi; }
  .sq-teg-ticket__band span:last-child { display: inline; }
  .sq-teg-ticket__body { padding: 4cqi 5cqi 4.5cqi 6cqi; }
  .sq-teg-ticket__coupon { flex-direction: column; align-items: flex-start; }
  .sq-teg-ticket__stub {
    align-content: space-between;
    gap: 4cqi;
    padding: calc(48px + 4cqi) 5cqi 5cqi;
    /* Flat two-colour fill: the blue band continues across the top of the stub. */
    background: linear-gradient(var(--tg-blue) 48px, var(--tg-paper) 48px);
    border-top: 0;
    border-left: 2px dashed rgba(0, 0, 0, 0.55);
    border-radius: 0 28px 28px 0;
    --tg-notch-a: 0 0;
    --tg-notch-b: 0 100%;
  }
  .sq-teg-ticket__main { --tg-notch-a: 100% 0; --tg-notch-b: 100% 100%; border-radius: 28px 0 0 28px; }
  .sq-teg-about__grid { row-gap: 24px; }
  .sq-teg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; margin-top: 16px; border-top: 0; }
  .sq-teg-stats > div { padding: 20px 16px 0 0; border-top: 1px solid var(--tg-line); }
  .sq-teg-stats > div + div { padding-left: 0; border-left: 0; }
}

@media only screen and (max-width: 800px) {
  .sq-teg-ticket__band span:last-child { display: none; }
}

@media only screen and (max-width: 767px) {
  .sq-teg-meta { gap: 16px 32px; margin-top: 40px; }
  /* Phones: number and name on the left, brochure cover on the right, text below. */
  /* Details: heading block back to one column, day tiles below the text. */
  /* Details tiles: one per row; the venue map moves above the text. */
  .sq-teg-facts .sq-teg-fact { grid-column: 1 / -1; }
  .sq-teg-fact--venue dd { grid-template-columns: minmax(0, 1fr); }
  .sq-teg-map { order: -1; height: 180px; min-height: 0; }
  .sq-teg-fact--time dd { flex-direction: row; align-items: center; }
  .sq-teg-fact--time .sq-teg-clock { align-self: center; width: 96px; }
  .sq-teg-qa > p { padding-right: 0; }
  .sq-teg-stand__frame { border-radius: 18px; }
  .sq-teg-stand__plate { gap: 10px; padding: 7px 16px 7px 7px; border-width: 2px; border-radius: 12px; }
  .sq-teg-stand__plate::after { inset: -6px; border-width: 2px; border-radius: 15px; }
  .sq-teg-stand__plate-pin { width: 36px; height: 36px; border-radius: 9px; }
  .sq-teg-stand__plate-pin svg { width: 20px; height: 20px; }
  .sq-teg-stand__plate-text { gap: 3px; }
  .sq-teg-stand__plate-text span { font-size: 12px; letter-spacing: 0.24em; }
  .sq-teg-stand__plate-text strong { font-size: clamp(1.375rem, 1rem + 1.5vw, 1.75rem); }
}

@media only screen and (max-width: 575px) {
  .sq-teg .sq-teg-btn { min-height: 52px; padding: 8px 24px; }
  /* Details: day tiles share the width, fact tiles one per row. */
  .sq-teg-facts { gap: 12px; }
  .sq-teg-fact { border-radius: 20px; }
  .sq-teg-fact--dates .sq-teg-btn,
  .sq-teg-fact--venue .sq-teg-btn { width: 100%; }
  /* Phones: stage on top again. */
  .sq-teg-demo__card { flex-direction: column; }
  .sq-teg-demo__stage { flex: none; height: 250px; min-height: 0; }
  .sq-teg .sq-teg-demo__poster { width: min(42%, 150px); }
  .sq-teg-show__cta .sq-teg-btn { width: 100%; }
  .sq-teg-hero .sq-teg-actions,
  .sq-teg-details .sq-teg-actions,
  .sq-teg-cta .sq-teg-actions { flex-direction: column; align-items: stretch; width: 100%; }
  /* Phone ticket: stacked again, stub below the booth number. */
  .sq-teg-ticket { display: block; }
  .sq-teg-ticket__main { --tg-notch-a: 0 100%; --tg-notch-b: 100% 100%; border-radius: 22px 22px 0 0; }
  .sq-teg-ticket__band { padding: 6px 7cqi; }
  .sq-teg-ticket__body { padding: 6cqi 7cqi 7cqi; }
  .sq-teg-ticket__coupon { flex-direction: row; align-items: center; }
  .sq-teg-ticket__stub {
    align-content: normal;
    gap: 5cqi;
    padding: 6cqi 7cqi;
    background: var(--tg-paper);
    border-top: 2px dashed rgba(0, 0, 0, 0.55);
    border-left: 0;
    border-radius: 0 0 22px 22px;
    --tg-notch-a: 0 0;
    --tg-notch-b: 100% 0;
  }
  /* Reasons: drawing on top again. Team: two per row. */
  .sq-teg-reason { display: flex; align-items: stretch; padding: 12px 12px 24px; }
  .sq-teg-reason__art { height: 180px; min-height: 0; }
  .sq-teg-reason .sq-teg-h3 { margin: 22px 12px 0; }
  .sq-teg-reason p { margin: 10px 12px 0; }
  .sq-teg-team__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sq-teg-team__list li { padding: 18px 16px; }
  .sq-teg-team__av { width: 52px; height: 52px; margin-bottom: 10px; font-size: 16px; }
  .sq-teg-team__list strong { font-size: 17px; }
  .sq-teg-qa summary { gap: 16px; padding: 20px 0; }
  /* Stand: smaller plate. */
  .sq-teg-stand__frame { border-radius: 14px; }
  .sq-teg-stand__plate { gap: 8px; padding: 5px 12px 5px 5px; }
  .sq-teg-stand__plate-pin { width: 30px; height: 30px; border-radius: 8px; }
  .sq-teg-stand__plate-pin svg { width: 17px; height: 17px; }
  .sq-teg-stand__plate-text { gap: 2px; }
  .sq-teg-stand__plate-text span { font-size: 12px; letter-spacing: 0.16em; }
  .sq-teg-stand__plate-text strong { font-size: 1.25rem; }
}

@media only screen and (max-width: 480px) {
  .sq-teg-ticket__band span:last-child { display: none; }
  .sq-teg-stats > div { padding-right: 8px; }
  .sq-teg-stats dd { font-size: clamp(2rem, 1.25rem + 3.75vw, 2.5rem); }
}

@media only screen and (max-width: 389px) {
  .sq-teg-ticket__coupon { flex-direction: column; align-items: flex-start; }
  .sq-teg .sq-teg-copy { width: 100%; justify-content: space-between; }
}
