@charset "UTF-8";

:root {
  --paper: #eef0e8;
  --paper-deep: #dce3d9;
  --ink: #1f332c;
  --muted: #64736d;
  --green: #234f42;
  --green-deep: #1d3f35;
  --green-card: #294f43;
  --sage: #c7d3c5;
  --verm: #c8462f;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
  --serif: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  padding: 1rem;
  color: var(--ink);
  background: var(--green-deep);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 2px solid var(--verm);
  outline-offset: 4px;
}

.page-frame {
  max-width: 1720px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  border-radius: 0.55rem;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 6.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 3vw;
  border-bottom: 1px solid rgba(31, 51, 44, 0.2);
}

.brand {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand img {
  display: block;
  width: 2.6rem;
  height: 2.6rem;
}

.site-header nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  font-size: 0.7rem;
}

.site-header nav a {
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.site-header nav a:hover {
  color: var(--verm);
}

.site-header nav a:last-child {
  padding: 0.8rem 1.25rem;
  color: var(--paper);
  background: var(--green);
  border-radius: 999px;
}

.site-header nav a:last-child:hover {
  color: #fff;
  background: var(--verm);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 8.5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 2rem 3vw 4rem;
}

.coordinates {
  position: relative;
  z-index: 2;
  display: grid;
  grid-column: 1 / 3;
  grid-template-columns: 1fr 1fr 2fr;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.57rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coordinates span:nth-child(2) {
  text-align: center;
}

.coordinates span:last-child {
  text-align: right;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-top: 6rem;
}

.label {
  margin: 0;
  color: #68766f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-copy h1 {
  width: max-content;
  margin: 3.5rem 0;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 6vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.18;
  white-space: nowrap;
}

.hero-lede {
  margin: 0 0 3rem;
  font-size: 0.8rem;
  line-height: 2;
}

.primary-button {
  display: flex;
  width: min(100%, 22rem);
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  color: var(--paper);
  background: var(--green);
  border-radius: 0.25rem;
  font-size: 0.74rem;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.primary-button:hover {
  background: var(--verm);
  transform: translateY(-2px);
}

.system-map {
  position: relative;
  align-self: center;
  justify-self: end;
  width: min(48vw, 45rem);
  margin-right: -4vw;
}

.system-map svg {
  width: 100%;
  fill: none;
  stroke: rgba(35, 79, 66, 0.22);
  stroke-width: 1;
}

.system-map .route {
  stroke: var(--green);
  stroke-width: 2.5;
}

.system-map .point {
  fill: var(--verm);
  stroke: var(--paper);
  stroke-width: 4;
}

.map-note {
  position: absolute;
  padding: 0.3rem 0.55rem;
  color: var(--paper);
  background: var(--green);
  border-radius: 999px;
  font-size: 0.56rem;
}

.note-a {
  bottom: 23%;
  left: 10%;
}

.note-b {
  top: 29%;
  left: 43%;
}

.note-c {
  top: 46%;
  right: 5%;
}

.outcomes {
  padding: 9rem 3vw 3vw;
  color: #e9efe9;
  background: var(--green);
}

.section-head {
  display: grid;
  grid-template-columns: 0.45fr 1.3fr 0.8fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 7rem;
}

.section-head > p:first-child,
.services-title .label {
  align-self: start;
  color: #b4c3ba;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

.services-title .label {
  color: #68766f;
}

.section-head > p:first-child span {
  margin-right: 1rem;
}

.section-head h2,
.method-copy h2,
.services-title h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.3;
  word-break: auto-phrase;
}

.section-head > p:last-child {
  margin: 0;
  color: #b9c7be;
  font-size: 0.76rem;
  line-height: 2;
}

.outcome-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.4rem;
}

.outcome-cards article {
  min-height: 31rem;
  padding: 2rem;
  background: var(--green-card);
}

.card-index {
  color: #aebfb5;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
}

.outcome-cards svg {
  display: block;
  width: 55%;
  margin: 5rem auto 4rem;
  fill: none;
  stroke: #9db2a6;
  stroke-width: 1.4;
}

.outcome-cards svg circle {
  fill: var(--verm);
  stroke: var(--green-card);
  stroke-width: 4;
}

.outcome-cards h3 {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
}

.outcome-cards p {
  margin: 0;
  color: #b9c7be;
  font-size: 0.74rem;
  line-height: 1.9;
}

.method {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  padding: 10rem 6vw;
  background: var(--paper-deep);
}

.method-copy h2 {
  margin: 3rem 0;
}

.method-copy > p:last-child {
  max-width: 32rem;
  margin: 0;
  color: #62716a;
  font-size: 0.78rem;
  line-height: 2;
}

.flow {
  position: relative;
  padding: 1rem 0;
}

.flow-track {
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 4.2rem;
  width: 1px;
  background: #8da095;
}

.flow article {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2.6rem 2.2rem 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 8rem;
}

.flow article > span {
  color: #718178;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6rem;
}

.flow i {
  width: 0.75rem;
  aspect-ratio: 1;
  justify-self: center;
  background: var(--paper-deep);
  border: 1px solid var(--green);
  border-radius: 50%;
}

.flow article:first-of-type i,
.flow article:last-of-type i {
  background: var(--verm);
  border-color: var(--verm);
}

.flow h3 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.flow p {
  margin: 0;
  color: #6d7a74;
  font-size: 0.68rem;
}

.services {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  padding: 10rem 6vw;
}

.services-title h2 {
  margin-top: 3rem;
}

.service-list {
  border-top: 1px solid rgba(31, 51, 44, 0.28);
}

.service-list article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.8rem 2rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid rgba(31, 51, 44, 0.28);
}

.service-list span {
  grid-row: 1 / 3;
  color: #718178;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6rem;
}

.service-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.8;
}

.contact {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 6vw;
  align-items: end;
  padding: 9rem 6vw;
  background: var(--sage);
}

.contact h2 {
  margin-top: 3rem;
}

.contact > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem;
  color: var(--paper);
  background: var(--green);
  border-radius: 0.25rem;
  font-size: 0.74rem;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.contact > a:hover {
  background: var(--verm);
  transform: translateY(-2px);
}

.contact > a b {
  font-size: 1.2rem;
  font-weight: 400;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  min-height: 7rem;
  align-items: center;
  padding: 0 3vw;
  color: #728078;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
}

.site-footer span:nth-child(2) {
  text-align: center;
}

.site-footer a:hover {
  color: var(--verm);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 8rem;
  }

  .hero-copy h1 {
    font-size: 9vw;
  }

  .system-map {
    position: absolute;
    right: -22vw;
    bottom: 0;
    width: 80vw;
    opacity: 0.5;
  }

  .section-head {
    grid-template-columns: 1fr 2fr;
  }

  .section-head > p:last-child {
    grid-column: 2;
  }

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

  .outcome-cards article {
    min-height: auto;
  }

  .outcome-cards svg {
    width: 35%;
    margin: 3rem auto;
  }

  .method,
  .services {
    grid-template-columns: 1fr;
  }

  .flow {
    margin-top: 2rem;
  }
}

@media (max-width: 600px) {
  body {
    padding: 0.4rem;
  }

  .site-header {
    min-height: 5.5rem;
    padding: 0 1.2rem;
  }

  .site-header nav a:not(:last-child) {
    display: none;
  }

  .site-header nav a:last-child {
    padding: 0.65rem 0.9rem;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 5.9rem);
    padding: 1.5rem 1.2rem 3rem;
  }

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

  .coordinates span:last-child {
    display: none;
  }

  .hero-copy {
    align-self: start;
    padding-top: 20vh;
  }

  .hero-copy h1 {
    margin: 2rem 0;
    font-size: 10.5vw;
    letter-spacing: -0.08em;
  }

  .hero-lede br {
    display: none;
  }

  .system-map {
    right: -48vw;
    width: 120vw;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
  }

  .section-head > p:last-child {
    grid-column: 1;
  }

  .outcomes {
    padding: 6rem 1.2rem 1.2rem;
  }

  .outcome-cards article {
    padding: 1.5rem;
  }

  .method,
  .services,
  .contact {
    grid-template-columns: 1fr;
    padding: 6rem 1.2rem;
  }

  .section-head h2,
  .method-copy h2,
  .services-title h2,
  .contact h2 {
    font-size: 3rem;
  }

  .contact > a {
    margin-top: 2rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    padding: 0 1.2rem;
  }

  .site-footer span:nth-child(2) {
    display: none;
  }
}

.audience,
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  padding: 10rem 6vw;
}

.audience-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(31, 51, 44, 0.28);
}

.audience-list li {
  position: relative;
  padding: 1.6rem 0 1.6rem 2rem;
  border-bottom: 1px solid rgba(31, 51, 44, 0.28);
  font-size: 0.9rem;
  line-height: 1.8;
}

.audience-list li::before {
  position: absolute;
  top: 2.35rem;
  left: 0.2rem;
  width: 0.5rem;
  aspect-ratio: 1;
  background: var(--verm);
  border-radius: 50%;
  content: "";
}

.profile {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  padding: 10rem 6vw;
  background: var(--paper-deep);
}

.profile-copy {
  align-self: end;
}

.profile-copy p {
  margin: 0 0 1.6rem;
  font-size: 0.9rem;
  line-height: 2;
}

.text-link {
  display: inline-flex;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  transition: color 160ms ease;
}

.text-link:hover {
  color: var(--verm);
}

.info-list {
  margin: 0;
  border-top: 1px solid rgba(31, 51, 44, 0.28);
}

.info-list div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(31, 51, 44, 0.28);
}

.info-list dt {
  color: var(--muted);
  font-size: 0.74rem;
}

.info-list dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.8;
}

.info-list a {
  border-bottom: 1px solid currentColor;
}

.info-list a:hover {
  color: var(--verm);
}

.contact-note {
  margin: 2.5rem 0 0;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 2;
}

@media (max-width: 900px) {
  .audience,
  .about,
  .profile {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .audience,
  .about,
  .profile {
    padding: 6rem 1.2rem;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .audience-list li,
  .profile-copy p {
    font-size: 0.86rem;
  }
}

.phrase {
  display: inline-block;
}

@media (max-width: 600px) {
  .contact h2 {
    font-size: 2.4rem;
  }

  .map-note {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    /* biome-ignore lint/complexity/noImportantStyles: the reduced-motion override has to beat every component transition */
    transition-duration: 0.01ms !important;
  }
}
