:root {
  color-scheme: dark;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: #f7fbff;
  background: #06101d;
  --ink: #06101d;
  --deep: #0a1728;
  --panel: #101f33;
  --line: rgba(255, 255, 255, 0.16);
  --blue: #3ea3ff;
  --cyan: #52e2ff;
  --gold: #e7bf6b;
  --paper: #f5f8fc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(6, 16, 29, 0.94), rgba(6, 16, 29, 0.52));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background:
    linear-gradient(135deg, rgba(62, 163, 255, 0.32), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: #9db2ca;
  font-size: 12px;
}

nav {
  display: flex;
  gap: 22px;
  color: #d4dfed;
  font-size: 14px;
}

nav a,
.header-tel {
  text-decoration: none;
}

.header-tel {
  color: #fff;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: min(860px, 92vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 114px clamp(20px, 6vw, 86px) 44px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 74px 0 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, #000 0%, #000 42%, transparent 72%);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 16, 29, 0.98) 0%, rgba(6, 16, 29, 0.82) 39%, rgba(6, 16, 29, 0.16) 74%),
    linear-gradient(0deg, rgba(6, 16, 29, 0.92) 0%, rgba(6, 16, 29, 0.1) 48%),
    linear-gradient(180deg, rgba(6, 16, 29, 0.74) 0%, rgba(6, 16, 29, 0) 24%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.9;
  font-weight: 900;
  text-wrap: balance;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: #d6e2f1;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  text-decoration: none;
  font-weight: 900;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #04111f;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button:hover {
  transform: translateY(-2px);
}

.hero-spec {
  position: absolute;
  right: clamp(16px, 3vw, 48px);
  bottom: 44px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  width: min(264px, 22vw);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(62, 163, 255, 0.12), transparent 42%),
    rgba(7, 19, 35, 0.78);
  backdrop-filter: blur(12px);
}

.hero-spec div {
  min-height: 88px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-spec div:last-child {
  border-bottom: 0;
}

.hero-spec span {
  display: block;
  color: #94a9c3;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-spec strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: clamp(20px, 2.5vw, 34px);
}

.ticker {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  padding: 1px;
  background: #17273d;
}

.ticker span {
  flex: 0 0 auto;
  min-width: 180px;
  padding: 18px 22px;
  background: #0d1a2c;
  color: #dbe6f4;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  box-shadow: inset 0 2px 0 rgba(82, 226, 255, 0.28);
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 6vw, 86px);
}

.lead-section {
  background:
    linear-gradient(90deg, rgba(245, 248, 252, 0.96), rgba(245, 248, 252, 0.78)),
    url("./assets/kageden-street-generated.png") center / cover;
  color: #102033;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.section h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.1;
  font-weight: 900;
  text-wrap: balance;
}

.lead-section .section-kicker {
  color: #0f6bb8;
}

.lead-grid p,
.visual-copy p,
.capability-grid p,
.work-grid p {
  margin: 0;
  color: #526276;
  font-size: 17px;
  line-height: 1.9;
}

.dark {
  background: #06101d;
}

.section-head {
  max-width: 980px;
  margin-bottom: 40px;
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.work-feature {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(8, 20, 36, 0.05), rgba(8, 20, 36, 0.9)),
    url("./assets/kageden-hero-premium.png") center / cover;
  border: 1px solid var(--line);
}

.work-feature p {
  margin: 0 0 14px;
  color: var(--cyan);
  font-weight: 900;
}

.work-feature h3 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
}

.work-feature span {
  display: block;
  margin-top: 18px;
  color: #d4dfed;
  line-height: 1.8;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.work-grid article,
.capability-grid div {
  position: relative;
  min-height: 250px;
  padding: 28px;
  background: #0d1a2c;
  border: 1px solid var(--line);
}

.work-grid article::before,
.capability-grid div::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 86px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.work-grid span,
.capability-grid strong {
  color: var(--gold);
  font-weight: 900;
}

.work-grid h3,
.capability-grid h3 {
  margin: 36px 0 12px;
  font-size: 24px;
}

.work-grid p,
.capability-grid p {
  color: #aebdd0;
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
  padding: 0 clamp(20px, 6vw, 86px) clamp(64px, 9vw, 120px);
  background: #06101d;
}

.project-card {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d1a2c;
}

.project-card.large {
  min-height: 660px;
}

.project-card.large img {
  object-position: center 44%;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 16, 29, 0.02), rgba(6, 16, 29, 0.86)),
    linear-gradient(90deg, rgba(6, 16, 29, 0.62), transparent 58%);
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(26px, 4vw, 46px);
}

.project-card span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.05;
}

.project-card p {
  max-width: 520px;
  margin: 16px 0 0;
  color: #d2deec;
  line-height: 1.8;
}

.capability {
  background:
    linear-gradient(90deg, rgba(234, 240, 247, 0.94), rgba(234, 240, 247, 0.78)),
    url("./assets/kageden-street-generated.png") center / cover,
    radial-gradient(circle at top left, rgba(62, 163, 255, 0.18), transparent 28%),
    #eaf0f7;
  color: #102033;
}

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

.capability-grid div {
  background: #fff;
  color: #102033;
}

.capability-grid p {
  color: #59697d;
}

.visual-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background:
    linear-gradient(135deg, #071323 0%, #0d1f35 55%, #071323 100%);
}

.visual-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.visual-copy p {
  margin-top: 24px;
  color: #c4d2e3;
}

.company {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 72px);
  background: var(--paper);
  color: #102033;
}

.company-table {
  margin: 0;
  border-top: 1px solid #d7e0ec;
}

.company-table div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid #d7e0ec;
}

dt {
  color: #66778d;
  font-size: 13px;
  font-weight: 800;
}

dd {
  margin: 0;
  font-weight: 900;
}

.final-cta {
  margin: 0 clamp(20px, 6vw, 86px) clamp(64px, 9vw, 120px);
  padding: clamp(44px, 8vw, 86px);
  background:
    linear-gradient(90deg, rgba(6, 16, 29, 0.96), rgba(6, 16, 29, 0.68)),
    url("./assets/kageden-hero-premium.png") center / cover;
  border: 1px solid var(--line);
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(40px, 6vw, 86px);
  line-height: 1;
}

.final-cta p:not(.section-kicker) {
  margin: 22px 0 0;
  color: #d5e1ef;
  font-size: 18px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 6vw, 86px);
  color: #aebdd0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-contact {
  display: none;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .lead-grid,
  .work-layout,
  .project-showcase,
  .visual-band,
  .company {
    grid-template-columns: 1fr;
  }

  .hero-spec,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .hero-spec {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(920px, 100%);
    margin-top: 48px;
  }

  .hero-spec div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 170px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 48px);
    line-height: 1.02;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card.large {
    min-height: 520px;
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  footer {
    flex-direction: column;
    padding-bottom: 92px;
  }

  .mobile-contact {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 12px;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: min(360px, calc(100vw - 24px));
    padding: 8px;
    background: rgba(6, 16, 29, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    transform: translateX(-50%);
  }

  .mobile-contact a {
    display: grid;
    min-height: 48px;
    place-items: center;
    background: #3ea3ff;
    color: #03111f;
    text-decoration: none;
    font-weight: 900;
  }

  .mobile-contact a:last-child {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }
}
