.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-medium);
  color: var(--color-reverse-text);
  background: var(--color-accent-orange);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { filter: brightness(1.08); }
.button--compact { min-height: 36px; padding: 5px 12px 7px; font-size: 16px; }
.button--wide { width: 100%; }
.button--secondary { border-color: var(--color-main-blue); color: var(--color-main-blue); background: var(--color-surface); }

.mobile-menu { position: fixed; z-index: 90; inset: var(--header-height) 0 0; }
.mobile-menu__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgb(17 24 32 / 58%); }
.mobile-menu__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(100%, 420px);
  height: 100%;
  margin-left: auto;
  padding: 24px var(--padding-global) 40px;
  overflow-y: auto;
  color: var(--color-surface);
  background: var(--color-main-blue);
}
.mobile-menu__heading { display: flex; align-items: center; justify-content: space-between; font-weight: 700; }
.mobile-menu__close { min-height: 44px; padding-inline: 12px; border: 1px solid var(--color-accent-orange-lite); border-radius: var(--radius-small); color: inherit; background: transparent; }
.mobile-menu__links { display: flex; flex-direction: column; margin: 0; list-style: none; }
.mobile-menu__links a { display: block; padding-block: 14px; border-bottom: 1px solid rgb(255 255 255 / 25%); font-weight: 700; text-decoration: none; }
.mobile-menu__links a[aria-current="page"] { color: var(--color-accent-orange-lite); }
.mobile-menu__social-label { margin: 8px 0 0; font-size: 14px; font-weight: 700; }

.sns-links { display: flex; gap: 12px; margin: 0; list-style: none; }
.sns-links a { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; }
.sns-links img { width: 34px; height: 34px; object-fit: contain; }

.page-hero {
  min-height: 615px;
  color: var(--color-reverse-text);
  background-image: linear-gradient(to top, rgb(0 0 0 / 28%), transparent 48%), var(--hero-image);
  background-position: 58% center;
  background-size: cover;
}
.page-hero__inner { display: flex; min-height: inherit; align-items: flex-end; padding-block: 30px; }
.page-hero__copy { max-width: 100%; text-shadow: 0 2px 10px rgb(0 0 0 / 45%); }
.page-hero__copy p { margin-bottom: 15px; font-size: 24px; font-weight: 700; line-height: 1.3; }
.page-hero__copy h1 { margin: 0; color: inherit; font-size: clamp(34px, 9.6vw, 44px); line-height: 1.2; }

.global-cta {
  position: relative;
  color: var(--color-surface);
  background-image: linear-gradient(var(--overlay-dark-40), var(--overlay-dark-40)), url("/assets/images/home-cta-mobile.png");
  background-position: center;
  background-size: cover;
}
.global-cta__inner { position: relative; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.global-cta h2 { margin-bottom: 0; color: inherit; font-size: 36px; }
.global-cta p { margin-bottom: 0; }
.global-cta__desktop-prefix { display: none; }

.cookie-consent {
  position: fixed;
  z-index: 120;
  right: 16px;
  bottom: 16px;
  left: 16px;
  max-width: 720px;
  margin-inline: auto;
  padding: 20px;
  border-radius: var(--radius-large);
  background: var(--color-surface);
  box-shadow: 0 14px 40px rgb(0 0 0 / 24%);
}
.cookie-consent p { margin-bottom: 16px; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.video-modal {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: grid;
  padding: min(15dvh, 120px) 16px 16px;
  overflow-y: auto;
  place-items: start center;
}
.video-modal__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: var(--overlay-dark-40); }
.video-modal__dialog {
  position: relative;
  display: flex;
  width: min(100%, 343px);
  max-height: calc(100dvh - 32px);
  padding: 16px 16px 20px;
  overflow-y: auto;
  flex-direction: column;
  gap: 14px;
  border-radius: var(--radius-medium);
  background: var(--color-surface);
}
.video-modal__heading { display: flex; min-height: 44px; align-items: center; gap: 8px; }
.video-modal__heading h2 {
  min-width: 0;
  margin: 0;
  flex: 1;
  color: #000;
  font-size: 16px;
  line-height: 1.5;
}
.video-modal__close {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  flex: 0 0 44px;
  place-items: center;
  border: 0;
  border-radius: var(--radius-small);
  color: #000;
  background: var(--color-subtle-background);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}
.video-modal__close:hover { filter: brightness(0.96); }
.video-modal__frame { display: grid; width: 100%; aspect-ratio: 16 / 9; flex: 0 0 auto; place-items: center; overflow: hidden; border-radius: var(--radius-small); background: #0a0d0f; color: #fff; }
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; }

.is-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1), transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-step, 0) * 60ms);
}
.is-reveal-ready [data-reveal][data-reveal-step="1"] { --reveal-step: 1; }
.is-reveal-ready [data-reveal][data-reveal-step="2"] { --reveal-step: 2; }
.is-reveal-ready [data-reveal][data-reveal-step="3"] { --reveal-step: 3; }
.is-reveal-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 768px) {
  .button--wide { width: auto; padding-inline: 40px; }
  .global-cta__desktop-prefix { display: block; }
  .video-modal { padding: 24px; place-items: center; }
  .video-modal__dialog { width: min(100%, 960px); padding: 20px; }
}

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
  .page-hero { min-height: 587px; background-position: center; }
  .page-hero__inner { padding-block: 40px; }
  .page-hero__copy p { margin-bottom: 10px; font-size: 30px; }
  .page-hero__copy h1 { font-size: clamp(46px, 4.2vw, 60px); white-space: nowrap; }
  .global-cta__inner { gap: 32px; }
  .global-cta { background-image: linear-gradient(var(--overlay-dark-40), var(--overlay-dark-40)), url("/assets/images/home-cta.png"); }
  .global-cta h2 { font-size: 60px; }
  .global-cta p { font-size: 20px; }
  .is-reveal-ready [data-reveal] { transform: translateY(24px); }
  .is-reveal-ready [data-reveal].is-visible { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .is-reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}
