:root {
  --ink: #202526;
  --ink-soft: #59605f;
  --charcoal: #1d2527;
  --cream: #f4efe7;
  --paper: #fffdf9;
  --rose: #b85469;
  --rose-soft: #ead2d7;
  --sage: #c9d8cf;
  --blue: #3d5d68;
  --blue-soft: #d5e1e4;
  --line: rgba(32, 37, 38, 0.16);
  --white-line: rgba(255, 253, 249, 0.2);
  --shadow: 0 24px 70px rgba(35, 31, 27, 0.11);
  --serif: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Hiragino Sans", "Yu Gothic", YuGothic, "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--paper);
  background: var(--rose);
}

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

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

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #e58da0;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 15px;
  color: var(--paper);
  background: var(--charcoal);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 70px;
  padding: 0 max(18px, calc((100vw - 1180px) / 2));
  background: rgba(244, 239, 231, 0.9);
  border-bottom: 1px solid rgba(32, 37, 38, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--paper);
  background: var(--charcoal);
  border-radius: 50% 50% 50% 10px;
  font-size: 0.86rem;
  transform: rotate(-7deg);
}

.brand-name {
  white-space: nowrap;
}

.brand-role {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.header-cta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--paper);
  background: var(--charcoal);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero {
  padding: 18px 16px 52px;
}

.hero-shell {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(32, 37, 38, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 34px 20px 0;
}

.eyebrow,
.section-kicker {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 20px;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span,
.section-kicker span {
  display: inline-grid;
  min-width: 34px;
  height: 23px;
  padding: 0 7px;
  place-items: center;
  color: var(--paper);
  background: var(--rose);
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.hero h1,
.section-heading h2,
.experience h2,
.flow-heading h2,
.projects-head h2,
.routes-heading h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(2.75rem, 12.3vw, 5.8rem);
  line-height: 1.06;
}

.hero h1 em {
  color: var(--rose);
  font-style: normal;
}

.hero-lead,
.hero-bridge {
  max-width: 610px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.9;
}

.hero-lead {
  margin: 25px 0 0;
}

.hero-bridge {
  margin: 12px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.hero-actions {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button span {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
}

.button-primary {
  color: var(--paper);
  background: var(--rose);
  box-shadow: 0 14px 32px rgba(184, 84, 105, 0.24);
}

.button-primary span {
  color: var(--rose);
  background: var(--paper);
}

.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  border-bottom: 1px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.trust-list {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 25px 0 28px;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 6px 9px;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.59rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: #e8e2d9;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 50% 36%;
}

.hero-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 23%;
  content: "";
  background: linear-gradient(transparent, rgba(18, 23, 24, 0.56));
  pointer-events: none;
}

.hero-media figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.52rem;
  text-align: right;
}

.hero-stamp {
  position: absolute;
  top: 18px;
  right: 16px;
  display: grid;
  width: 104px;
  height: 104px;
  padding: 13px;
  color: var(--paper);
  background: rgba(29, 37, 39, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  place-content: center;
  text-align: center;
  backdrop-filter: blur(8px);
}

.hero-stamp small {
  font-size: 0.42rem;
  letter-spacing: 0.11em;
}

.hero-stamp strong {
  font-family: var(--serif);
  font-size: 0.85rem;
  line-height: 1.15;
}

.message-strip {
  overflow: hidden;
  color: var(--paper);
  background: var(--rose);
  border-block: 1px solid rgba(32, 37, 38, 0.1);
}

.message-track {
  display: flex;
  gap: 28px;
  align-items: center;
  width: max-content;
  min-width: 100%;
  min-height: 48px;
  padding-inline: 20px;
  font-family: var(--serif);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  animation: drift 26s linear infinite;
}

.message-track i {
  font-style: normal;
}

@keyframes drift {
  to { transform: translateX(-35%); }
}

.section {
  padding: 92px 20px;
}

.section-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.section-heading h2,
.experience h2,
.flow-heading h2,
.projects-head h2,
.routes-heading h2 {
  font-size: clamp(2.4rem, 10.5vw, 5.2rem);
  line-height: 1.12;
}

.section-lead,
.experience-head > p,
.flow-heading > p,
.projects-head > p,
.routes-heading > p {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 2;
}

.problem {
  background: var(--paper);
}

.problem-content {
  margin-top: 42px;
}

.problem-cards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.problem-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 4px 12px;
  padding: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 17px;
}

.problem-card > span {
  grid-row: 1 / span 2;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
}

.problem-card h3,
.strength-card h3,
.flow-step h3,
.project-card h3,
.route-card h3,
.join-feature h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.problem-card h3 {
  font-size: 1rem;
  line-height: 1.55;
}

.problem-card p {
  grid-column: 2;
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.experience {
  color: var(--paper);
  background: var(--charcoal);
}

.section-kicker-light {
  color: #e9bac4;
}

.section-kicker-light span {
  color: var(--charcoal);
  background: #e9bac4;
}

.experience-head > p,
.routes-heading > p {
  color: rgba(255, 253, 249, 0.67);
}

.role-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 29px 0 36px;
  padding: 0;
  list-style: none;
}

.role-list li {
  padding: 7px 12px;
  border: 1px solid rgba(255, 253, 249, 0.25);
  border-radius: 999px;
  font-size: 0.68rem;
}

.strength-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--white-line);
  border-left: 1px solid var(--white-line);
}

.strength-card {
  min-height: 190px;
  padding: 18px 14px;
  border-right: 1px solid var(--white-line);
  border-bottom: 1px solid var(--white-line);
}

.strength-card > span {
  color: #e9bac4;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
}

.strength-card h3 {
  margin-top: 24px;
  font-size: 1rem;
  line-height: 1.5;
}

.strength-card p {
  margin: 8px 0 0;
  color: rgba(255, 253, 249, 0.58);
  font-size: 0.68rem;
  line-height: 1.8;
}

.flow {
  background: var(--cream);
}

.service-note {
  display: grid;
  gap: 5px;
  margin-top: 29px;
  padding: 16px;
  background: var(--paper);
  border-left: 3px solid var(--rose);
}

.service-note strong {
  font-family: var(--serif);
  font-size: 0.92rem;
}

.service-note span {
  color: var(--ink-soft);
  font-size: 0.62rem;
  line-height: 1.7;
}

.flow-steps {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 17px;
  padding-bottom: 32px;
}

.flow-step:not(:last-child)::before {
  position: absolute;
  top: 54px;
  bottom: 0;
  left: 26px;
  width: 1px;
  content: "";
  background: var(--line);
}

.flow-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--paper);
  background: var(--rose);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 0.72rem;
}

.flow-label,
.route-label {
  margin: 0 0 4px;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.flow-step h3 {
  font-size: 1.25rem;
}

.flow-step div > p:last-child {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 0.73rem;
}

.projects {
  background: var(--paper);
}

.projects-head > p {
  max-width: 470px;
}

.swipe-hint {
  margin: 28px 0 12px;
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 700;
  text-align: right;
}

.project-rail {
  display: grid;
  grid-auto-columns: min(84vw, 350px);
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 14px;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
}

.project-card {
  display: flex;
  min-height: 405px;
  padding: 22px;
  flex-direction: column;
  border-radius: 22px;
  scroll-snap-align: start;
}

.project-card-rose { background: var(--rose-soft); }
.project-card-sage { background: var(--sage); }
.project-card-blue { background: var(--blue-soft); }

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-meta span {
  padding: 5px 8px;
  background: rgba(255, 253, 249, 0.7);
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 800;
}

.project-meta b {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
}

.project-card h3 {
  margin-top: 64px;
  font-size: 2rem;
  line-height: 1.1;
}

.project-card > p {
  margin: 18px 0 0;
  color: rgba(32, 37, 38, 0.72);
  font-size: 0.75rem;
}

.project-card ul {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.project-card li {
  padding: 5px 8px;
  background: rgba(255, 253, 249, 0.64);
  border: 1px solid rgba(32, 37, 38, 0.12);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
}

.project-disclaimer {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 0.61rem;
  line-height: 1.75;
}

.routes {
  color: var(--paper);
  background: var(--blue);
}

.route-grid {
  display: grid;
  gap: 12px;
  margin-top: 38px;
}

.route-card {
  padding: 22px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 20px;
}

.route-card h3 {
  margin-top: 28px;
  font-size: 1.48rem;
}

.route-card > p:not(.route-label) {
  min-height: 74px;
  margin: 9px 0 20px;
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.button-line {
  color: var(--paper);
  background: #08ad4a;
}

.button-line span {
  color: #08ad4a;
  background: var(--paper);
}

.button-dark {
  color: var(--paper);
  background: var(--charcoal);
}

.button-dark span {
  color: var(--charcoal);
  background: var(--paper);
}

.join-feature {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  margin-top: 12px;
  padding: 21px;
  color: var(--ink);
  background: #e7d9c4;
  border-radius: 20px;
}

.join-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--paper);
  background: var(--rose);
  border-radius: 50%;
  font-size: 1.2rem;
}

.join-feature h3 {
  font-size: 1.25rem;
}

.join-feature p:not(.route-label) {
  margin: 8px 0 0;
  font-size: 0.75rem;
}

.join-feature small {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.57rem;
  line-height: 1.7;
}

.cta-fallback {
  margin: 16px 0 0;
  padding: 12px 14px;
  color: var(--paper);
  border: 1px solid rgba(255, 253, 249, 0.3);
  border-radius: 999px;
  font-size: 0.67rem;
  text-align: center;
}

.faq {
  background: var(--cream);
}

.faq-list {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 21px 42px 21px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  content: "+";
  color: var(--rose);
  font-family: var(--serif);
  font-size: 1.4rem;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -2px 0 22px;
  padding-right: 16px;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.final-cta {
  display: grid;
  gap: 38px;
  padding: 90px 20px 105px;
  color: var(--paper);
  background: var(--charcoal);
}

.final-copy,
.final-actions {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(2.6rem, 11vw, 5.8rem);
  line-height: 1.08;
}

.final-cta h2 em {
  color: #e9bac4;
  font-style: normal;
}

.final-copy > p:last-child {
  margin: 23px 0 0;
  color: rgba(255, 253, 249, 0.66);
  font-size: 0.8rem;
}

.final-actions {
  display: grid;
  gap: 10px;
}

.button-light {
  color: var(--charcoal);
  background: var(--paper);
}

.button-light span {
  color: var(--paper);
  background: var(--rose);
}

.button-outline {
  color: var(--paper);
  background: transparent;
  border-color: rgba(255, 253, 249, 0.4);
}

.button-outline span {
  color: var(--charcoal);
  background: var(--paper);
}

.site-footer {
  display: grid;
  gap: 23px;
  padding: 34px 20px 104px;
  background: var(--rose-soft);
}

.brand-footer {
  margin-bottom: 12px;
}

.site-footer p,
.site-footer small {
  margin: 0;
  color: rgba(32, 37, 38, 0.7);
  font-size: 0.63rem;
  line-height: 1.8;
}

.mobile-actions {
  position: fixed;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: 10px;
  z-index: 90;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5px;
  padding: 5px;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(32, 37, 38, 0.13);
  border-radius: 999px;
  box-shadow: 0 15px 42px rgba(20, 24, 25, 0.22);
  backdrop-filter: blur(15px);
}

.mobile-actions a {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 800;
}

.mobile-actions a:first-child {
  color: var(--paper);
  background: #08ad4a;
}

.mobile-actions a:last-child {
  color: var(--paper);
  background: var(--charcoal);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 760px) {
  .hero {
    padding: 26px 28px 70px;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 0.94fr) minmax(410px, 1.06fr);
    min-height: 730px;
  }

  .hero-copy {
    align-self: center;
    padding: 58px 44px;
  }

  .hero-actions {
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: start;
  }

  .hero-media,
  .hero-media img {
    min-height: 730px;
  }

  .hero-media img {
    object-position: 52% center;
  }

  .problem-layout,
  .flow-layout,
  .faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 80px;
  }

  .problem-content,
  .faq-list {
    margin-top: 0;
  }

  .problem-cards {
    grid-template-columns: 1fr;
  }

  .experience-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
    gap: 60px;
    align-items: end;
  }

  .experience-head .section-kicker,
  .experience-head h2 {
    grid-column: 1;
  }

  .experience-head > p {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: end;
  }

  .strength-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .strength-card {
    min-height: 255px;
    padding: 24px 20px;
  }

  .flow-heading {
    position: sticky;
    top: 110px;
    align-self: start;
  }

  .flow-steps {
    margin-top: 0;
  }

  .projects-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 60px;
    align-items: end;
  }

  .project-rail {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    overflow: visible;
  }

  .swipe-hint {
    display: none;
  }

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

  .join-feature {
    grid-template-columns: 60px 1fr;
    padding: 28px;
  }

  .join-icon {
    width: 60px;
    height: 60px;
  }

  .final-cta {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.48fr);
    gap: 70px;
    padding-inline: max(28px, calc((100vw - 1120px) / 2));
    align-items: end;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    padding-inline: max(28px, calc((100vw - 1120px) / 2));
    padding-bottom: 40px;
  }

  .mobile-actions {
    display: none;
  }
}

@media (max-width: 580px) {
  .site-header {
    grid-template-columns: auto 1fr;
    min-height: 64px;
    padding-inline: 14px;
  }

  .brand-role {
    display: none;
  }

  .header-cta {
    justify-self: end;
    min-height: 40px;
    padding-inline: 14px;
  }

  .hero h1 {
    font-size: clamp(2.72rem, 12.8vw, 3.7rem);
  }

  .hero-media,
  .hero-media img {
    min-height: 500px;
  }

  .hero-media img {
    object-position: 54% 44%;
  }

  .section {
    padding-block: 84px;
  }
}

@media (max-width: 365px) {
  .brand-name {
    font-size: 0.93rem;
  }

  .header-cta {
    font-size: 0.67rem;
  }

  .hero {
    padding-inline: 10px;
  }

  .hero-copy {
    padding-inline: 16px;
  }

  .strength-card {
    min-height: 206px;
    padding-inline: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .message-track {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
