: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;
}

.brand-mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.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);
}

.signature-banner {
  position: relative;
  min-height: clamp(280px, 34vw, 430px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(24, 94, 122, 0.72), rgba(47, 119, 147, 0.58)),
    url("./assets/kageden-corporate-sky.jpg") center / cover;
  color: #fff;
}

.signature-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(1, 28, 45, 0.16)),
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.18), transparent 38%);
}

.signature-overlay {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  text-align: center;
}

.signature-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  max-width: 100%;
}

.signature-name {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(40px, 6.4vw, 88px);
  font-weight: 400;
  line-height: 1.08;
  text-shadow: 0 3px 18px rgba(0, 38, 55, 0.28);
}

.signature-logo {
  flex: 0 0 auto;
  width: clamp(70px, 9vw, 128px);
  height: clamp(70px, 9vw, 128px);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.2;
  filter: drop-shadow(0 3px 12px rgba(0, 38, 55, 0.24));
}

.signature-rule {
  height: 2px;
  width: min(900px, 88%);
  margin: clamp(14px, 2vw, 24px) auto clamp(14px, 2.4vw, 28px);
  background: rgba(255, 255, 255, 0.92);
}

.signature-banner p {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(24px, 4.2vw, 52px);
  font-weight: 400;
  line-height: 1.35;
  text-shadow: 0 3px 18px rgba(0, 38, 55, 0.28);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #f8fbff;
  color: #102033;
  border-bottom: 1px solid #d9e3ef;
}

.proof-strip div {
  min-height: 128px;
  padding: 28px clamp(18px, 4vw, 42px);
  border-right: 1px solid #d9e3ef;
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip span {
  display: block;
  color: #6b7d92;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-strip strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.15;
}

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

.lead-section {
  background:
    linear-gradient(90deg, rgba(245, 248, 252, 0.98), rgba(245, 248, 252, 0.9)),
    url("./assets/kageden-apartment-lighting.jpg") center / cover;
  color: #102033;
}

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

.lead-body {
  display: grid;
  gap: 34px;
}

.lead-body figure {
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid #d9e3ef;
  box-shadow: 0 28px 70px rgba(16, 32, 51, 0.16);
}

.lead-body img {
  display: block;
  width: 100%;
  height: clamp(300px, 34vw, 430px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lead-body figcaption {
  padding: 14px 4px 2px;
  color: #5c6c80;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.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;
}

.split-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.split-head > p {
  margin: 0 0 10px;
  color: #7a8aa0;
  font-size: 17px;
  line-height: 1.9;
}

.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.jpg") 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;
}

.records {
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
  color: #102033;
}

.records .section-kicker,
.journal .section-kicker,
.company .section-kicker {
  color: #0f6bb8;
}

.records-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(190px, 16vw);
  gap: 12px;
}

.records-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #dbe4ef;
  border: 1px solid #d3deea;
}

.records-card.tall {
  grid-row: span 2;
}

.records-card.wide {
  grid-column: span 2;
}

.records-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.records-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(6, 16, 29, 0.82));
}

.records-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.records-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.2;
}

.journal {
  background: #fff;
  color: #102033;
}

.journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 18px;
}

.journal-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  min-height: 210px;
  padding: 18px;
  background: #f4f8fd;
  border: 1px solid #d9e3ef;
}

.journal-card.feature {
  grid-row: span 3;
  grid-template-columns: 1fr;
  min-height: 620px;
}

.journal-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 174px;
  object-fit: cover;
}

.journal-card.feature img {
  min-height: 390px;
}

.journal-card span {
  color: #0f6bb8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.journal-card h3 {
  margin: 10px 0 12px;
  color: #102033;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.16;
}

.journal-card:not(.feature) h3 {
  font-size: 22px;
}

.journal-card p {
  margin: 0;
  color: #607086;
  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.jpg") 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.jpg") 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,
  .split-head,
  .project-showcase,
  .journal-grid,
  .visual-band,
  .company {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
  }

  .proof-strip div:nth-child(2) {
    border-right: 0;
  }

  .proof-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid #d9e3ef;
  }

  .records-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(210px, 34vw);
  }

  .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 {
    min-height: auto;
    padding-top: 170px;
    padding-bottom: 56px;
  }

  .hero-spec {
    display: none;
  }

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

  .signature-banner {
    min-height: 300px;
  }

  .signature-overlay {
    width: min(366px, calc(100% - 24px));
  }

  .signature-line {
    gap: 8px;
  }

  .signature-name {
    font-size: clamp(22px, 6.2vw, 25px);
    white-space: nowrap;
  }

  .signature-logo {
    width: clamp(38px, 10vw, 44px);
    height: clamp(38px, 10vw, 44px);
    stroke-width: 5;
  }

  .signature-rule {
    width: 94%;
  }

  .signature-banner p {
    font-size: clamp(18px, 5.8vw, 24px);
  }

  .lead-body img {
    height: 250px;
  }

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

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    min-height: 104px;
    border-right: 0;
    border-bottom: 1px solid #d9e3ef;
  }

  .records-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(260px, 70vw);
  }

  .records-card.wide,
  .records-card.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .journal-card,
  .journal-card.feature {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .journal-card.feature img,
  .journal-card img {
    min-height: 240px;
  }

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

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

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

  .mobile-contact {
    display: none;
  }

  .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;
  }
}
