@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&family=Noto+Serif+JP:wght@400;500;600&family=Playfair+Display:wght@500;600;700&display=swap');
:root {
  --ink: #0c243c;
  --blue: #1689f0;
  --pale: #f5faff;
  --dark: #04101b;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--dark);
  color: var(--ink);
  font-family: 'DM Sans',Arial,'Noto Sans JP',sans-serif;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
}
.stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.stage>.wrap {
  max-width: 1470px;
  margin: auto;
  padding: clamp(65px,7vw,115px) clamp(24px,5vw,84px);
  position: relative;
  z-index: 3;
}
.light-stage {
  background: linear-gradient(140deg,#eef5fb 0%,#fbfdff 50%,#e9f2fa 100%);
}
.dark-stage {
  background: radial-gradient(ellipse at 52% 20%,#13416d77,transparent 52%),linear-gradient(135deg,#020a13,#071a2c 64%,#04101a);
  color: #f6fbff;
}
.eyebrow {
  font: 600 11px/1.4 'DM Sans',sans-serif;
  letter-spacing: .38em;
  margin: 0 0 22px;
  color: #1a4468;
}
.dark-stage .eyebrow {
  color: #94d5ff;
}
.statement {
  font: 500 clamp(28px,3vw,47px)/1.6 'Noto Serif JP',serif;
  letter-spacing: .02em;
  margin: 0 0 23px;
}
.description {
  font-size: clamp(13px,1.07vw,16px);
  line-height: 2.2;
  letter-spacing: .035em;
  max-width: 470px;
}
.dark-stage .description {
  color: #c7d8e8;
}
.section-action {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  border: 1px solid #839ab0;
  border-radius: 50px;
  padding: 11px 12px 11px 23px;
  font-size: 11px;
  letter-spacing: .08em;
  margin-top: 25px;
  transition: background .35s,border-color .35s,box-shadow .35s;
}
.section-action .circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  transition: transform .35s,background .35s;
}
.section-action:hover {
  background: #e0f0ff;
  border-color: #1689f0;
  box-shadow: 0 8px 30px #1189ea20;
}
.section-action:hover .circle {
  transform: translateX(4px);
  background: #1689f0;
  color: white;
}
.dark-stage .section-action {
  border-color: #93c9ec79;
}
.dark-stage .section-action:hover {
  background: #1350805a;
}
/* HERO */
.hero {
  height: 100svh;
  min-height: 620px;
  background: #000;
  color: white;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero video.loop {
  opacity: 0;
  transition: opacity .15s linear;
}
.head {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  padding: 24px clamp(22px,5vw,70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.head img {
  width: clamp(180px,21vw,320px);
}
.head nav {
  display: flex;
  align-items: center;
  gap: clamp(12px,1.6vw,27px);
  font-size: 11px;
  letter-spacing: .06em;
  color: #e8f0f8;
}
.head nav a:hover {
  color: #65c7ff;
}
.head nav .outline {
  padding: 9px 18px;
  border: 1px solid #ffffff8c;
  border-radius: 30px;
}
.hero-copy {
  position: absolute;
  z-index: 5;
  left: clamp(30px,7vw,125px);
  top: 50%;
  transform: translateY(-45%);
  max-width: 340px;
  pointer-events: none;
}
.hero-copy h1 {
  font: 500 clamp(30px,3.2vw,54px)/1.85 'Noto Serif JP',serif;
  letter-spacing: .08em;
  margin: 0 0 24px;
}
.hero-copy p {
  font-size: 12px;
  line-height: 2;
  letter-spacing: .27em;
}
.scroll {
  position: absolute;
  z-index: 18;
  bottom: 62px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: .24em;
  text-align: center;
  color: white;
}
.scroll::before {
  content: '';
  display: block;
  height: 56px;
  width: 1px;
  background: linear-gradient(transparent,#99d9ff,#fff);
  margin: 0 auto 14px;
  box-shadow: 0 0 12px #46baff;
}
.hero-mist {
  position: absolute;
  pointer-events: none;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  overflow: hidden;
  z-index: 16;
}
.hero-mist canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Transition system: large smooth curves drawn in SVG, with rising fog separate. */
.transition {
  height: 0;
  position: relative;
  z-index: 9;
  pointer-events: none;
}
.transition svg {
  position: absolute;
  left: 0;
  top: -64px;
  width: 100%;
  height: 98px;
  display: block;
  filter: drop-shadow(0 -5px 17px #fff2);
}
.transition.to-dark svg {
  top: -32px;
}
.transition .fog {
  position: absolute;
  left: -4%;
  right: -4%;
  top: -60px;
  height: 105px;
  overflow: hidden;
  opacity: .75;
}
.transition .fog canvas {
  width: 100%;
  height: 100%;
}
/* PHILOSOPHY */
.philosophy {
  min-height: 720px;
  background: linear-gradient(180deg,#dce8f2 0,#f8fbfe 170px,#f2f7fc 100%);
}
.philosophy .wrap {
  padding-top: 105px;
  padding-bottom: 125px;
}
.ph-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(310px,.63fr);
  position: relative;
  min-height: 510px;
  align-items: center;
}
.ph-copy {
  position: relative;
  z-index: 6;
}
.ph-title {
  font: 700 clamp(77px,10vw,166px)/.77 'Playfair Display',Georgia,serif;
  letter-spacing: -.095em;
  white-space: nowrap;
  position: relative;
  z-index: 5;
  margin: 10px 0 29px;
  text-shadow: 0 1px #fff;
}
.ph-title .line {
  display: block;
}
.ph-copy .statement {
  font-size: clamp(23px,2.4vw,35px);
  margin-top: 42px;
}
.person {
  position: absolute;
  right: -2%;
  top: -35px;
  height: 610px;
  width: min(36vw,540px);
  z-index: 4;
  pointer-events: none;
}
.person img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}
.glitch-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  overflow: hidden;
}
.glitch-overlay i {
  position: absolute;
  display: block;
  opacity: 0;
  transition: opacity .08s steps(1);
  background: #0a70ca77;
  mix-blend-mode: multiply;
  box-shadow: 0 0 14px #008fff2c;
}
.glitch-overlay i.black {
  background: #061c33a6;
}
.ph-action {
  font: 600 11px 'DM Sans',sans-serif;
  letter-spacing: .2em;
  display: inline-flex;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid #7992a8;
  padding: 6px 0 15px;
  margin-top: 15px;
}
.ph-action b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #7992a8;
  border-radius: 50%;
  font-weight: 400;
  transition: transform .3s;
}
.ph-action:hover b {
  transform: translateX(6px);
}
/* SERVICE */
.service {
  padding: 18px 0 65px;
}
.service-header {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 45px;
}
.service-header .description {
  max-width: 390px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: clamp(10px,1.3vw,20px);
  padding: 20px 12px 35px;
  perspective: 1300px;
}
.service-card {
  position: relative;
  min-width: 0;
  transform: rotateY(-15deg) rotateX(1.5deg);
  transform-origin: center center;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.18,1,.28,1),box-shadow .65s;
  box-shadow: 20px 28px 32px #0008;
  border: 1px solid #a0d8ff40;
  border-radius: 14px;
  overflow: hidden;
  background: #091826;
}
.service-card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-4px) scale(1.025);
  box-shadow: 0 25px 44px #000a,0 0 24px #1385f544;
}
.service-card .pic {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}
.service-card:hover img {
  transform: scale(1.05);
}
.service-card .pic::after {
  content: '';
  inset: 35% 0 0;
  position: absolute;
  background: linear-gradient(transparent,#071521e8);
}
.service-card .meta {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
}
.service-card h3 {
  font-size: clamp(14px,1.3vw,19px);
  line-height: 1.5;
  margin: 0 0 3px;
  letter-spacing: .04em;
}
.service-card small {
  display: block;
  color: #afc5d6;
  font-size: 10px;
  margin-bottom: 14px;
}
.service-card .more {
  width: 32px;
  height: 32px;
  border: 1px solid #e5f3ff80;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: transform .3s,background .3s;
}
.service-card .more:hover {
  transform: translateX(4px);
  background: #2398ea;
}
/* ABOUT */
.about {
  min-height: 610px;
}
.about-grid {
  display: grid;
  grid-template-columns: 36% 64%;
  align-items: center;
  min-height: 450px;
}
.about-visual {
  position: relative;
  min-height: 390px;
  isolation: isolate;
}
.about-visual .infinity {
  position: relative;
  width: 100%;
  max-width: 850px;
  z-index: 4;
  filter: drop-shadow(0 8px 15px #20a6ff55);
}
.about-aura {
  position: absolute;
  inset: 5% 7%;
  border-radius: 50%;
  background: conic-gradient(from 130deg,#35a8ff00,#0f91ff22,#fff1a255,#a4eaff55,#35a8ff00);
  filter: blur(25px);
  animation: rotateAura 18s linear infinite;
  z-index: 1;
}
.about-glow {
  position: absolute;
  inset: 20% 8%;
  background: radial-gradient(ellipse at center,#048bff38,transparent 66%);
  filter: blur(35px);
  animation: breath 5s ease-in-out infinite alternate;
}
.about-smoke {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 125px;
  z-index: 6;
  pointer-events: none;
}
.about-smoke canvas {
  width: 100%;
  height: 100%;
}
@keyframes rotateAura {
  to {
    transform: rotate(360deg);
  }
}
@keyframes breath {
  to {
    transform: scale(1.1);
    opacity: .62;
  }
}
/* MEDIA */
.media {
  min-height: 560px;
}
.media-grid-layout {
  display: grid;
  grid-template-columns: 27% 73%;
  align-items: end;
  gap: 20px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: clamp(10px,1.25vw,18px);
  perspective: 1350px;
  padding: 20px 15px 40px;
}
.media-card {
  display: block;
  background: #081725;
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
  transform: rotateY(-18deg) rotateX(2deg);
  transform-origin: center bottom;
  box-shadow: 18px 27px 33px #000b;
  border: 1px solid #b4e2ff3d;
  transition: transform .65s cubic-bezier(.18,1,.28,1),box-shadow .65s;
}
.media-card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-5px);
  box-shadow: 0 25px 44px #000a,0 0 24px #1787e944;
}
.media-card .reveal-mask {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg,#0a1724,#09131e);
  padding: 10px 10px 0;
}
.media-card img {
  width: 100%;
  height: 265px;
  object-fit: contain;
  object-position: center top;
  transition: transform .6s;
}
.media-card:hover img {
  transform: scale(1.02);
}
.media-card .meta {
  padding: 13px 12px 18px;
}
.media-card h3 {
  font-size: clamp(12px,1.05vw,16px);
  margin: 0 0 5px;
}
.media-card p {
  font-size: 11px;
  color: #b2c6d6;
  margin: 0;
}
.media-card .round {
  float: right;
  display: grid;
  place-items: center;
  border: 1px solid #91bbd5aa;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-top: -8px;
}
/* NEWS */
.news {
  min-height: 490px;
}
.news .wrap {
  padding-top: 95px;
  padding-bottom: 170px;
}
.news-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}
.news-list {
  margin-top: 30px;
  border-top: 1px solid #ccdae5;
}
.news-list .news-item {
  display: grid;
  grid-template-columns: 125px 85px 1fr 20px;
  gap: 20px;
  align-items: center;
  padding: 22px 5px;
  border-bottom: 1px solid #ccdae5;
  transition: padding .25s,background .25s;
}
.news-list a.news-item:hover {
  padding-left: 16px;
  background: #d8ecfd6d;
}
.news-list time {
  color: #617c94;
  font-size: 13px;
}
.news-list .tag {
  font-size: 10px;
  letter-spacing: .12em;
  border: 1px solid #b2cadc;
  padding: 3px 8px;
  text-align: center;
}
.news-list strong {
  font-size: clamp(15px,1.35vw,20px);
  font-weight: 500;
  line-height: 1.6;
}
/* FOOTER */
.site-footer {
  position: relative;
  background: #030c15;
  color: #fff;
  padding: 58px 5vw 38px;
  min-height: 155px;
  text-align: center;
}
.site-footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -80px;
  height: 100px;
  background: #030c15;
  clip-path: ellipse(77% 85% at 50% 100%);
}
.footer-logo {
  width: min(290px,60vw);
  margin: auto;
  position: relative;
  z-index: 2;
}
.top-tab {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 44px;
  border-radius: 50% 50% 0 0;
  background: #030c15;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 10px;
  letter-spacing: .15em;
  z-index: 4;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 28px 0 0;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: .08em;
}
.footer-links a:hover {
  color: #77d5ff;
}
/* BLOCK REVEAL and moving glow */
.reveal-mask {
  position: relative;
  overflow: hidden;
}
.reveal-mask canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 8;
}
.reveal-text {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s,transform .8s;
}
.reveal-text.on {
  opacity: 1;
  transform: none;
}
#roam-light {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 30;
  mix-blend-mode: screen;
}
@media(max-width:1100px) {
  .head nav {
    display: none;
  }
  .ph-title {
    font-size: clamp(65px,10vw,110px);
  }
  .person {
    right: -6%;
    width: 40vw;
  }
  .service-card .pic {
    aspect-ratio: 2.6/4;
  }
  .media-grid-layout {
    grid-template-columns: 1fr;
  }
  .media-card .reveal-mask {
    padding: 8px 8px 0;
  }
  .media-card img {
    height: 220px;
  }
}
@media(max-width:740px) {
  .hero {
    min-height: 100svh;
  }
  .hero video {
    transform: scale(1.15);
  }
  .hero-copy {
    left: 24px;
    top: 30%;
    max-width: 210px;
  }
  .hero-copy h1 {
    font-size: 26px;
  }
  .hero-copy p {
    font-size: 10px;
  }
  .scroll {
    bottom: 32px;
  }
  .stage>.wrap {
    padding: 70px 22px;
  }
  .philosophy .wrap {
    padding: 100px 22px 85px;
  }
  .ph-grid {
    display: block;
    min-height: 680px;
  }
  .ph-title {
    font-size: clamp(50px,13.5vw,95px);
    letter-spacing: -.075em;
    white-space: nowrap;
  }
  .ph-copy {
    position: relative;
    z-index: 6;
  }
  .ph-copy .statement {
    margin-top: 35px;
    font-size: 22px;
  }
  .person {
    width: 90%;
    height: 350px;
    top: auto;
    right: -12%;
    bottom: -10px;
  }
  .glitch-overlay {
    z-index: 9;
  }
  .service-header {
    display: block;
  }
  .service-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
  }
  .service-card .pic {
    aspect-ratio: 3/4;
  }
  .service-card {
    transform: rotateY(-8deg) rotateX(1deg);
  }
  .service-card h3 {
    font-size: 15px;
  }
  .about-grid {
    display: block;
  }
  .about-visual {
    min-height: 270px;
    margin-top: 25px;
  }
  .media-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .media-card {
    transform: rotateY(-10deg);
  }
  .media-card .reveal-mask {
    padding: 8px 8px 0;
  }
  .media-card img {
    height: 190px;
  }
  .news-list .news-item {
    grid-template-columns: 88px 1fr 16px;
    gap: 10px;
  }
  .news-list .tag {
    display: none;
  }
  .news-list strong {
    font-size: 15px;
  }
  .site-footer {
    padding-top: 70px;
  }
  .transition svg {
    height: 64px;
    top: -40px;
  }
  .transition .fog {
    top: -35px;
    height: 80px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .about-aura,.about-glow {
    animation: none;
  }
  .reveal-text {
    opacity: 1;
    transform: none;
  }
}

/* News: preserve alignment for non-clickable announcements */
.news-list div.news-item {cursor:default;}
.news-list .news-arrow {text-align:right;}
