.c-site-logo {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  letter-spacing: 0.02em;
  background: url("../img/sr_site_logo_11.svg") no-repeat center left / contain;
  text-indent: -9999px;
  width: 180px;
  height: 90px;
  transition: height 0.3s ease;
}

.c-site-logo:hover{
  border: 0;
  background-color: var(--color-cream);
  border-radius: var(--radius-sm);
  background-image: url("../img/sr_site_logo_11.svg");
  background-repeat: no-repeat;
  background-position: center left;
  background-size: contain;
  cursor: pointer;
}

.l-header.is-compact .c-site-logo {
  height: 55px;
}

.c-menu-button {
  border: 0;
  background: var(--color-sky);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-pill);
  border: solid 1px #0000003a;
  cursor: pointer;
  display: none;
}

.c-global-nav {
  display: flex;
  gap: var(--space-md);
}

.c-global-nav__link {
  padding: var(--space-2xs) var(--space-xs);
  border-radius: var(--radius-pill);
}

.c-global-nav__link:hover {
  background: var(--color-cream);
}

.c-hero {
  position: relative;
  background-image:
    url("../img/sr_background_left.svg"),
    url("../img/sr_background_right.svg"),
    radial-gradient(circle at top left, #ffd1e2 0%, #ffffff 45%, #c6e6ff 100%);
  background-size: 18% auto, 18% auto, 100% 100%;
  background-position: 0 0, 100% 0, 0 0;
  background-repeat: repeat-y, repeat-y, no-repeat;

}

.c-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.c-hero__kicker{
  font-family: var(--font-display);
}

.c-hero__title {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  text-align: right;
}

.c-hero__lead {
  margin: 0 0 var(--space-lg);
}

.c-hero__visual {
  height: 500px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  background: var(--color-white);
  position: relative;
}

.c-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.c-hero__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: var(--space-xs);
  padding: var(--space-lg);
  color: var(--color-white);
  text-shadow: 0 2px 6px rgb(255, 255, 255);
}

.c-hero__overlay .c-hero__title,
.c-hero__overlay .c-hero__kicker {
  color: var(--color-white);
  margin: 0;
  background: rgba(255, 255, 255, 0.171);
  color: var(--color-ink);
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-md);
}

.c-hero__overlay .c-hero__kicker {
  align-self: start;
  justify-self: start;
}

.c-hero__overlay .c-hero__title {
  align-self: end;
  justify-self: end;
}

.c-section-title {
  margin: 0;
  font-size: var(--font-size-xl);
  font-family: var(--font-display);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-ink);
  border-bottom: dashed 2px #0000003a;
}

h1{
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  margin: 0 0 var(--space-sm);
}

h2{
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
}

h3{
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
}

h1::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-right: var(--space-2xs);
  background: url("../img/sr_h1.svg") no-repeat center / contain;
  vertical-align: top;
}

h2::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: var(--space-2xs);
  background: url("../img/sr_h2.svg") no-repeat center / contain;
  vertical-align: middle;
}

.c-section-title{
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  margin: 0 0 var(--space-sm);
}

.c-link {
  font-size: var(--font-size-sm);
  color: var(--color-ink);
  border: 0;
  background: var(--color-lightpink);
  padding: var(--space-2xs) var(--space-xs);
  border-radius: var(--radius-pill);
  border: solid 1px #0000003a;
}

.c-link:hover {
  background: var(--color-cream);
}

.c-speech-band {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-xl);
  background: rgb(255, 216, 229);
  background-image: url("../img/sr_speech-band_bg.svg");
  background-repeat: repeat-y;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.c-speech-band__text p {
  margin: 0 0 var(--space-md);
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.c-speech-band__text p::before{
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: var(--space-2xs);
  background: url("../img/sr_h.png") no-repeat center / contain;
  vertical-align: middle;
}

.c-speech-band__text p:last-child {
  margin-bottom: 0;
}

.c-speech-band__icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #ff9dba;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: solid 1px #ffffff34;
  box-shadow: 1px 1px 2px #24222b;
}

.c-speech-band__icon img {
  width: 94px;
  height: 94px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 1px 1px 2px #ffffff;
}

.c-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}

.c-news-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
  padding: var(--space-sm);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.c-news-list__item:hover {
  background-color: var(--color-cream);
}

.c-news-card__date {
  font-size: var(--font-size-sm);
  color: #6b677a;
  white-space: nowrap;
}

.c-section-gate3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.c-gate-card {
  display: grid;
  place-items: center;
  height: 140px;
  background: linear-gradient(135deg, #fff3f8, #f0f7ff);
  border-radius: var(--radius-pill);
  border-bottom: solid 3px #0000003a;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
  opacity: 1;
}

.c-gate-card:hover {
  border-bottom: 1px;
}

.c-gate-card__label {
  height: 140px;
  width: 100%;
  font-size: var(--font-size-2xl);
  font-family: var(--font-body);
  border-radius: var(--radius-pill);
  text-align: center;
  line-height: 140px;
  padding: 0 var(--space-xs);
  position: relative;
  z-index: 1;
  color: var(--color-white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
  opacity: 1;
}

.c-gate-card__label:hover {
  background: linear-gradient(135deg, #ffffff71, #ffffff10);
}

.c-gate-card--gallery {
  background-image: url("../img/sr_menu_gallery.png");
}

.c-gate-card--gallery:hover {
  opacity: 0.8;
}

.c-gate-card--videos {
  background-image: url("../img/sr_menu_videos.png");
}

.c-gate-card--videos:hover {
  opacity: 0.8;
}

.c-gate-card--games {
  background-image: url("../img/sr_menu_games.png");
}

.c-gate-card--games:hover {
  opacity: 0.8;
}

.c-profile-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}

.c-profile-intro__visual {
  height: auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-lavender), var(--color-cream));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.c-profile-intro__visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.c-profile-intro__body {
  padding: 35% 0 65% 0;
  background-image: url("../img/sr_profile_detail.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

h2.c-section-title {
  width: fit-content;
}

.c-profile-intro__name {
  margin: var(--space-sm) 0;
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.c-profile-intro__bio {
  background-color: rgba(255, 255, 255, 0.5);
  padding: var(--space-sm);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.c-gallery-rail-wrap {
  position: relative;
}

.c-gallery-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: var(--space-lg);
/*  overflow-x: auto;*/
  overflow: hidden;
  padding-bottom: var(--space-sm);
  scroll-behavior: smooth;
}

.c-gallery-rail__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: 0;
  background: transparent no-repeat center / contain;
  opacity: 0.9;
  cursor: pointer;
  z-index: 2;
}

.c-gallery-rail__nav--prev {
  left: 0;
  background-image: url("../img/sr_gallerybutton_prev.svg");
}

.c-gallery-rail__nav--next {
  right: 0;
  background-image: url("../img/sr_gallerybutton_next.svg");
}

.c-gallery-card {
  background: var(--color-white);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.c-gallery-card__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-sm);
}

.c-gallery-card__title {
  margin: var(--space-sm);
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--font-size-md);
}

.c-gallery-card__year {
  font-size: var(--font-size-sm);
  margin: var(--space-2xs);
  text-align: center;
  font-family: var(--font-body);
  color: #6b677a;
}

.c-rail-controls {
  display: flex;
  gap: var(--space-sm);
}

.c-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.c-media-card {
  display: grid;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.c-media-card__thumb {
  height: fit-content;
  min-height: 140px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fff0f5, #e9f4ff);
  display: grid;
  place-items: center;
}

.c-media-card__video {
  display: block;
  width: 100%;
  height: auto;
}

.c-media-card__date{
  font-size: var(--font-size-sm);
  color: #6b677a;
  white-space: nowrap;
}

.c-blog-list {
  display: grid;
  gap: var(--space-lg);
}

.c-blog-card__link {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.c-blog-card__thumb {
  height: 90px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fff0f5, #eef9ff);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.c-blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-blog-card__date{
  font-size: var(--font-size-sm);
  color: #6b677a;
  white-space: nowrap;
}

.c-social-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  margin: 25px auto 100px auto;
}

.c-social-links__item {
  padding: var(--space-2xs) var(--space-sm);
  background: var(--color-lavender);
  border-radius: var(--radius-pill);
  border-style: solid;
  border-color: #6b677a4b;
  border-width: 1px;
}

.c-social-links__item:hover {
  background: var(--color-cream);
}

.c-social-strip, .c-nav-strip {
  padding: var(--space-xl) 0 0;
  display: grid;
  gap: var(--space-lg);
}

.c-social-strip__inner, .c-nav-strip__inner {
  display: grid;
  place-items: center;
}

.c-social-strip__bg, .c-nav-strip__bg {
  width: 100%;
  height: auto;
  display: block;
}

.c-nav-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}

.c-nav-links__item {
  padding: var(--space-2xs) var(--space-sm);
  background: var(--color-white);
  border-radius: var(--radius-pill);
  border-style: solid;
  border-color: #6b677a4b;
  border-width: 1px;
}

.c-nav-links__item:hover {
  background: var(--color-cream);
}

.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-lg);
  border-radius: var(--radius-pill);
  border: solid 1px #0000003a;
  cursor: pointer;
  font-weight: 600;
}
.c-button:hover {
  background-color: var(--color-cream);
}

.c-button--primary {
  background: var(--color-lightpink);
  margin: var(--space-xl) 0;
  border: solid 1px #0000003a;
}

.c-button--primary:hover {
  background: var(--color-cream);
}

.c-button--ghost {
  padding: var(--space-sm) var(--space-xl);
  background: var(--color-sky);
  border: 1px solid #0000003a;
}

.c-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 100;
}

.c-lightbox.is-open {
  display: grid;
}

.c-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 42, 50, 0.6);
}

.c-lightbox__content {
  position: relative;
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  max-width: 90vw;
  max-height: 90vh;
  z-index: 101;
}

.c-lightbox__image {
  max-width: 80vw;
  max-height: 70vh;
  border-radius: var(--radius-md);
}

.c-lightbox__caption {
  margin: var(--space-sm) 0 0;
  text-align: center;
  font-family: var(--font-body);
  color: var(--color-ink);
}

.c-lightbox__caption-title {
  display: block;
  font-weight: 700;
}

.c-lightbox__caption-year {
  display: block;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: #6b677a;
}

.c-lightbox__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  border: 0;
  background: var(--color-sky);
  border-radius: var(--radius-pill);
  padding: var(--space-2xs) var(--space-sm);
  cursor: pointer;
  border: solid 1px #0000003a;
}

.c-scroll-top {
  position: fixed;
  right: var(--space-lg);
  bottom: var(--space-lg);
  width: 55px;
  height: 55px;
  border: solid 1px #0000003a;
  border-radius: 50%;
  background: url("../img/sr_button_top.svg") no-repeat center / contain;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  pointer-events: none;
  z-index: 90;
}

.c-scroll-top.is-visible {
  opacity: 0.6;
  transform: translateY(0);
  pointer-events: auto;
}

.c-scroll-top.is-visible:hover {
  opacity: 0.9;
}

.c-article {
  background: rgba(255, 255, 255, 0.7);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.c-article__media {
  display: grid;
  gap: var(--space-md);
}

.c-article__body {
  display: grid;
  gap: var(--space-sm);
  max-width: 900px;
  margin: 0 auto;
}

.c-article__quote {
  margin: var(--space-md) 0;
  padding: var(--space-md);
  border-left: 4px solid var(--color-pink);
  background: rgba(243, 167, 194, 0.12);
  border-radius: var(--radius-sm);
}

.c-article__gallery {
  display: grid;
  gap: var(--space-md);
}

.c-article__figure {
  margin: 0;
  display: grid;
  gap: var(--space-xs);
  justify-items: center;
  text-align: center;
}

.c-article__figure figcaption {
  font-size: var(--font-size-sm);
  color: #6b677a;
}

@media (max-width: 768px) {
  .c-menu-button {
    display: inline-flex;
  }

  .c-global-nav {
    position: absolute;
    top: 56px;
    right: 0;
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: none;
    flex-direction: column;
  }

  .c-global-nav.is-open {
    display: flex;
  }

  .c-hero__inner {
    grid-template-columns: 1fr;
  }

  .c-section-gate3 {
    grid-template-columns: 1fr;
  }

  .c-profile-intro {
    grid-template-columns: 1fr;
  }

  .c-blog-card__link {
    grid-template-columns: 1fr;
  }
}
/*
@media (max-width: 1100px) {
    .c-hero__inner {
    grid-template-columns: 1fr;
  }
}*/

@media (max-width: 400px) {
  h1.c-hero__title::before {
    width: 40px;
    height: 40px;
  }
  h1.c-hero__title {
    font-size: var(--font-size-xl);
  }
}

.c-footer-text {
  margin: var(--space-2xs);
  padding: 0;
}
