:root {
  --font-header: "Sora", sans-serif;
  --font-primary: "HelveticaLocal";
  --black: #0a0a0a;
  --white: #f8f8f6;
  --gray: #a9a9a9;
  --accent: #6cc6ff;
  --hl-start: #6cc6ff;
  --hl-end: #f2c16d;
  --section-radius: 0px;
  --section-scale: 1;
}

@font-face {
  font-family: "HelveticaLocal";
  src: url("../fonts/Helvetica-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaLocal";
  src: url("../fonts/Helvetica-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}



* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.hlspan {
  background: linear-gradient(90deg, var(--hl-start) 0%, var(--hl-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.site-header {
  background: #000;
  color: #fff;
  padding: 12px 6vw;
  font-family: var(--font-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.nav-link:hover,
.nav-link.is-active {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  width: clamp(220px, 36vw, 420px);
  height: auto;
  object-fit: contain;
  opacity: 1;
  transition: opacity 2s ease;
}

.hero-team .hero-media {
  display: block;
}

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

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.2));
}

.intro-ended .hero-video {
  opacity: 0.35;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 0 8vw;
  color: #fff;
}

.hero-team .hero-overlay {
  justify-content: flex-start;
  padding-top: 65vh;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 700;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s ease 0.35s, transform 1.2s ease 0.35s;
}

.hero-subtitle {
  font-size: clamp(2rem, 3vw, 2rem);
  max-width: 640px;
  color: rgba(255, 255, 255, 1.0);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s ease 0.6s, transform 1.2s ease 0.6s;
}

.intro-ended .hero-title,
.intro-ended .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
}

main {
  background: var(--black);
}

.full-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8vw;
  overflow: hidden;
  transform: scale(var(--section-scale));
  border-radius: var(--section-radius);
  transform-origin: center top;
}

.full-section[data-theme="dark"] {
  background: var(--black);
  color: var(--white);
}

.full-section[data-theme="light"] {
  background: #ffffff;
  color: #121212;
}

.full-section.frame-transition {
  background: var(--frame-base, transparent);
}

.frame-transition {
  position: relative;
  background: var(--frame-base, transparent);
  color: var(--frame-text, inherit);
  padding: 8vw;
}

.frame-transition::before {
  content: "";
  position: absolute;
  inset: calc(var(--frame-inset, 0px) - 1px);
  background: var(--frame-bg, transparent);
  border-radius: var(--frame-radius, 0px);
  z-index: 0;
}

.frame-transition[data-frame-corners="bottom"]::before {
  border-radius: 0 0 var(--frame-radius, 0px) var(--frame-radius, 0px);
}

.frame-transition > * {
  position: relative;
  z-index: 1;
}

.section-content {
  width: min(980px, 100%);
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

.section-text {
  display: grid;
  gap: 14px;
}

.section-cta {
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

#specialx {
  margin-bottom: 0px;
}

#specialy {
  margin-top: 0px;
}

.capsule-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  width: fit-content;
  max-width: 100%;
  padding: 0 8px 0 14px;
  border-radius: 999px;
  border: none;
  color: #111;
  overflow: hidden;
  transition: transform 0.8s ease, background 0.4s ease;
  background: transparent;
  transform: scaleX(0.12);
  transform-origin: center;
}

.capsule-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c6c6c6;
  transform: scale(0.4);
  transition: transform 0.35s ease 0.2s;
}

.capsule-text {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s ease 0.5s, transform 0.35s ease 0.5s;
  white-space: nowrap;
  color: #ffffff;
  font-weight: 320;
  font-size: 1.4rem;
}

.capsule-plus {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #2f6bff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s ease 0.65s, transform 0.35s ease 0.65s;
}

.capsule-link.is-animate {
  transform: scaleX(1);
  background: #252525;
}

.capsule-link.is-animate .capsule-dot {
  transform: scale(1);
}

.capsule-link.is-animate .capsule-text {
  opacity: 1;
  transform: translateX(0);
}

.capsule-link.is-animate .capsule-plus {
  opacity: 1;
  transform: scale(1);
}
.section-image {
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  width: 100%;
}

.section-image img,
.section-image video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.section-image.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
}

.section-image.video-frame video.section-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-content.image-first .section-text {
  order: 2;
}

.section-content.image-first .section-image {
  order: 1;
}

.section-content h2 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 700;
}

.section-content p {
  font-size: clamp(2rem, 3vw, 2rem);
  color: inherit;
}

.section-content .accent-line {
  width: 120px;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
}

.section-media {
  position: relative;
  padding: 0;
  display: block;
  overflow: visible;
}

.section-media.frame-transition {
  padding: 0 var(--frame-inset, 0px);
}

.section-media .media-frame {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.section-media[data-transition-style="radius"] {
  border-radius: 0 0 var(--section-radius) var(--section-radius);
}

.section-media[data-transition-style="radius"] .media-frame {
  border-radius: 0 0 var(--section-radius) var(--section-radius);
}

.section-media.frame-transition[data-frame-corners="bottom"] .media-frame {
  border-radius: 0 0 var(--frame-radius, 0px) var(--frame-radius, 0px);
}

.section-media .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-media .media-text {
  position: relative;
  z-index: 1;
  min-height: 200vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-text-inner {
  width: min(900px, 100%);
  padding: 8vw;
  color: rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s ease, transform 1s ease;
}

.media-text-inner h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  letter-spacing: 0.03em;
  font-weight: 700;
}

.media-text-inner p {
  margin-top: 14px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: 0.02em;
}

.section-media.is-visible .media-text-inner,
.section-media:hover .media-text-inner {
  opacity: 1;
  transform: translateY(0);
}

.section-media[data-theme="light"] .media-text-inner {
  color: rgba(10, 10, 10, 0.65);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  background: #000;
  color: #fff;
  padding: 48px 8vw;
}

.footer-inner {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.footer-block h3 {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-block p,
.footer-block a {
  font-size: 0.9rem;
  color: var(--gray);
}

.footer-media {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-media img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.github-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.page-main {
  min-height: calc(100vh - 160px);
  background: #ffffff;
  color: #111;
  padding: 10vw 8vw;
}

.page-main h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin-bottom: 16px;
  font-weight: 700;
}

.page-main p {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 720px;
  line-height: 1.8;
}

.page-intro {
  max-width: 720px;
  display: grid;
  gap: 12px;
}

.essay-page {
  padding-bottom: 4vw;
}

.essay-page .page-intro {
  margin-bottom: 12px;
}

.essay-page + .essay-frame {
  padding-top: 2vw;
}

.essay-frame {
  background: #ffffff;
  color: #111;
  padding: 6vw 8vw 10vw;
  display: block;
}

.essay-block {
  max-width: 860px;
  margin: 0 auto 64px;
  display: block;
}

.essay-text {
  display: grid;
  gap: 18px;
}

.essay-text h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
}

.essay-text p {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: #2d2d2d;
  line-height: 1.9;
}

.essay-media {
  margin: 28px 0;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.essay-media-frame {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.essay-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.essay-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.essay-media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.essay-media figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #666;
}

.contact-page {
  padding: 10vw 8vw;
}

.contact-notice {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.notice-intro {
  display: grid;
  gap: 12px;
}

.notice-title {
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 700;
}

.notice-lede {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: #222;
}

.notice-list {
  list-style: none;
  display: grid;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.notice-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  transition: transform 0.6s ease, opacity 0.6s ease, border-color 0.6s ease;
}

.notice-heading {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.notice-text {
  font-size: 1rem;
  color: #333;
}

.notice-text a {
  color: #0a0a0a;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

body.stagger-ready .notice-card {
  opacity: 0;
  transform: translateY(12px);
}

body.stagger-ready .notice-card.is-live {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(0, 0, 0, 0.18);
}

.team-cards {
  background: var(--white);
  color: #111;
  padding: 8vw;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.team-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-rows: auto 1fr;
}

.team-card-media img {
  width: 100%;

  object-fit: cover;
}

.team-card-body {
  padding: 24px;
  display: grid;
  gap: 10px;
}

.team-card-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
}

.team-card-body h3 {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}

.team-card-body p {
  font-size: 1rem;
  color: #333;
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-list {
    gap: 12px;
  }

  .hero-overlay {
    padding: 0 7vw;
  }

  .full-section {
    padding: 16vw 8vw;
  }

  .media-text-inner {
    padding: 16vw 8vw;
  }
}
