:root {
  --bg: #0b1116;
  --panel: rgba(10, 17, 22, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --text: #edf3f4;
  --muted: #a7b6bc;
  --accent: #7dd7c5;
  --accent-strong: #a8ece0;
  --sand: #d9bf8b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(125, 215, 197, 0.12), transparent 30%),
    linear-gradient(180deg, #091015 0%, #0c151c 55%, #0a0f13 100%);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 16px;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(150px, 18vw, 220px);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.24));
}

.site-nav a,
.eyebrow,
.section-label,
.feature-kicker,
.caption-tag {
  font-family: "Space Grotesk", sans-serif;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-nav a,
.reference-list a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.reference-list a:hover,
.reference-list a:focus-visible {
  color: var(--accent-strong);
}

.lang-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-toggle__button {
  min-width: 64px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-toggle__button.is-active {
  color: #07211e;
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 32px;
  align-items: center;
  padding: 48px 0 28px;
}

.eyebrow,
.section-label,
.feature-kicker {
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

html[lang="ja"] h1 {
  max-width: 100%;
  font-size: clamp(2.8rem, 4.4vw, 4.2rem);
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.1;
}

.intro,
.scope-card__body p,
.media-stage__caption p,
.footer-copy,
.section-intro {
  color: var(--muted);
  line-height: 1.65;
}

.intro {
  max-width: 39rem;
  margin: 24px 0 0;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.primary {
  color: #07211e;
  background: var(--accent);
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  padding: 10px 14px;
  border: 1px solid rgba(125, 215, 197, 0.18);
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(125, 215, 197, 0.05);
}

.signal-list a {
  color: inherit;
  text-decoration: none;
}

.signal-list a:hover,
.signal-list a:focus-visible {
  color: #d7fff8;
}

.media-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.hero-image {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  object-position: 15% center;
}

.media-stage__caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 300px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(7, 12, 16, 0.72);
  backdrop-filter: blur(12px);
}

.caption-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.media-stage__caption p {
  margin: 0;
  font-size: 0.98rem;
}

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

.scope-card,
.reference-list a,
.site-footer {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.scope-card__body p:last-child {
  margin-bottom: 0;
}

.scopes-section,
.reference-section {
  margin-top: 88px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.section-intro {
  max-width: 42rem;
  margin: 0;
}

.scope-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
  margin-top: 20px;
}

.scope-card__media {
  min-height: 100%;
  background: rgba(255, 255, 255, 0.03);
}

.scope-card__media img,
.scope-card__media video {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.scope-card__body {
  display: grid;
  gap: 16px;
  align-content: center;
  padding: 36px;
}

.scope-card__body p {
  margin: 0;
}

.scope-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

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

.reference-list a {
  padding: 22px 24px;
  border-radius: 20px;
}

.site-footer {
  align-items: end;
  margin-top: 88px;
  padding: 30px;
  border-radius: 30px;
}

.footer-copy {
  margin: 18px 0 0;
  max-width: 34rem;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(118px, 1fr));
  align-items: stretch;
  justify-self: end;
  gap: 16px;
}

.contact-method {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 140px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.contact-method:hover,
.contact-method:focus-visible {
  border-color: rgba(125, 215, 197, 0.36);
  background: rgba(125, 215, 197, 0.06);
  transform: translateY(-1px);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.contact-icon img,
.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-icon--email {
  color: var(--accent-strong);
}

.contact-icon--email svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-icon--line {
  width: 56px;
  border-radius: 14px;
  color: #ffffff;
  background: #06c755;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-method__label {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.contact-qr {
  width: 118px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .site-footer,
  .scope-card {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    gap: 18px;
  }

  .header-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 14px;
  }

  .reference-list {
    grid-template-columns: 1fr;
  }

  .contact-options {
    justify-self: start;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  html[lang="ja"] h1 {
    font-size: clamp(2.55rem, 4vw, 3.35rem);
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
  }

  .site-header {
    padding-top: 14px;
  }

  .brand-logo {
    width: 142px;
  }

  .site-nav {
    font-size: 0.94rem;
  }

  .hero {
    padding-top: 24px;
  }

  html[lang="ja"] h1 {
    font-size: clamp(2.35rem, 8.5vw, 3.3rem);
  }

  .hero-image {
    aspect-ratio: 16 / 11;
  }

  .media-stage__caption,
  .scope-card__body,
  .site-footer {
    padding: 22px;
  }

  .media-stage__caption {
    position: static;
    max-width: none;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: rgba(7, 12, 16, 0.84);
  }

  .contact-options {
    grid-template-columns: 1fr;
  }
}
