/* One purpose at a time. The links remain usable without JavaScript. */
.tgx-hero { padding-block: 32px 38px; }
.tgx-positioning { color: #536753; font-size: 14px; margin-bottom: 20px; }
.tgx-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tgx-choices a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 18px; min-height: 46px; border: 1px solid #d3ddcd; border-radius: 8px; text-decoration: none; font-size: 13px; background: #f8f9f2; }
.tgx-choices a:hover { background: #e8efdc; }
.tgx-choices a[aria-current="true"] { background: #173f35; color: #f5f7e9; border-color: #173f35; }
.tgx-choices svg { width: 19px; height: 19px; flex-shrink: 0; }
.tgx-hero-main { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: center; }
.tgx-hero-main > *, .tgx-feature-grid > *, .tgx-screen-gallery > * { min-width: 0; }
.tgx-copy h1 { font-size: clamp(34px, 4.1vw, 58px); line-height: 1.21; white-space: pre-line; letter-spacing: -.055em; font-weight: 600; margin: 20px 0 24px; }
.tgx-copy .tg-lead { max-width: 530px; font-size: 16px; line-height: 1.9; }
.tgx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.tgx-actions .tg-text-link { font-size: 12px; }
.tgx-credit { margin-top: 22px; color: #607454; font-size: 12px; }
.tgx-visual { margin: 0; min-width: 0; }
.tgx-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; min-height: 430px; padding: 24px 28px 20px; border-radius: 15px; overflow: hidden; background: #e5eddc; }
.tgx-stage-label { display: flex; justify-content: space-between; width: 100%; color: #365d44; font-size: 10px; letter-spacing: .16em; gap: 10px; }
.tgx-stage-label > span:last-child { font-size: 20px; }
.tgx-screen-pair { width: 100%; display: flex; justify-content: center; align-items: center; gap: 16px; padding: 14px 0 20px; }
.tgx-screen { display: block; width: 40%; max-width: 176px; height: auto; border: 5px solid #20392d; border-radius: 18px; box-shadow: 0 16px 30px #15342625; background: #20392d; }
.tgx-screen-pair .tgx-screen:first-child { transform: translateY(-5px) rotate(-4deg); }
.tgx-screen-pair .tgx-screen:last-child { transform: translateY(8px) rotate(4deg); }
.tgx-stage-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; width: 100%; font-size: 11px; color: #36533d; border-top: 1px solid #c9d6bc; padding-top: 15px; }
.tgx-visual figcaption { font-size: 11px; line-height: 1.7; color: #677462; margin-top: 12px; }
.tgx-camera-guide { width: 100%; height: auto; display: block; margin-block: 18px; border-radius: 10px; }
.tgx-stage-swing-camera { background: #e1e8d9; }
.tgx-stage-swing-editing { background: #eee9d9; }
.tgx-stage-round-records { background: #e3e8d7; }
.tgx-round-screen { width: 44%; margin: 12px 0 24px; transform: rotate(5deg); z-index: 1; }
.tgx-round-word { position: absolute; top: 90px; left: 24px; color: #a2b18c; font: 600 clamp(45px, 6vw, 82px)/.95 'DM Sans', sans-serif; letter-spacing: -.07em; }
.tgx-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tgx-feature-grid .tg-feature-card { padding-inline: 0; }
.tgx-course-search { display: flex; align-items: center; justify-content: space-between; gap: 35px; border-top: 1px solid #d8dfd0; padding-top: 46px; }
.tgx-course-search h2 { margin-top: 10px; font-size: 32px; font-weight: 500; }
.tgx-course-search .tg-search { width: min(100%, 560px); margin: 0; }
.tgx-index-heading { padding-top: 45px; }
.tgx-index-heading h1 { font-size: clamp(34px, 4vw, 56px); margin-block: 20px; line-height: 1.25; font-weight: 500; }
.tgx-index-heading .tg-lead { max-width: 650px; }
.tgx-purpose-section { padding-top: 36px; }
.tgx-screens-band { background: #eef1e5; }
.tgx-screen-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.tgx-screen-gallery h3 { font-size: 20px; margin-bottom: 22px; font-weight: 500; }
.tgx-screen-gallery h3 a { text-decoration: none; }
.tgx-screen-gallery h3 a:hover { text-decoration: underline; }
.tgx-screen-gallery .tgx-stage { padding: 18px 16px; min-height: 330px; }
.tgx-screen-gallery .tgx-stage-label { font-size: 9px; letter-spacing: .1em; }
.tgx-screen-gallery .tgx-screen-pair { gap: 9px; }
.tgx-screen-gallery .tgx-screen { width: 44%; border-width: 3px; border-radius: 12px; }
.tgx-screen-gallery .tgx-stage-tags { font-size: 10px; gap: 6px; }
.tgx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1000px) {
  .tgx-hero-main { gap: 32px; }
  .tgx-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tgx-stage { min-height: 380px; padding: 20px; }
  .tgx-screen-gallery { grid-template-columns: 1fr; gap: 34px; }
  .tgx-screen-gallery article { display: grid; grid-template-columns: 1fr 2fr; gap: 25px; }
  .tgx-screen-gallery .tgx-stage { min-height: 360px; }
  .tgx-screen-gallery .tgx-screen { max-width: 145px; }
}
@media (max-width: 760px) {
  .tgx-hero { padding-block: 25px 20px; }
  .tgx-hero-main { grid-template-columns: 1fr; gap: 30px; }
  .tgx-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 27px; }
  .tgx-choices a { padding: 11px 8px; font-size: 12px; }
  .tgx-positioning { font-size: 13px; line-height: 1.7; }
  .tgx-copy h1 { font-size: clamp(31px, 7.5vw, 44px); margin-block: 17px 20px; }
  .tgx-copy .tg-lead { font-size: 14px; line-height: 1.8; }
  .tgx-actions { gap: 16px; margin-top: 24px; }
  .tgx-actions .tg-button { padding-inline: 18px; font-size: 12px; }
  .tgx-credit { margin-top: 16px; font-size: 11px; }
  .tgx-stage { min-height: 350px; }
  .tgx-screen { width: 41%; max-width: 155px; }
  .tgx-visual { max-width: 540px; margin-inline: auto; }
  .tgx-course-search { flex-direction: column; align-items: stretch; gap: 20px; }
  .tgx-screen-gallery article { display: block; }
  .tgx-feature-grid { gap: 18px; }
}
@media (max-width: 400px) {
  .tgx-feature-grid { grid-template-columns: 1fr; }
  .tgx-stage { padding: 18px 14px; min-height: 320px; }
  .tgx-stage-tags { font-size: 10px; gap: 7px; }
  .tgx-screen-pair { gap: 12px; }
}
