:root {
  color-scheme: light;
  --ink: #151515;
  --paper: #f7f4ee;
  --paper-warm: #eee4d6;
  --blue: #173f5f;
  --blue-deep: #09243a;
  --gold: #c9921a;
  --green: #2f5f4a;
  --stone: #71665b;
  --line: rgba(21, 21, 21, 0.16);
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(9, 36, 58, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    'Noto Sans JP',
    'Noto Sans',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  letter-spacing: 0;
}

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

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

p {
  line-height: 1.85;
}

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

.brand-mark,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
}

.brand-seal {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.82);
  border-radius: 50%;
  color: var(--gold);
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

.site-nav a {
  color: rgba(255, 253, 248, 0.88);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 128px clamp(22px, 6vw, 80px) 72px;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 23, 34, 0.78), rgba(6, 23, 34, 0.18)),
    linear-gradient(0deg, rgba(6, 23, 34, 0.45), rgba(6, 23, 34, 0));
}

.hero-content {
  position: relative;
  max-width: 920px;
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, 'Noto Serif JP', serif;
  font-size: clamp(72px, 15vw, 176px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 22px 0 0;
  font-family: Georgia, 'Noto Serif JP', serif;
  font-size: clamp(28px, 5vw, 58px);
  line-height: 1.22;
}

.hero-copy span {
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button.primary {
  background: var(--gold);
  color: #161006;
}

.button.secondary {
  border-color: rgba(255, 253, 248, 0.72);
  color: var(--white);
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(22px, 6vw, 80px);
}

.story-section {
  background: var(--paper);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

h2 {
  margin: 0;
  font-family: Georgia, 'Noto Serif JP', serif;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

.story-copy p {
  margin: 0 0 20px;
  color: #38332e;
  font-size: 17px;
}

.experience-section {
  background: var(--blue-deep);
  color: var(--white);
}

.experience-section h2 {
  max-width: 860px;
}

.experience-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(170px, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: rgba(255, 253, 248, 0.18);
  border: 1px solid rgba(255, 253, 248, 0.18);
}

.experience-list article {
  min-height: 250px;
  padding: 24px;
  background: var(--blue-deep);
}

.experience-list span {
  display: block;
  margin-bottom: 52px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 16px;
}

.experience-list p,
.app-copy p,
.closing-section p,
.text-card p,
.legal-page p,
.legal-page li {
  color: color-mix(in srgb, currentColor 78%, transparent);
}

.app-section {
  display: grid;
  grid-template-columns: minmax(300px, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  background: var(--paper-warm);
}

.app-visual img,
.story-cards img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: #2d2925;
  font-weight: 700;
}

.editorial-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(32px, 6vw, 72px);
  background: var(--paper);
}

.story-cards {
  display: grid;
  gap: 20px;
}

.story-cards article {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: center;
}

.text-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.story-cards .text-card {
  display: block;
}

.closing-section {
  background: var(--green);
  color: var(--white);
}

.closing-section p {
  max-width: 760px;
  margin: 24px 0 30px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: 28px;
  padding: 42px clamp(22px, 6vw, 80px);
  background: #151515;
  color: var(--white);
}

.site-footer p {
  margin: 10px 0 0;
  color: rgba(255, 253, 248, 0.7);
}

.footer-links {
  justify-content: end;
  color: rgba(255, 253, 248, 0.74);
}

.legal-header {
  position: sticky;
  background: rgba(247, 244, 238, 0.92);
  color: var(--ink);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.legal-header .brand-seal {
  border-color: var(--line);
  color: var(--blue);
}

.legal-header .site-nav a {
  color: var(--stone);
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 128px 22px 80px;
}

.legal-page h1 {
  margin: 0 0 22px;
  font-family: Georgia, 'Noto Serif JP', serif;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.legal-page section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 4vw, 38px);
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  overflow-wrap: anywhere;
}

.legal-page th,
.legal-page td {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-page th {
  width: 32%;
  color: var(--stone);
  font-weight: 700;
}

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .story-grid,
  .app-section,
  .editorial-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .experience-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links {
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding-top: 112px;
  }

  .button {
    width: 100%;
  }

  .experience-list,
  .story-cards article {
    grid-template-columns: 1fr;
  }

  .experience-list article {
    min-height: auto;
  }

  .experience-list span {
    margin-bottom: 28px;
  }

  .legal-page th,
  .legal-page td {
    display: block;
    width: 100%;
  }
}
