/*
Theme Name: TBS
Theme URI: https://www.tbsi-us.com/
Author: Aukrim.com
Description: TBS site theme extracted from static prototype.
Version: 0.1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@700;800&display=swap');

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap");

body {
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  color: #000;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

h1, h2 {
  font-family: "Manrope", sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

:lang(en) body {
  font-family: "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 999;
  margin: 15px 30px 0;
}

.header-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  border-radius: 50px;
}

.site-header.is-scrolled .header-inner {
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.brand img {
  width: 337px;
  max-width: 100%;
  height: auto;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-grow: 1;
  justify-content: space-around;
}

.desktop-nav a,
.lang-switch a,
.lang-switch .current-lang {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.desktop-nav > a {
  text-decoration: none;
  color: inherit;
  padding: 6px 0;
  white-space: nowrap;
  position: relative;
}

.desktop-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 2px;
  background: #0050ff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 100ms ease-out;
}

.desktop-nav > a:hover,
.desktop-nav > a:focus-visible {
  color: #0050ff;
}

.desktop-nav > a:hover::after,
.desktop-nav > a:focus-visible::after {
  transform: scaleX(1);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-switch a {
  color: #0050ff;
  text-decoration-line: underline;
  text-decoration-color: #0050ff;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  color: #000;
  text-underline-offset: 4px;
}

.lang-switch .separator {
  opacity: 0.5;
}

.lang-switch .current-lang {
  font-weight: 700;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 20px;
  background: #0050ff;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.menu-toggle:hover {
  opacity: 0.9;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 80vw);
  background: #0050ff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu.open {
  pointer-events: auto;
}

.mobile-menu.open .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu.open .mobile-menu__panel {
  transform: translateX(0);
}

.menu-close {
  display: flex;
  justify-content: end;
}

.menu-close__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 10px;
  background: #FFF;
  color: #0050ff;
  border: none;
  border-radius: 999px;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  line-height: 1;
}

.menu-close__text {
  font-size: 15px;
}

.menu-close__icon {
  font-size: 20px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.mobile-nav a {
  text-decoration: none;
  color: inherit;
  font-size: 16px;
  color: #FFF;
}

.mobile-nav a:hover {
  text-decoration-line: underline;
  text-decoration-color: #FFF;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.mobile-nav .lang-switch {
  margin-top: 50px;
}

.mobile-nav .lang-switch a {
  text-decoration-line: underline;
  text-decoration-color: #FFF;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.mobile-nav .lang-switch a:hover {
  text-decoration-line: underline;
  text-decoration-color: #000;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

body.menu-open {
  overflow: hidden;
}

main {
  max-width: none;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.hero {
  position: relative;
  aspect-ratio: 1440 / 640;
  width: 100vw;
  margin: 0 calc(50% - 50vw) 0;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  box-shadow: none;
}

.hero--home {
  aspect-ratio: 16 / 9;
}

.hero--sub {
  aspect-ratio: 1440 / 450;
}

.hero--page {
  background: linear-gradient(90deg, #0050ff 0%, #003099 100%);
  aspect-ratio: auto;
  height: 305px;
}

.hero--page .hero__content {
  align-items: center;
  justify-content: center;
  padding: 60px 24px 0;
}

.hero--page .hero__text {
  max-width: 1200px;
  width: 100%;
  text-align: left;
  text-shadow: none;
}

.hero__title {
  margin: 0;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 1.5;
  color: transparent;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero--page .hero__picture {
  display: none;
}

@media (max-width: 768px) {
  .hero__title {
    line-height: 1.2;
  }

  .hero--page {
    height: 245px;
  }

  .hero--page .hero__content {
    align-items: flex-end;
    padding: 0 20px 40px;
  }
}

.hero__picture,
.hero__image {
  position: absolute;
  inset: 0;
}

.hero__picture {
  z-index: 0;
}

.hero__video-wrap {
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 110%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero--home .hero__video {
    width: 250%;
    height: 120%;
  }
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.hero__text {
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.45);
  max-width: 980px;
  gap: 24px;
  display: grid;
  text-align: left;
  line-height: 1;
}

.media-gallery {
  padding: 90px 24px 70px;
  background: #f4f7ff;
}

.media-gallery__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.media-gallery__item {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.media-gallery__image {
  display: block;
  width: 100%;
  height: auto;
}

.media-gallery__caption {
  margin: 0;
  padding: 10px 0 15px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.intro-band {
  background: #FFF;
  padding: 50px 24px 60px;
}

.intro-band__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.intro-band__text {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
  color: #0f172a;
}

.team {
  padding: 40px 24px 110px;
}

.team__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

.team__block {
  display: grid;
  gap: 16px;
}

.team__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #0f172a;
}

.team__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.team__image {
  width: 100%;
  height: auto;
  display: block;
}

.team__actions {
  justify-content: center;
}

.media {
  padding: 20px 24px 100px;
}

.media__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 30px;
}

.media__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.media-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.media-card__banner {
  display: block;
  border: 1px solid #000;
  background: #fff;
}

.media-card--news .media-card__banner {
  border-color: #0000ff;
}

.media-card__image {
  display: block;
  width: 100%;
  height: auto;
}

.media-card__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #0f172a;
}

.media-card__actions {
  margin-top: auto;
  justify-content: center;
}

.podcast {
  max-width: 900px;
  margin: 2em auto 0;
  display: grid;
  grid-template-columns: 267px 1fr;
  gap: 3em;
  align-items:flex-start;
}

.podcast__thumb {
  display: block;
  width: 100%;
  max-width: 267px;
}

.podcast__image {
  width: 100%;
  height: auto;
  display: block;
}

.podcast__body {
  display: grid;
  gap: 10px;
}

.podcast__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.podcast__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #0f172a;
}

.podcast__actions {
  display: flex;
  justify-content: center;
  margin-top: 1em;
}

.podcast__platform-image {
  width: 258px;
  height: auto;
  display: block;
}

.services {
  padding: 40px 24px 110px;
}

.services__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 90px;
}

.service-section {
  display: grid;
  gap: 28px;
}

.service-section__header {
  display: grid;
  gap: 14px;
}

.service-section__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #0f172a;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.service-card {
  background: #F3F3F9;
  box-shadow: 5px 5px 0 #0050FF;
  color: #fff;
  padding: 22px 24px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.service-card__title {
  color: #0050FF;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

html[lang="en"] .service-card__title,
html[lang="en-US"] .service-card__title {
  font-size: 26px;
}

.service-card__title span,
.service-card__text span {
  display: inline-block;
}

.service-card__text {
  color: #171C26;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.media-gallery--sports .media-gallery__inner {
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}

.media-gallery__item--masters {
  grid-area: masters;
}

.media-gallery__item--world {
  grid-area: world;
}

.media-gallery__item--event {
  grid-area: event;
}

@media (min-width: 960px) {
  .media-gallery--sports .media-gallery__inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "masters world"
      "event world";
    gap: 28px;
  }
}

.hero__headline {
  min-height: 184px;
}

.slide-text {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(23px, 5vw, 52px);
  line-height: 72px;
  letter-spacing: 0.15em;
  color: #fff;
  text-align: left;
}

.slide-text .segment {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
}

.slide-text .large {
  font-size: clamp(32px, 6vw, 75px);
}

.slide-text .subline {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-align: center;
  opacity: 0;
  display: block;
}

.hero--gradient {
  background: linear-gradient(90deg, #1b7dff 0%, #0040b5 50%, #001c6b 100%);
}

.hero--gradient .hero__picture {
  display: none;
}

.hero--sub .hero__content {
  justify-content: flex-start;
  align-items: center;
  padding-inline: max(30px, calc(50vw - 600px));
}

.hero--sub .hero__text {
  max-width: 1200px;
  text-align: left;
}

.hero--sub .hero__lead {
  font-size: clamp(28px, 3vw, 40px);
}

.hero--sub .hero__tagline {
  font-size: clamp(18px, 2.3vw, 24px);
}

.about-intro {
  padding: 80px 24px 0;
}

.about-intro__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 5em;
  align-items: center;
}

.about-intro__col--title {
  align-self: center;
}

.section-title {
  margin: 0;
  color: #0050ff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
}

.body-text {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.profile {
  padding: 80px 24px 100px;
}

.profile__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.profile__table {
  display: grid;
  border-top: 1px solid #CED1D9;
  overflow: hidden;
}

.profile-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: stretch;
  min-height: 72px;
}

.profile-row__label,
.profile-row__value {
  padding: 16px 18px;
  border-bottom: 1px solid #CED1D9;
  display: flex;
  align-items: center;
}

.profile-row__label {
  font-weight: 700;
  font-size: 18px;
  color: #374151;
  background-color: rgba(235,235,245,.6);
}

.profile-row__value {
  color: #111827;
  font-size: 18px;
}

.partner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  min-width: 70%;
  padding-inline: 16px;
  margin: 0 auto;
  box-sizing: border-box;
}

.partner-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border: 2px solid #0050ff;
  border-radius: 12px;
  color: #0050ff;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.1;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.2s ease;
  min-height: 76px;
  flex: 1 1 calc(50% - 10px);
  max-width: calc(50% - 10px);
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.partner-button--image {
  padding: 12px 24px;
}

.partner-button:hover,
.partner-button:focus-visible {
  background: #dcdbff;
}

.partner-button__icon svg {
  width: auto;
  height: 30px;
}

.partner-button__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

.partner-buttons--single {
  justify-content: center;
}

.partner-buttons--single .partner-button {
  max-width: 600px;
  width: 100%;
  flex: 0 1 600px;
  padding: 20px 30px;
}

@media (max-width: 768px) {
  .about-intro {
    padding: 30px 24px 0;
  }

  .about-intro__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-title {
    font-size: 36px;
  }

  .body-text {
    font-size: 14px;
    line-height: 21px;
  }

  .profile {
    padding: 60px 20px 80px;
  }

  .profile__table {
    border-radius: 10px;
  }

  .profile-row {
    grid-template-columns: 120px 1fr;
  }

  .profile-row__label,
  .profile-row__value {
    padding: 14px 16px;
  }

  .profile-row__label {
    font-size: 14px;
  }

  .profile-row__value {
    font-size: 13px;
  }

  .partner-buttons {
    width: 100%;
    gap: 12px;
    padding-inline: 0;
  }

  .partner-button {
    width: 100%;
    justify-content: space-between;
    font-size: 26px;
    min-height: 64px;
    flex: 1 1 100%;
    max-width: 100%;
    padding: 12px 16px;
  }

  .partner-button__image {
    max-height: 38px;
    width: auto;
  }

  .partner-button--image {
    padding: 12px 16px;
  }

  .partner-button__icon svg {
    height: 34px!important;
    vertical-align: bottom!important;
  }

  .partner-buttons--single {
    justify-content: center;
  }

  .partner-buttons--single .partner-button {
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  .partner-button {
    flex-basis: 100%;
  }
}

.history {
  padding: 80px 24px;
}

.history__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

.history__list {
  position: relative;
  display: grid;
  gap: 28px;
}

.history__list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 55px;
  width: 1px;
  border-left: 2px dashed #81899C;
}

.history__item {
  display: grid;
  grid-template-columns: 115px 60px 1fr 345px;
  align-items: center;
  gap: 30px;
  position: relative;
}

html[lang="en"] .history__item,
html[lang="en-US"] .history__item {
  grid-template-columns: 115px 100px 1fr 345px;
}

.history__year {
  background: #0050ff;
  color: #fff;
  font-weight: 700;
  font-size: 28px;
  min-width: 70px;
  line-height: 1;
  padding: 10px 15px;
  border-radius: 999px;
  text-align: center;
  z-index: 1;
}

.history__year--empty {
  visibility: hidden;
}

.history__month {
  font-weight: 700;
  font-size: 20px;
  color: #000;
}

.history__text {
  margin: 0;
}

.history__media img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
}

.section-heading {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
}

.section-subheading {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .history__item {
    grid-template-columns: 100px 60px 1fr;
  }

  .history__media {
    grid-column: 1 / -1;
    padding-left: 140px;
  }

  .history__media img {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .history {
    padding: 60px 20px;
  }

  .history__list {
    gap: 12px;
}

  .history__list::before {
    left: 35px;
  }

  .history__item {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 12px 16px;
  }

  .history__month {
    font-size: 18px;
    grid-column: 2;
  }

  .history__content {
    grid-column: 2;
  }

  .history__media {
    grid-column: 1 / -1;
    padding-left: 90px;
  }

  .history__year {
    font-size: 18px;
    padding: 5px 15px;
    justify-self: start;
  }
}

.about-map {
  padding: 80px 24px 60px;
  display: flex;
  justify-content: center;
}

.about-map__inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  background-color: #F3F3F9;
  padding: 3em;
}

.about-map__diagram {
  width: 100%;
  max-width: 865px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.about-map__orbit {
  fill: none;
  stroke: #0050ff;
  stroke-dasharray: 1 12;
  stroke-width: 6px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-map__node {
  fill: #fff;
  stroke: #0050ff;
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.2s ease;
}

.about-map__dot {
  fill: #0050ff;
}

.about-map__label {
  fill: #fff;
}

.about-map__link {
  cursor: pointer;
}

.about-map__link:hover .about-map__node,
.about-map__link:focus-visible .about-map__node {
  fill: #dcdcff;
}

@media (max-width: 768px) {
  .about-map {
    padding: 30px 24px 60px;
  }
  .about-map__inner {
    padding: 2em;
  }
}

.office__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.office-locations {
  margin: 48px 0 100px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.office-location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 32px;
  align-items: center;
}

.office-location__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.office-location__title,
.office-location__subtitle {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}

.office-location__detail {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  margin-top: 1em;
}

.office-location__info .office-location__detail:first-of-type {
  flex-direction: column;
  gap: 0.25em;
  margin-top: 2em;
}

.office-location__info .office-location__detail + .office-location__detail {
  margin-top: 0.5em;
}

html[lang="en"] .office-location__detail,
html[lang="en-US"] .office-location__detail {
  font-size: 18px;
}

.office-location__label {
  white-space: nowrap;
  font-weight: 400;
}

.office-location__info .office-location__detail:first-of-type .office-location__label {
  display: block;
  white-space: normal;
}

.office-location__map {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin:0 auto;
}

.office-location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.us-map-state {
  fill: #9fa6a8;
}

.us-map-pin {
  fill: #0050ff;
}

.us-map-label {
  text-decoration: none;
}

.us-map-label-bg {
  fill: #0050ff;
  transition: fill 0.2s ease;
}

.us-map-label-text {
  fill: #fff;
  font-size: 18px;
  font-weight: 700;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
}

.us-map-label:hover .us-map-label-bg,
.us-map-label:focus-visible .us-map-label-bg {
  fill: #000;
}

@media (max-width: 768px) {
  .office {
    padding: 60px 20px;
  }

  .office-locations {
    gap: 32px;
    margin-top: 32px;
  }

  .office-location {
    grid-template-columns: 1fr;
  }

  .office-location__title,
  .office-location__subtitle {
    font-size: 22px;
  }

  .office-location__subtitle {
    font-size: 20px;
  }

  .office-location__detail {
    font-size: 14px;
    gap: 6px;
    margin-top: 0.25em!important;
  }
}

.mission {
  padding: 100px 0;
}

.mission__inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 48px;
}

.mission__body {
  display: flex;
  justify-content: center;
}

.mission__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.news {
  padding: 0 24px 120px;
  background: #fff;
}

.news__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.news__title {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 6vw, 72px);
}

.news__item {
  display: grid;
  grid-template-columns: 390px 1fr;
  grid-template-areas: "image content";
  gap: 20px;
  text-decoration: none;
  align-items: center;
  padding: 0;
  border-radius: 0;
  border-radius: 10px;
  background: #F3F3F9;
  color: inherit;
  transition: background-color 0.3s ease;
}

.news__item:hover,
.news__item:focus-visible {
  background: #dcdbff;
}

.news__media {
  grid-area: image;
  max-width: 390px;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 10px 0 0 10px;
  display: block;
}

.news__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.news__item:hover .news__image,
.news__item:focus-visible .news__image {
  opacity: 0.9;
}

/* News archive */
.news-archive {
  padding: 80px 24px;
}

.news-archive__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 30px;
  margin-top: 50px;
}

.news-archive__list {
  display: grid;
  gap: 14px;
}

.news-archive__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.news-archive__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.news-archive__pagination .page-numbers.current {
  background: #0050ff;
  color: #fff;
  border-color: #0050ff;
}

.news-archive__pagination .page-numbers:hover {
  background: #dcdbff;
  border-color: #0050ff;
}

.news__content {
  grid-area: content;
  display: grid;
  gap: 10px;
  padding: 10px 20px;
}

.news__date {
  font-size: clamp(18px, 20px, 24px);
  font-weight: 700;
  color: #0050ff;
  letter-spacing: 0.05em;
}

.news__headline {
  font-size: clamp(18px, 22px, 28px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  min-height: calc(1.4em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news__excerpt {
  font-size: clamp(14px, 16px, 18px);
  color: #334155;
  line-height: 1.6;
  min-height: calc(1.6em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section-actions {
  display: flex;
  justify-content: center;
}

.mission__text {
  --mission-line-count: 3;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 3.2vw, 42px);
  line-height: 1.9;
  letter-spacing: 0;
  color: #000;
  text-align: center;
  display: grid;
  gap: 6px;
  min-height: calc(1em * 1.9 * var(--mission-line-count) + 12px);
}

.mission__text div {
  white-space: nowrap;
}

.mission__text .mission__line {
  display: block;
}

.mission__text .segment {
  display: inline-block;
  opacity: 0;
  transform: translateY(36px);
  will-change: transform, opacity;
}

.mission__text .segment + .segment {
  margin-left: 0.05em;
}

.mission__text span {
  display: inline-block;
}

.mission__text .blue {
  color: #0050ff;
}

.creation-showcase {
  padding: 50px 0;
  background-color: #0055ff;
  color: #fff;
  overflow-x: hidden;
}

.creation-showcase__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.creation-showcase__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5em;
  margin: 1.5em 0;
}

.creation-card {
  display: grid;
  align-content: start;
}

.creation-card__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.creation-card__caption {
  margin: 0;
  padding: 10px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  background: #0050ff;
  color: #fff;
}

.creation-card__actions {
  margin-top: 1.5em;
  display: flex;
  justify-content: center;
}

.creation-partners {
  padding: 80px 24px 110px;
}

.creation-partners__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

.creation-partners__block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
}

.creation-partners__block--reverse {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.creation-partners__block--reverse .creation-partners__media {
  order: 2;
}

.creation-partners__block--reverse .creation-partners__content {
  order: 1;
}

.creation-partners__media img {
  width: 100%;
  height: auto;
  display: block;
}

.creation-partners__content {
  display: grid;
  gap: 12px;
}

.creation-partners__title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}

.creation-partners__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #0f172a;
}

.creation-partners__catalog {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  margin-top: 2em;
}

.creation-partners__note {
  text-align: center;
  font-size: 14px;
  color: #0f172a;
}

.creation-partners__catalog .partner-button {
  max-width: 600px;
  width: 100%;
  flex: 0 0 auto;
  min-height: 56px;
}

.creation-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
}

.creation-modal.is-open {
  display: flex;
}

.creation-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.creation-modal__dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  max-width: 1200px;
  width: min(1200px, calc(100vw - 20px));
  max-height: calc(100vh - 100px);
  border-radius: 20px;
  overflow: visible;
  display: grid;
  grid-template-rows: 1fr auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.creation-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.creation-modal__body {
  padding: 50px 100px;
  overflow-y: auto;
  display: grid;
  gap: 18px;
}

.creation-modal__hero {
  width: 100%;
  display: block;
}

.creation-modal__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.creation-modal__content {
  display: grid;
  gap: 12px;
}

.creation-modal__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
}

.creation-modal__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #0f172a;
}

.creation-modal__media {
  display: grid;
  gap: 30px;
}

.creation-modal__media-row {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 20px;
  align-items: center;
}

.creation-modal__media-row img {
  width: 100%;
  height: auto;
  display: block;
}

.creation-modal__media-body {
  display: grid;
  gap: 6px;
}

.creation-modal__media-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.creation-modal__media-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #334155;
}

.creation-modal__nav {
  padding: 20px 100px 40px 100px;
  background: #fff;
  position: sticky;
  border-radius: 20px;
  bottom: 0;
}

.creation-modal__nav-container {
  border-top: 2px solid #0050ff;
  padding-top: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.creation-modal__nav-button {
  border: none;
  background: #0050ff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.creation-modal__nav-icon {
  width: 20px;
  height: 20px;
  background: #fff;
  mask: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20id%3D%22arrow-right%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20417.1%20420.17%22%3E%0A%3Cpath%20d%3D%22M285.44%2C279.24c14.68-12.91%2C27.85-25.63%2C40.76-40.71l-149.07.89-124.92%2C1.09c-11.34.1-21.84.53-32.39-2.62C7.44%2C234.2.56%2C224.09.03%2C211.51c-.6-14.27%2C7.48-25.45%2C21.6-28.95%2C10.85-2.69%2C21.81-2.95%2C33.63-2.34l177.74-1.45%2C75.31-.39-53.99-56.16-65.87-70.84c-13-13.98-10.64-33.54%2C3.95-44.69%2C10.73-8.21%2C26.88-9.84%2C36.84.8%2C56.96%2C60.82%2C113.23%2C121.57%2C173.19%2C179.41%2C14.99%2C14.46%2C21.16%2C36.54%2C5.58%2C52.85l-32.08%2C33.57c-18.01%2C18.85-34.83%2C37.28-54.56%2C54.42l-50.31%2C43.69c-13.74%2C11.93-26.02%2C24.31-37.92%2C38.02-9.08%2C10.46-23.28%2C13.65-35.48%2C7.91s-19.7-18.87-16.31-32.72c4.78-19.57%2C27.57-39.52%2C42.83-52.24%2C11.42-9.52%2C22.19-18.77%2C33.31-28.55l27.95-24.58Z%22/%3E%0A%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20id%3D%22arrow-right%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20417.1%20420.17%22%3E%0A%3Cpath%20d%3D%22M285.44%2C279.24c14.68-12.91%2C27.85-25.63%2C40.76-40.71l-149.07.89-124.92%2C1.09c-11.34.1-21.84.53-32.39-2.62C7.44%2C234.2.56%2C224.09.03%2C211.51c-.6-14.27%2C7.48-25.45%2C21.6-28.95%2C10.85-2.69%2C21.81-2.95%2C33.63-2.34l177.74-1.45%2C75.31-.39-53.99-56.16-65.87-70.84c-13-13.98-10.64-33.54%2C3.95-44.69%2C10.73-8.21%2C26.88-9.84%2C36.84.8%2C56.96%2C60.82%2C113.23%2C121.57%2C173.19%2C179.41%2C14.99%2C14.46%2C21.16%2C36.54%2C5.58%2C52.85l-32.08%2C33.57c-18.01%2C18.85-34.83%2C37.28-54.56%2C54.42l-50.31%2C43.69c-13.74%2C11.93-26.02%2C24.31-37.92%2C38.02-9.08%2C10.46-23.28%2C13.65-35.48%2C7.91s-19.7-18.87-16.31-32.72c4.78-19.57%2C27.57-39.52%2C42.83-52.24%2C11.42-9.52%2C22.19-18.77%2C33.31-28.55l27.95-24.58Z%22/%3E%0A%3C/svg%3E")
    center / contain no-repeat;
}

.creation-modal__nav-icon--prev {
  transform: scaleX(-1);
}

.creation-modal-data {
  display: none;
}

@media (max-width: 768px) {
  .creation-modal__dialog {
    width: min(1200px, calc(100vw - 20px));
    max-height: calc(100vh - 100px);
  }

  .creation-modal__body {
    padding: 10px;
  }

  .creation-modal__title {
    font-size: 18px;
  }

  .creation-modal__lead {
    font-size: 14px;
  }
  
  .creation-modal__nav {
    padding: 10px;
  }

  .creation-modal__nav-container {
    padding-top: 10px;
  }

  .creation-modal__media {
    gap: 20px;
  }

  .creation-modal__media-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .creation-modal__media-text {
    font-size: 14px;
  }
}

.creation-showcase__title {
  margin: 0;
  background: #0055ff;
  color: #fff;
  padding: 12px 18px;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 50px;
  display: inline-block;
}

.creation-showcase__slider {
  margin: 0 auto;
  position: relative;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.creation-showcase__slider.is-ready {
  visibility: visible;
  opacity: 1;
}

.creation-showcase__slider .slick-slide {
  padding: 0 12px;
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1);
}

.creation-showcase__slide {
  display: block;
}

.creation-showcase__slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.creation-showcase__slider .slick-list {
  overflow: visible;
}

.creation-showcase__slider .slick-slide {
  transform: scale(0.94);
}

.creation-showcase__slider .slick-slide.is-zooming {
  transform: scale(1.06);
  z-index: 2;
}

.creation-showcase__slider .slick-slide img {
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1);
}

.creation-showcase__slider .slick-slide.is-zooming img {
  transform: scale(1.02);
}

.creation-showcase__slider .slick-prev,
.creation-showcase__slider .slick-next {
  z-index: 2;
}

.creation-showcase__slider .slick-prev:before,
.creation-showcase__slider .slick-next:before {
  color: #fff;
  font-size: 28px;
}

.creation-showcase__text {
  margin: 50px auto;
  max-width: 980px;
  background: #0055ff;
  color: #fff;
  padding: 14px 18px;
  line-height: 1.8;
  font-size: 16px;
}

.features {
  background-color: #0055ff;
  color: #fff;
  padding: 50px 24px 90px;
}

.features__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.features__item {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.features__item .section-actions {
  margin-top: auto;
}

.features__title {
  margin: 0;
  font-size: clamp(36px, 2.8vw, 42px);
  font-weight: 700;
}

.features__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.features__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.features__actions {
  justify-content: flex-start;
}

.contact {
  background: #ebebf5;
  padding: 40px 24px 70px;
}

.contact__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px 32px;
}

.contact__title {
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 72px);
  color: #0050ff;
  font-weight: 700;
}

.contact__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #0f172a;
}

.contact__actions {
  justify-content: flex-end;
}

.site-footer {
  background: #171c26;
  color: #ffffff;
  padding: 100px 24px 30px;
}

.site-footer__inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.site-footer__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.site-footer__links a {
  color: inherit;
  text-decoration: none;
  font-size: 18px;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  text-decoration: underline;
  text-decoration-color: #ffffff;
  text-underline-offset: 3px;
}

.site-footer__copy {
  margin: 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
}

.cta-button {
  --btn-bg: transparent;
  --btn-border: #d9d9d9;
  --btn-text: #000;
  --icon-bg: #0050ff;
  --icon-glyph: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 230px;
  height: 56px;
  padding: 0 80px 0 20px;
  border-radius: 999px;
  border: 2px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}

.cta-button__icon {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--icon-bg);
  display: grid;
  place-items: center;
  transition: background-color 0.5s ease, transform 0.5s ease;
}

.cta-button__glyph {
  width: 14px;
  height: 14px;
  background: var(--icon-glyph);
  mask: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20id%3D%22arrow-right%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20417.1%20420.17%22%3E%0A%3Cpath%20d%3D%22M285.44%2C279.24c14.68-12.91%2C27.85-25.63%2C40.76-40.71l-149.07.89-124.92%2C1.09c-11.34.1-21.84.53-32.39-2.62C7.44%2C234.2.56%2C224.09.03%2C211.51c-.6-14.27%2C7.48-25.45%2C21.6-28.95%2C10.85-2.69%2C21.81-2.95%2C33.63-2.34l177.74-1.45%2C75.31-.39-53.99-56.16-65.87-70.84c-13-13.98-10.64-33.54%2C3.95-44.69%2C10.73-8.21%2C26.88-9.84%2C36.84.8%2C56.96%2C60.82%2C113.23%2C121.57%2C173.19%2C179.41%2C14.99%2C14.46%2C21.16%2C36.54%2C5.58%2C52.85l-32.08%2C33.57c-18.01%2C18.85-34.83%2C37.28-54.56%2C54.42l-50.31%2C43.69c-13.74%2C11.93-26.02%2C24.31-37.92%2C38.02-9.08%2C10.46-23.28%2C13.65-35.48%2C7.91s-19.7-18.87-16.31-32.72c4.78-19.57%2C27.57-39.52%2C42.83-52.24%2C11.42-9.52%2C22.19-18.77%2C33.31-28.55l27.95-24.58Z%22/%3E%0A%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20id%3D%22arrow-right%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20417.1%20420.17%22%3E%0A%3Cpath%20d%3D%22M285.44%2C279.24c14.68-12.91%2C27.85-25.63%2C40.76-40.71l-149.07.89-124.92%2C1.09c-11.34.1-21.84.53-32.39-2.62C7.44%2C234.2.56%2C224.09.03%2C211.51c-.6-14.27%2C7.48-25.45%2C21.6-28.95%2C10.85-2.69%2C21.81-2.95%2C33.63-2.34l177.74-1.45%2C75.31-.39-53.99-56.16-65.87-70.84c-13-13.98-10.64-33.54%2C3.95-44.69%2C10.73-8.21%2C26.88-9.84%2C36.84.8%2C56.96%2C60.82%2C113.23%2C121.57%2C173.19%2C179.41%2C14.99%2C14.46%2C21.16%2C36.54%2C5.58%2C52.85l-32.08%2C33.57c-18.01%2C18.85-34.83%2C37.28-54.56%2C54.42l-50.31%2C43.69c-13.74%2C11.93-26.02%2C24.31-37.92%2C38.02-9.08%2C10.46-23.28%2C13.65-35.48%2C7.91s-19.7-18.87-16.31-32.72c4.78-19.57%2C27.57-39.52%2C42.83-52.24%2C11.42-9.52%2C22.19-18.77%2C33.31-28.55l27.95-24.58Z%22/%3E%0A%3C/svg%3E")
    center / contain no-repeat;
  transition: background-color 0.5s ease;
}

.cta-button__external {
  width: 20px;
  height: 20px;
  background: var(--icon-glyph);
  mask: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%0A%3Cpath%20d%3D%22M21.3333%2021.3333H2.66667V2.66667H12V0H2.66667C1.18667%200%200%201.2%200%202.66667V21.3333C0%2022.8%201.18667%2024%202.66667%2024H21.3333C22.8%2024%2024%2022.8%2024%2021.3333V12H21.3333V21.3333ZM14.6667%200V2.66667H19.4533L6.34667%2015.7733L8.22667%2017.6533L21.3333%204.54667V9.33333H24V0H14.6667Z%22%20fill%3D%22%230050FF%22/%3E%0A%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%0A%3Cpath%20d%3D%22M21.3333%2021.3333H2.66667V2.66667H12V0H2.66667C1.18667%200%200%201.2%200%202.66667V21.3333C0%2022.8%201.18667%2024%202.66667%2024H21.3333C22.8%2024%2024%2022.8%2024%2021.3333V12H21.3333V21.3333ZM14.6667%200V2.66667H19.4533L6.34667%2015.7733L8.22667%2017.6533L21.3333%204.54667V9.33333H24V0H14.6667Z%22%20fill%3D%22%230050FF%22/%3E%0A%3C/svg%3E")
    center / contain no-repeat;
  transition: background-color 0.5s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  --btn-bg: #dcdbff;
  outline: none;
}

.cta-button--solid {
  --btn-bg: #0050ff;
  --btn-border: #0050ff;
  --btn-text: #ffffff;
  --icon-bg: #ffffff;
  --icon-glyph: #0050ff;
}

.cta-button--light {
  --btn-bg: #ffffff;
  --btn-border: #ffffff;
  --btn-text: #000000;
  --icon-bg: #0050ff;
  --icon-glyph: #ffffff;
}

.cta-button--external-link {
  --btn-bg: #ffffff;
  --btn-border: #0050ff;
  --btn-text: #000000;
  --icon-bg: #ffffff;
  --icon-glyph: #0050ff;
  width: 280px;
}

.cta-button--solid:hover,
.cta-button--solid:focus-visible {
  --btn-bg: #000000;
  --btn-border: #000000;
  --icon-glyph: #000000;
}


@media (max-width: 960px) {
  .header-inner {
    padding: 8px;
  }

  .brand img {
    width: 260px;
    margin-left: 15px;
  }
  
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .news {
    padding: 0 16px 100px;
  }

  .news__content {
    padding: 0 10px 50px ;
  }

  .partner-button__icon svg {
      height: 30px;
      vertical-align: baseline;
  }

  .creation-showcase {
    padding: 30px 0;
  }

  .creation-showcase__container {
    padding: 0;
  }

  .creation-showcase__text {
    margin: 30px 20px;
    font-size: 14px;
  }

  .creation-card__caption {
    font-size: 14px;
  }

  .creation-partners {
    padding: 50px 16px 80px;
  }

  .creation-partners__block {
    grid-template-columns: 1fr;
  }

  .creation-partners__block--reverse {
    grid-template-columns: 1fr;
  }

  .creation-partners__block--reverse .creation-partners__media {
    order: 1;
  }

  .creation-partners__block--reverse .creation-partners__content {
    order: 2;
  }

  .creation-partners__title {
    font-size: 24px;
  }

  .creation-partners__text {
    font-size: 14px;
  }

  .creation-partners__catalog {
    align-items: center;
    text-align: left;
  }

  .creation-partners__note {
    text-align: left;
  }

  .creation-partners__catalog .partner-button {
    min-height: 52px;
    flex: 0 0 auto;
    align-self: center;
  }

  .creation-modal__dialog {
    width: min(calc(100vw - 20px), calc(720px - 20px));
    max-height: 90vh;
  }

  .creation-modal__body {
    padding: 16px;
  }

  .creation-modal__close {
    top: -26px;
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  .features__container {
    grid-template-columns: 1fr;
    gap: 70px;
    padding: 70px 16px;
  }

  .media-gallery {
    padding: 60px 16px 40px;
  }

  .media-gallery__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .media-gallery__caption {
    font-size: 14px;
  }

  .intro-band {
    padding: 30px 16px 40px;
  }

  .intro-band__text {
    font-size: 14px;
  }

  .team {
    padding: 20px 16px 60px;
  }

  .team__inner {
    gap: 32px;
  }

  .team__text {
    font-size: 14px;
  }

  .team__gallery {
    grid-template-columns: 1fr;
  }

  .media {
    padding: 10px 16px 70px;
  }

  .media__grid {
    grid-template-columns: 1fr;
    gap: 3em;
  }

  .media-card__text {
    font-size: 14px;
    margin-bottom: 1em;
  }

  .podcast {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1em;
  }

  .podcast__thumb {
    max-width: 100%;
  }
  .podcast__title {
    font-size: 24px;
  }

  .podcast__text {
    font-size: 14px;
  }

  .podcast__platform-image {
    width: 196px;
  }

  .services {
    padding: 20px 16px 60px;
  }

  .services__inner {
    gap: 60px;
  }

  .service-section {
    gap: 20px;
  }

  .service-section__lead {
    font-size: 14px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 145px;
    padding: 18px;
  }

  .service-card__title {
    font-size: 18px;
  }

  .service-card__text {
    font-size: 14px;
  }

  .media-gallery--sports .media-gallery__inner {
    grid-template-areas:
      "masters"
      "world"
      "event";
    align-items: stretch;
  }

  .contact {
    padding: 60px 16px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact__title {
    font-size: 36px;
  }

  .contact__text {
    font-size: 16px;
  }

  .contact__actions {
    margin-top: 12px;
    justify-content: center;
  }

  .site-footer {
    padding: 50px 15px;
  }

  .site-footer__links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 20px;
  }

  .site-footer__links a {
    font-size: 16px;
  }

  .site-footer__copy {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .site-header {
    margin: 10px 16px 0;
    top: 10px;
  }

  .brand img {
    width: 170px;
    margin-left: 12px;
  }

  main {
    margin: 0;
  }

  .hero {
    aspect-ratio: 375 / 476;
  }

  .hero--home {
    aspect-ratio: 375 / 476;
  }

  .hero--sub {
    aspect-ratio: 375 / 245;
  }

  .hero__content {
    padding: 32px 24px;
    align-items: center;
  }

  .hero__text {
    gap: 6px;
    max-width: 90vw;
  }

  .hero__headline {
    min-height: 118px;
  }

  .slide-text {
    font-size: 18px;
    line-height: 36px;
    max-width: 340px;
  }

  .slide-text .subline {
    font-size: 10.5px;
  }

  .mission {
    padding: 100px 16px 90px;
  }

  .mission__text {
    font-size: 24px;
    line-height: 1.7;
    gap: 4px;
    min-height: calc(1em * 1.7 * var(--mission-line-count) + 8px);
  }

  .creation-showcase__title {
    padding: 5px 15px;
  }

  .creation-showcase__slider .slick-slide {
    padding: 0 6px;
  }

  .news__item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "content";
  }

  .news__media {
    max-width: none;
    width: 100%;
    border-radius: 10px 10px 0 0;
  }

  .news__image {
    max-width: none;
    width: 100%;
  }

  .news__actions {
    justify-content: center;
  }
}
@media (max-width: 960px) {
  .header-inner {
    padding: 8px;
  }

  .brand img {
    width: 260px;
    margin-left: 15px;
  }
  
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .site-header {
    margin: 10px 16px 0;
    top: 10px;
  }

  .brand img {
    width: 170px;
    margin-left: 12px;
  }

  main {
    margin: 0;
  }

  .hero {
    aspect-ratio: 375 / 476;
  }

  .hero--home {
    aspect-ratio: 375 / 476;
  }

  .hero--sub {
    aspect-ratio: 375 / 245;
  }

  .hero__content {
    padding: 32px 24px;
    align-items: center;
  }

  .hero__text {
    gap: 6px;
    max-width: 90vw;
  }

  .mission {
    padding: 100px 16px 90px;
  }

  .mission__text {
    line-height: 1.7;
    gap: 4px;
  }
}

/* Single article */
.single-article {
  padding: 150px 24px 50px;
}

.single-article__inner {
  max-width: 1200px;
  margin: 0 auto 100px;
  display: grid;
  gap: 28px;
}

.single-article__breadcrumb {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 15px;
  color: #747474;
}

.single-article__breadcrumb a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.single-article__breadcrumb a:hover,
.single-article__breadcrumb a:focus-visible {
  color: #0050ff;
  border-color: #0050ff;
}

.single-article__breadcrumb-separator {
  display: inline-block;
  width: 9px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg width='9' height='14' viewBox='0 0 9 14' xmlns='http://www.w3.org/2000/svg'><line x1='1.41421' y1='1' x2='7.07107' y2='6.65685' stroke='%230050FF' stroke-width='2' stroke-linecap='round'/><line x1='1.41406' y1='12.3137' x2='7.07092' y2='6.65687' stroke='%230050FF' stroke-width='2' stroke-linecap='round'/></svg>") center / contain no-repeat;
  color: transparent;
}

.single-article__breadcrumb-current {
  color: #747474;
}

.single-article__meta {
  font-size: 18px;
  color: #171C26;
}

.single-article__date {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.single-article__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.4;
}

.single-article__hero {
  width: 100%;
}

.single-article__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.single-article__body {
  font-size: 18px;
  line-height: 1.8;
  color: #0f172a;
  display: grid;
  gap: 18px;
  margin-bottom: 100px;
}

.single-article__body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.single-article__body a {
  color: #0050ff;
  text-decoration: underline;
  text-decoration-color: #0050ff;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.single-article__body a:hover {
  color: #0f172a;
}

.single-article__body table {
  border-collapse: collapse;
  border-top: #b5b5b5 1px solid;
}

.single-article__body table>:not(caption)>* {
  border-bottom: #b5b5b5 1px solid;
}

.single-article__body table>:not(caption)>*>th {
  background-color: #F3F3F9;
  text-align: left;
}

.single-article__body table>:not(caption)>*>* {
    padding: .5rem .5rem;
    color: #000;
    background-color: #FFF;
    border-bottom-width: 1px;
}

@media (max-width: 768px) {
  .single-article {
    padding: 40px 16px 30px;
  }

  .single-article__breadcrumb {
    justify-content: flex-start;
    font-size: 12px;
  }

  .single-article__title {
    font-size: 22px;
  }

  .single-article__body {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 50px;
  }
}

/* Contact */
.contact-hero {
  margin: 0 calc(50% - 50vw);
  padding: 140px 24px 80px;
  background: #d9d9d9;
}

.contact-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-hero__title {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.02em;
}

.contact-section {
  padding: 80px 24px 140px;
}

.contact-section--narrow {
  padding-bottom: 120px;
}

.contact-section__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact-section__head {
  display: block;
}

.contact-section__title {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.4;
}

.contact-section__thanks_title {
  margin: 0;
  font-size: clamp(24px, 5vw, 36px);
  color: #0050ff;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 40px;
}

.contact-section__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #111827;
}

.contact-section__required-note {
  margin: 1em 0 0 0;
  font-size: 13px;
  color: #FF0000;
}

.required-asterisk {
  color: #FF0000;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 840px;
  margin: 0 auto;
}

.contact-form__row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-form__field {
  flex: 1;
  min-width: 260px;
}

.contact-form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 15px;
  color: #111827;
  letter-spacing: 0.01em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #F3F3F9;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #F3F3F9;
}

.contact-section .wpcf7 form .wpcf7-response-output {
    max-width: 840px;
    margin: 2em auto;
    text-align: center;
}

.contact-form input[type="text"].wpcf7-not-valid,
.contact-form input[type="email"].wpcf7-not-valid,
.contact-form textarea.wpcf7-not-valid {
  border-color: #FF0000;
}

.contact-form textarea {
  resize: vertical;
  min-height: 180px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0050ff;
  box-shadow: 0 0 0 3px rgba(0, 80, 255, 0.12);
}

.contact-form__options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 26px;
}

.contact-form__option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.contact-form__option label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form__option input[type="radio"] {
  accent-color: #0050ff;
  width: 18px;
  height: 18px;
}

.contact-form input[type="radio"] {
  accent-color: #0050ff;
  width: 25px;
  height: 25px;
  box-shadow: none;
  margin-top: 0;
}

.contact-form input[type="radio"]:focus,
.contact-form input[type="radio"]:focus-visible {
  outline: none;
  box-shadow: none;
}

.contact-form__policy-note {
  margin: 8px 0 0;
  font-size: 14px;
  color: #374151;
  text-align: center;
}

.contact-form__policy-note a {
  color: #0050ff;
  font-weight: 700;
}

.contact-form__checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  width: 100%;
  text-align: center;
}

.contact-form__checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.contact-form__checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  width: 32px;
  height: 32px;
  margin: 0;
  border: none;
  background: #F3F3F9;
  border-radius: 5px;
  box-shadow: none;
  cursor: pointer;
}

.contact-form__checkbox input[type="checkbox"]:focus,
.contact-form__checkbox input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: none;
}

.contact-form__checkbox input[type="checkbox"]:checked {
  background-color: #0050ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 8.5l3 3L13 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.contact-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.wpcf7-not-valid-tip {
  margin-top: 5px;
  font-size: 14px;
  color: #FF0000;
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 120px 16px 60px;
  }

  .contact-hero__title {
    font-size: clamp(32px, 9vw, 48px);
  }

  .contact-section {
    padding: 60px 16px 100px;
  }

  .contact-section__inner {
    gap: 26px;
  }

  .contact-form__row {
    flex-direction: column;
  }

  .contact-form__field {
    min-width: 100%;
  }
}


/* Job opportunities */
.jobs-section {
  padding: 60px 24px;
}

.jobs-section__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.jobs-section__title {
  margin: 0;
  text-align: center;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700;
  color: #0050ff;
}

.jobs-list {
  display: grid;
  gap: 18px;
}

.job-card {
  padding: 30px;
  background: #F3F3F9;
}

.job-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  color: #0050FF;
  font-weight: 900;
  line-height: 1.4;
}

.job-card__meta {
  display: grid;
  gap: 4px;
  margin: 4px 0 10px;
  font-size: 14px;
}

.job-card__meta-row {
  display: flex;
  gap: 6px;
  align-items: baseline;
}

.job-card__meta-label {
  font-weight: 700;
  color: #111827;
}

.job-card__excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: #374151;
}

.job-card__actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.job-card__cta {
  --btn-border: #d9d9d9;
  --btn-text: #000;
  width: 230px;
  height: 48px;
  font-size: 16px;
}

.jobs-section__empty {
  margin: 0;
  padding: 26px 20px;
  font-size: 14px;
  text-align: center;
  color: #374151;
}

@media (max-width: 768px) {
  .jobs-section {
    padding: 50px 16px;
  }

  .job-card {
    padding: 14px;
  }
}
