:root {
  color-scheme: light;
  --ink: #10211f;
  --ink-soft: #263a37;
  --paper: #f7f9f6;
  --mist: #e9f0eb;
  --line: rgba(16, 33, 31, 0.16);
  --teal: #14746f;
  --blue: #2d6f8f;
  --leaf: #587d4b;
  --amber: #c78b3a;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 33, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.8;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(8, 18, 18, 0.58), rgba(8, 18, 18, 0));
}

.brand {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  opacity: 0.82;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 112px clamp(18px, 6vw, 84px) 56px;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("./assets/hero-workspace.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 13, 13, 0.88) 0%, rgba(4, 13, 13, 0.72) 30%, rgba(4, 13, 13, 0.2) 68%, rgba(4, 13, 13, 0.08) 100%),
    linear-gradient(180deg, rgba(4, 13, 13, 0.05) 0%, rgba(4, 13, 13, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-name-row {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin: 0 0 12px;
}

.hero-name {
  position: relative;
  margin: 0 0 12px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 11vw, 140px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

.hero-name::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.08em;
  bottom: -0.08em;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(240, 199, 106, 0.9), rgba(255, 255, 255, 0.18));
  box-shadow: 0 0 18px rgba(240, 199, 106, 0.28);
}

.hero-reading {
  margin: 0 0 16px;
  border-left: 2px solid rgba(240, 199, 106, 0.9);
  padding-left: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.moon-c {
  position: relative;
  display: inline-block;
  color: #f0c76a;
  -webkit-text-stroke: 0.018em rgba(255, 238, 184, 0.92);
  text-stroke: 0.018em rgba(255, 238, 184, 0.92);
  text-shadow:
    0 0 18px rgba(240, 199, 106, 0.34),
    0 10px 34px rgba(0, 0, 0, 0.28);
  transform: translateY(0.02em);
}

.moon-c::after {
  content: "";
  position: absolute;
  width: 0.58em;
  height: 0.72em;
  top: 0.1em;
  right: 0.05em;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 48%, rgba(247, 249, 246, 0.08), rgba(7, 20, 20, 0.72) 58%, rgba(7, 20, 20, 0.86) 100%);
  box-shadow:
    -10px 0 18px rgba(240, 199, 106, 0.14),
    inset 8px 0 18px rgba(255, 238, 184, 0.08);
  pointer-events: none;
}

.eyebrow,
.section-kicker,
.work-type,
.strength-label {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--teal);
  font-size: 16px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.work-link:hover {
  color: var(--blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 .title-line {
  display: block;
  white-space: nowrap;
}

h1 .title-line + .title-line {
  margin-top: 10px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.45;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 38px rgba(20, 116, 111, 0.35);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.section {
  padding: clamp(68px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.intro-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.intro p,
.benefit-list,
.cta-inner p {
  color: var(--ink-soft);
  font-size: 20px;
  font-weight: 700;
}

.intro-copy {
  padding-top: 1.8em;
}

.muted {
  background: var(--mist);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 20px;
  font-weight: 700;
}

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

.card {
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.card-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.card p,
.strength p,
.work-item p {
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 700;
}

.strengths-section {
  background:
    linear-gradient(90deg, rgba(45, 111, 143, 0.08), rgba(88, 125, 75, 0.08)),
    var(--paper);
}

.strengths {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.strength {
  display: grid;
  grid-template-columns: 170px 1fr 1.15fr;
  gap: 24px;
  padding: 26px;
  background: var(--white);
}

.strength h3 {
  margin-bottom: 0;
}

.work-list {
  display: grid;
  gap: 16px;
}

.work-item {
  display: grid;
  grid-template-columns: 140px 0.8fr 1.2fr;
  gap: 22px;
  align-items: start;
  border-top: 1px solid rgba(16, 33, 31, 0.18);
  padding: 24px 0;
}

.benefit-section {
  color: var(--white);
  background: #173533;
}

.benefit-section .section-kicker {
  color: #e6b76b;
}

.benefit-section h2,
.benefit-list {
  color: var(--white);
}

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

.benefit-list li {
  position: relative;
  padding-left: 26px;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

.cta-section {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(20, 116, 111, 0.1), rgba(45, 111, 143, 0.12)),
    var(--paper);
}

.cta-inner {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(26px, 4.2vw, 46px);
  white-space: nowrap;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 14px;
  gap: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.88);
  background: #0d1d1c;
  font-size: 15px;
}

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    padding-top: 14px;
  }

  .nav {
    gap: 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 104px;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .intro-grid,
  .benefit-grid,
  .service-grid,
  .strength,
  .work-item {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .strength,
  .work-item {
    gap: 8px;
  }
}

@media (max-width: 560px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    position: absolute;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
  }

  .nav {
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .hero {
    min-height: 88vh;
    padding-left: 18px;
    padding-right: 18px;
    max-width: 100%;
  }

  .hero-bg {
    transform: none;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 13, 13, 0.9) 0%, rgba(4, 13, 13, 0.76) 52%, rgba(4, 13, 13, 0.3) 100%),
      linear-gradient(180deg, rgba(4, 13, 13, 0.1) 0%, rgba(4, 13, 13, 0.8) 100%);
  }

  h1 {
    font-size: clamp(30px, 8.2vw, 38px);
  }

  h2 {
    font-size: 28px;
  }

  .hero-content,
  .section-inner,
  .section-heading,
  .intro-copy,
  .cta-inner {
    max-width: 100%;
    min-width: 0;
  }

  .section,
  .cta-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-name-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .hero-name {
    margin-bottom: 4px;
  }

  .hero-reading {
    margin: 0 0 18px;
  }

  .cta-inner h2 {
    max-width: 100%;
    font-size: clamp(23px, 6.2vw, 30px);
    white-space: normal;
    overflow-wrap: break-word;
    line-break: strict;
  }

  .cta-inner p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .button {
    max-width: 100%;
    width: 100%;
    white-space: normal;
  }

  .footer {
    flex-direction: column;
    max-width: 100%;
  }
}
