:root {
  --ink: #173129;
  --ink-deep: #0d211b;
  --ink-soft: #536b62;
  --leaf: #5d8f72;
  --leaf-deep: #2f684c;
  --leaf-light: #a9c9a6;
  --lime: #dce9a8;
  --sun: #f2df7d;
  --paper: #f8f9f2;
  --paper-green: #edf3e5;
  --white: #fff;
  --line: rgba(23, 49, 41, .14);
  --shadow: 0 2rem 6rem rgba(31, 73, 55, .13);
  --header-height: 5rem;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --spring: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 250;
  content: "";
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

html.intro-running {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

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

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p,
dd {
  text-wrap: pretty;
}

.phrase-lock {
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 400;
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--ink-deep);
  border-radius: .4rem;
  transform: translateY(-180%);
}

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

.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 255, 255, .95) 0 10%, transparent 38%),
    radial-gradient(circle at 18% 18%, rgba(242, 223, 125, .42), transparent 28%),
    linear-gradient(145deg, #fbfcf4, #e9f1dc 62%, #dbe9cc);
  cursor: pointer;
  transition: clip-path .9s cubic-bezier(.76, 0, .24, 1), opacity .35s ease;
  clip-path: inset(0 0 0 0 round 0);
}

.brand-intro::before,
.brand-intro::after {
  position: absolute;
  width: min(86vw, 45rem);
  aspect-ratio: 1;
  border: 1px solid rgba(47, 104, 76, .13);
  border-radius: 50%;
  content: "";
  transform: scale(.25);
  opacity: 0;
}

.brand-intro::after {
  width: min(112vw, 58rem);
}

.brand-intro.is-ready::before {
  animation: intro-ring 1.8s .1s var(--spring) both;
}

.brand-intro.is-ready::after {
  animation: intro-ring 1.8s .28s var(--spring) both;
}

.brand-intro.is-leaving {
  clip-path: inset(0 0 100% 0 round 0 0 3rem 3rem);
  pointer-events: none;
}

.intro-bloom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transform: translateY(1rem) scale(.94);
}

.is-ready .intro-bloom {
  animation: intro-lockup 1s .18s var(--spring) forwards;
}

.intro-logo {
  width: clamp(15rem, 33vw, 25rem);
  height: auto;
  filter: drop-shadow(0 .8rem 2.2rem rgba(31, 73, 55, .08));
}

.intro-bloom > span {
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(23, 49, 41, .26);
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(.75rem, 2.4vw, .92rem);
  letter-spacing: .12em;
}

.intro-skip {
  position: absolute;
  bottom: max(2rem, calc(1rem + env(safe-area-inset-bottom)));
  left: 50%;
  padding: .5rem;
  border: 0;
  opacity: .58;
  background: transparent;
  font-size: .68rem;
  letter-spacing: .12em;
  cursor: pointer;
  transform: translateX(-50%);
}

@keyframes intro-ring {
  0% { opacity: 0; transform: scale(.25); }
  30% { opacity: .65; }
  100% { opacity: 0; transform: scale(1.2); }
}

@keyframes intro-lockup {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 270;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--leaf-deep);
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  top: .8rem;
  left: 50%;
  z-index: 200;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - 2rem), 88rem);
  min-height: var(--header-height);
  padding: .55rem .65rem .55rem 1rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 1.5rem;
  background: rgba(248, 249, 242, .73);
  box-shadow: 0 .7rem 2.8rem rgba(22, 49, 40, .08);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  transform: translateX(-50%);
  transition: background .3s ease, box-shadow .3s ease, top .3s ease;
}

.site-header.is-scrolled {
  top: .45rem;
  background: rgba(248, 249, 242, .92);
  box-shadow: 0 .8rem 3.2rem rgba(22, 49, 40, .13);
}

.brand {
  display: flex;
  align-items: center;
  min-width: max-content;
}

.brand > img {
  width: 6.1rem;
  height: auto;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  font-size: .78rem;
  font-weight: 600;
}

.desktop-nav a {
  position: relative;
  padding: .5rem 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: .2rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transition: transform .3s var(--spring);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-call {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 3.15rem;
  padding: 0 1.2rem;
  border-radius: 1rem;
  color: var(--white);
  background: var(--ink-deep);
  font-size: .8rem;
  font-weight: 700;
}

.header-call svg,
.mobile-action svg {
  width: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.pressable {
  transform: translateZ(0) scale(1);
  transition: transform .35s var(--spring), box-shadow .35s ease, background .25s ease;
}

.pressable:hover {
  transform: translateY(-2px) scale(1.015);
}

.pressable:active {
  transform: translateY(0) scale(.975);
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(25rem, .92fr);
  align-items: center;
  min-height: max(48rem, 100svh);
  padding: clamp(8.5rem, 13vh, 10.5rem) max(4vw, calc((100vw - 90rem) / 2)) clamp(5rem, 9vh, 7rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 24%, rgba(242, 223, 125, .32), transparent 27%),
    linear-gradient(120deg, #fafbf3 0 55%, #e3edd6 55% 100%);
}

.hero::before {
  position: absolute;
  top: 18%;
  left: -7rem;
  width: 21rem;
  aspect-ratio: 1;
  border: 1px solid rgba(47, 104, 76, .13);
  border-radius: 50%;
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 72rem);
  padding: 1rem clamp(1.25rem, 4vw, 4rem) 1rem clamp(1.25rem, 4vw, 3rem);
}

.hero-eyebrow,
.section-kicker {
  margin: 0 0 1.4rem;
  color: var(--leaf-deep);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.hero h1,
.section-heading h2,
.journey-intro h2,
.access-copy h2,
.contact h2 {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -.045em;
}

.hero h1 {
  max-width: 72rem;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: 1.25;
}

.hero-inline-image {
  display: inline-block;
  width: clamp(4rem, 8vw, 8rem);
  height: .62em;
  margin: 0 .16em .05em .04em;
  overflow: hidden;
  border-radius: 100vmax;
  background: url("assets/lily-office.jpg") center 57% / cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
  vertical-align: baseline;
}

.hero-lead {
  max-width: 42rem;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(.96rem, 1.18vw, 1.08rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 3.8rem;
  padding: 0 1.5rem;
  border: 1px solid var(--ink-deep);
  border-radius: 1.15rem;
  font-size: .84rem;
  font-weight: 700;
}

.button svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  color: var(--white);
  background: var(--ink-deep);
  box-shadow: 0 1rem 2.4rem rgba(13, 33, 27, .16);
}

.button-primary:hover {
  background: #244e3d;
}

.button-secondary {
  color: var(--ink-deep);
  background: rgba(255, 255, 255, .56);
}

.hero-note {
  position: relative;
  margin: 2rem 0 0;
  padding-left: 1.7rem;
  font-size: .76rem;
  font-weight: 600;
}

.hero-note::before {
  position: absolute;
  top: .72em;
  left: 0;
  width: 1.1rem;
  height: 1px;
  content: "";
  background: var(--leaf-deep);
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 34rem;
}

.hero-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(44vw, 42rem);
  margin: 0;
  overflow: hidden;
  border-radius: clamp(2rem, 5vw, 5rem) 1.2rem clamp(2rem, 5vw, 5rem) 1.2rem;
  box-shadow: 0 3rem 7rem rgba(41, 76, 57, .23);
  transform: translate(-48%, -50%) rotate(1.8deg);
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(13, 33, 27, .2), transparent 48%);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  transition: transform .9s var(--spring);
}

.hero-photo:hover img {
  transform: scale(1.045);
}

.hero-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(50vw, 48rem);
  aspect-ratio: 1;
  border: 1px solid rgba(47, 104, 76, .2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-word {
  position: absolute;
  right: 3%;
  bottom: 10%;
  z-index: 2;
  width: clamp(10rem, 19vw, 17rem);
  padding: .65rem .9rem;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 1rem;
  background: rgba(248, 249, 242, .82);
  box-shadow: 0 .8rem 1.8rem rgba(13, 33, 27, .18);
  backdrop-filter: blur(12px);
}

.hero-word img {
  width: 100%;
  height: auto;
}

.hero-message {
  position: absolute;
  bottom: 8%;
  left: -4%;
  z-index: 3;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 1rem;
  background: rgba(248, 249, 242, .79);
  box-shadow: 0 1rem 3rem rgba(20, 51, 37, .13);
  backdrop-filter: blur(14px);
  font-family: "Zen Old Mincho", serif;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.65;
}

.scroll-cue {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 3.2rem;
  border: 1px solid rgba(23, 49, 41, .28);
  border-radius: 100vmax;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { transform: translateY(-.55rem); opacity: .25; }
  50% { transform: translateY(.55rem); opacity: 1; }
}

.section {
  width: min(calc(100% - 3rem), 88rem);
  margin: 0 auto;
  padding-block: clamp(7.5rem, 13vw, 12rem);
}

.section-heading h2,
.journey-intro h2,
.access-copy h2 {
  font-size: clamp(2.15rem, 4.4vw, 4.3rem);
}

.access-copy h2 {
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
}

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

.section-heading > p:last-child {
  max-width: 47rem;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.philosophy-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, .65fr);
  column-gap: clamp(2rem, 8vw, 9rem);
  align-items: end;
}

.philosophy-heading .section-kicker {
  grid-column: 1 / -1;
}

.philosophy-heading > p:last-child {
  margin-bottom: .5rem;
}

.support-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(12rem, auto));
  grid-auto-flow: dense;
  gap: 1rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.bento-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2rem;
  transition: transform .7s var(--spring), box-shadow .7s ease, border-color .3s ease;
}

.bento-card:hover,
.interactive-card:hover {
  border-color: rgba(47, 104, 76, .32);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.bento-main {
  grid-column: span 7;
  grid-row: span 2;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  min-height: 33rem;
  padding: clamp(2rem, 4vw, 4rem);
  color: var(--white);
  background:
    radial-gradient(circle at 88% 80%, rgba(220, 233, 168, .25), transparent 33%),
    linear-gradient(145deg, #285e46, #16382c);
}

.bento-main > div > p {
  margin: 0 0 1.4rem;
  color: var(--lime);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.bento-main h3 {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.45;
  letter-spacing: -.04em;
}

.bento-main > p {
  position: relative;
  z-index: 2;
  max-width: 32rem;
  margin: 3rem 0 0;
  color: rgba(255, 255, 255, .78);
}

.bento-pc,
.bento-place {
  grid-column: span 5;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 16rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--white);
}

.bento-place {
  background: var(--paper-green);
}

.bento-icon {
  display: grid;
  place-items: center;
  width: 4.3rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
}

.bento-icon svg {
  width: 1.7rem;
  fill: none;
  stroke: var(--ink-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.bento-card h3 {
  margin: 0;
}

.bento-card p {
  margin: .65rem 0 0;
  color: var(--ink-soft);
  font-size: .88rem;
}

.bento-card.bento-main > p {
  color: rgba(255, 255, 255, .78);
}

.support-marquee {
  width: 100%;
  padding: 1.35rem 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--sun);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 31s linear infinite;
}

.marquee-track span {
  padding-inline: 2rem;
  font-family: "Cabinet Grotesk", "Noto Sans JP", sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}

.marquee-track i {
  display: block;
  width: .45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--leaf-deep);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.programs {
  width: min(calc(100% - 3rem), 94rem);
}

.programs-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, .55fr);
  column-gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
}

.programs-heading .section-kicker {
  grid-column: 1 / -1;
}

.programs-heading > p:last-child {
  margin-bottom: .5rem;
}

.program-accordion {
  display: flex;
  gap: .65rem;
  height: 32rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.program-panel {
  position: relative;
  flex: .72 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 1.6rem;
  color: var(--white);
  background: var(--ink-deep);
  transition: flex .72s var(--spring), background .5s ease, transform .5s var(--spring);
}

.program-panel:nth-child(2) { background: #376d52; }
.program-panel:nth-child(3) { background: #727e48; }
.program-panel:nth-child(4) { background: #50736b; }
.program-panel:nth-child(5) { background: #5f6341; }

.program-panel.is-active {
  flex: 3.1 1 0;
}

.program-panel:hover {
  transform: translateY(-3px);
}

.program-panel > button {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 5.2rem;
  padding: 1.6rem .6rem;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.panel-number {
  font-family: "Cabinet Grotesk", sans-serif;
  font-size: .72rem;
  opacity: .65;
}

.program-panel button strong {
  margin-top: 1.35rem;
  font-size: .78rem;
  letter-spacing: .16em;
  writing-mode: vertical-rl;
}

.panel-plus {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: auto;
}

.panel-plus::before,
.panel-plus::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: currentColor;
}

.panel-plus::after {
  transform: rotate(90deg);
  transition: transform .35s var(--spring);
}

.is-active .panel-plus::after {
  transform: rotate(0);
}

.panel-content {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  min-width: 29rem;
  padding: 3rem 3rem 3rem 7.2rem;
  background:
    radial-gradient(circle at 80% 18%, rgba(220, 233, 168, .2), transparent 30%),
    linear-gradient(145deg, transparent 35%, rgba(0, 0, 0, .14));
  opacity: 0;
  transform: translateX(2rem);
  transition: opacity .45s .08s ease, transform .6s .08s var(--spring);
  pointer-events: none;
}

.is-active .panel-content {
  opacity: 1;
  transform: translateX(0);
}

.panel-content h3 {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.45;
  letter-spacing: -.04em;
}

.panel-content p {
  max-width: 31rem;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
}

.future-statement {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(42rem, 90vh, 58rem);
  padding: 8rem 1.5rem;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-deep);
}

.future-statement::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .24;
  background: url("assets/lily-office.jpg") center / cover;
  filter: grayscale(1) contrast(1.1);
}

.future-statement::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 50% 50%, rgba(47, 104, 76, .42), rgba(13, 33, 27, .92) 68%);
}

.future-orb {
  position: absolute;
  z-index: 1;
  width: min(75vw, 48rem);
  aspect-ratio: 1;
  border: 1px solid rgba(220, 233, 168, .28);
  border-radius: 50%;
}

.word-reveal {
  position: relative;
  z-index: 2;
  max-width: 70rem;
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(2rem, 4.7vw, 4.5rem);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: -.035em;
  text-align: center;
}

.word-reveal span {
  display: block;
  opacity: .12;
}

.journey {
  display: grid;
  grid-template-columns: minmax(18rem, .72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 9vw, 10rem);
}

.journey-intro {
  align-self: start;
  padding-bottom: 2rem;
}

.journey-intro > p:last-child {
  max-width: 28rem;
  margin: 2rem 0 0;
  color: var(--ink-soft);
}

.journey-list {
  display: grid;
  gap: 1.2rem;
}

.journey-list article {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  min-height: 17rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--white);
  box-shadow: 0 1rem 3rem rgba(37, 72, 54, .05);
}

.journey-list article:nth-child(even) {
  background: var(--paper-green);
}

.journey-list article > span {
  display: grid;
  place-items: center;
  align-self: start;
  width: 4rem;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--ink-deep);
  background: var(--lime);
  font-family: "Zen Old Mincho", serif;
  font-size: .82rem;
  font-weight: 700;
}

.journey-list h3 {
  margin: .4rem 0 0;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.journey-list p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: .92rem;
}

.documents {
  width: min(calc(100% - 3rem), 94rem);
  padding-inline: clamp(1rem, 4vw, 4rem);
  border-radius: clamp(2.5rem, 6vw, 5rem);
  background: #e8efdd;
}

.documents-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, .7fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
}

.documents-head > p {
  margin: 0 0 .5rem;
  color: var(--ink-soft);
}

.document-years {
  display: grid;
  gap: .75rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.document-year {
  display: grid;
  grid-template-columns: minmax(11rem, .24fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .43);
}

.year-label {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 1.15rem 1.3rem;
  border-right: 1px solid var(--line);
}

.year-label > span {
  margin-bottom: .55rem;
  padding: .25rem .6rem;
  border-radius: 100vmax;
  color: var(--white);
  background: var(--leaf-deep);
  font-size: .64rem;
  font-weight: 700;
}

.year-label h3 {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.year-label time {
  margin-top: .45rem;
  color: var(--ink-soft);
  font-size: .72rem;
}

.document-list {
  display: block;
}

.document-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  transition: background-color .25s ease;
}

.document-card + .document-card {
  border-top: 1px solid var(--line);
}

.document-card:hover {
  background: rgba(255, 255, 255, .58);
}

.document-card:focus-within {
  background: rgba(255, 255, 255, .72);
}

.document-card p {
  margin: 0;
  color: var(--leaf-deep);
  font-size: .7rem;
  font-weight: 700;
}

.document-card h4 {
  display: flex;
  flex-wrap: wrap;
  column-gap: .35rem;
  margin: .2rem 0 0;
  font-size: .9rem;
  line-height: 1.5;
}

.document-card h4 span {
  white-space: nowrap;
}

.document-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.document-actions a {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  color: var(--ink-deep);
  font-size: .78rem;
  font-weight: 700;
}

.document-actions a:first-child::after {
  margin-left: .25rem;
  content: "↗";
  font-size: 1rem;
}

.document-actions a:last-child {
  color: var(--ink-soft);
  font-weight: 500;
}

.document-actions a:hover,
.document-actions a:focus-visible {
  color: var(--leaf-deep);
  text-decoration: underline;
  text-underline-offset: .28em;
}

.access {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(21rem, .92fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.access-photo {
  position: relative;
  margin: 0;
}

.access-photo::before {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  z-index: -1;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: var(--lime);
}

.access-photo img {
  width: 100%;
  border-radius: 1.5rem 5rem 1.5rem 5rem;
  box-shadow: var(--shadow);
}

.access-copy dl {
  margin: 2.7rem 0 0;
  border-top: 1px solid var(--line);
}

.access-copy dl div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.access-copy dt {
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 700;
}

.access-copy dd {
  margin: 0;
  font-size: .92rem;
  font-weight: 600;
}

.access-copy dd a {
  font-family: "Cabinet Grotesk", sans-serif;
  font-size: 1.25rem;
  letter-spacing: .02em;
}

.access-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
}

.text-link {
  font-size: .82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .35em;
}

.contact {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: min(calc(100% - 2rem), 94rem);
  margin: 0 auto 1rem;
  padding: clamp(6rem, 12vw, 10rem) 1.5rem;
  overflow: hidden;
  border-radius: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  background:
    radial-gradient(circle at 50% -10%, rgba(220, 233, 168, .24), transparent 42%),
    var(--ink-deep);
  text-align: center;
}

.contact > p:first-of-type {
  margin: 0 0 1.2rem;
  color: var(--lime);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.contact-logo {
  position: relative;
  z-index: 1;
  width: clamp(8.5rem, 15vw, 12rem);
  height: auto;
  margin-bottom: 2.2rem;
  padding: .75rem 1rem;
  border-radius: 1rem;
  background: rgba(248, 249, 242, .94);
}

.contact h2 {
  position: relative;
  z-index: 1;
  max-width: 62rem;
  font-size: clamp(2.15rem, 5vw, 4.8rem);
}

.contact-copy {
  position: relative;
  z-index: 1;
  max-width: 37rem;
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, .65);
}

.contact-call {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.6rem;
  padding: 1rem 1.4rem 1rem 1.7rem;
  border-radius: 1.25rem;
  color: var(--ink-deep);
  background: var(--sun);
  box-shadow: 0 1rem 4rem rgba(0, 0, 0, .2);
}

.contact-call span {
  font-size: .78rem;
  font-weight: 700;
}

.contact-call strong {
  font-family: "Cabinet Grotesk", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  letter-spacing: .02em;
}

.contact-flower {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(85vw, 52rem);
  aspect-ratio: 1;
  border: 1px solid rgba(220, 233, 168, .15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 2rem;
  width: min(calc(100% - 3rem), 88rem);
  margin: 0 auto;
  padding: 4rem 0 2.5rem;
}

.footer-brand {
  width: 8.5rem;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: .72rem;
  font-weight: 600;
}

.site-footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .68rem;
}

.mobile-action {
  display: none;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js-ready .hero [data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  will-change: transform, opacity;
}

@media (max-width: 1179px) {
  .site-header {
    width: min(calc(100% - 1.4rem), 70rem);
  }

  .desktop-nav {
    gap: 1rem;
  }

  .desktop-nav a:nth-child(2) {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1.28fr) minmax(20rem, .72fr);
    padding-inline: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 4.55vw, 3.4rem);
  }

  .access-copy h2 {
    font-size: clamp(2rem, 3.2vw, 2.5rem);
  }

  .hero-photo {
    width: min(47vw, 36rem);
  }

  .hero-message {
    left: -8%;
  }

  .program-accordion {
    height: 30rem;
  }

  .program-panel > button {
    width: 4.4rem;
  }

  .panel-content {
    min-width: 25rem;
    padding-left: 6rem;
  }

  .year-label {
    padding-inline: 1rem;
  }

  .year-label h3 {
    font-size: clamp(1.7rem, 2.8vw, 2rem);
  }
}

@media (min-width: 900px) and (max-width: 1179px) {
  .hero-inline-image {
    width: 3.2rem;
  }
}

@media (min-width: 1180px) {
  .hero-copy {
    padding-right: 0;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 3.8vw, 3.8rem);
  }

  .hero-inline-image {
    width: 3.6rem;
  }
}

@media (max-width: 899px) {
  :root {
    --header-height: 4.4rem;
  }

  body {
    padding-bottom: calc(4.8rem + var(--safe-bottom));
  }

  .site-header {
    top: .5rem;
    width: calc(100% - 1rem);
    min-height: var(--header-height);
    border-radius: 1.2rem;
  }

  .desktop-nav,
  .header-call {
    display: none;
  }

  .brand {
    grid-column: 1 / -1;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 8rem 1.25rem 5rem;
    background:
      radial-gradient(circle at 10% 15%, rgba(242, 223, 125, .38), transparent 26%),
      linear-gradient(165deg, #fafbf3 0 57%, #e3edd6 57% 100%);
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 8.3vw, 4.4rem);
  }

  .hero-lead {
    max-width: 40rem;
  }

  .hero-visual {
    min-height: clamp(25rem, 74vw, 38rem);
    margin-top: 3rem;
  }

  .hero-photo {
    width: min(82vw, 39rem);
    transform: translate(-50%, -50%) rotate(1deg);
  }

  .hero-halo {
    width: min(95vw, 45rem);
  }

  .hero-message {
    bottom: 4%;
    left: 5%;
  }

  .hero-word {
    right: 4%;
    bottom: 8%;
    font-size: clamp(5rem, 22vw, 9rem);
  }

  .scroll-cue {
    display: none;
  }

  .section {
    width: min(calc(100% - 2rem), 48rem);
    padding-block: clamp(6.5rem, 18vw, 9rem);
  }

  .philosophy-heading,
  .programs-heading,
  .documents-head,
  .access,
  .journey {
    grid-template-columns: 1fr;
  }

  .philosophy-heading > p:last-child,
  .programs-heading > p:last-child {
    margin-top: 1.6rem;
  }

  .support-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bento-main,
  .bento-pc,
  .bento-place {
    grid-column: auto;
    grid-row: auto;
  }

  .bento-main {
    min-height: 28rem;
  }

  .bento-pc,
  .bento-place {
    min-height: 12rem;
  }

  .program-accordion {
    display: grid;
    height: auto;
  }

  .program-panel,
  .program-panel.is-active {
    flex: none;
    min-height: 5.2rem;
    border-radius: 1.2rem;
    transition: min-height .6s var(--spring), transform .4s var(--spring);
  }

  .program-panel.is-active {
    min-height: 23rem;
  }

  .program-panel > button {
    position: relative;
    inset: auto;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    height: 5.2rem;
    padding: 0 1.4rem;
    text-align: left;
  }

  .program-panel button strong {
    margin: 0;
    font-size: .82rem;
    letter-spacing: .08em;
    writing-mode: horizontal-tb;
  }

  .panel-plus {
    margin: 0 0 0 auto;
  }

  .panel-content {
    top: 5.2rem;
    min-width: 0;
    padding: 1.8rem 1.5rem 2rem;
    transform: translateY(1rem);
  }

  .is-active .panel-content {
    transform: translateY(0);
  }

  .journey {
    gap: 3rem;
  }

  .journey-intro {
    position: static !important;
    transform: none !important;
  }

  .documents {
    width: calc(100% - 1rem);
    padding-inline: 1rem;
  }

  .document-year {
    grid-template-columns: 1fr;
  }

  .year-label {
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: .65rem;
    padding: .9rem 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .year-label > span,
  .year-label time {
    margin: 0;
  }

  .year-label time {
    margin-left: auto;
  }

  .access {
    gap: 3.5rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    text-align: center;
  }

  .footer-brand {
    justify-items: center;
  }

  .site-footer p {
    text-align: center;
  }

  .mobile-action {
    position: fixed;
    right: .55rem;
    bottom: max(.55rem, var(--safe-bottom));
    left: .55rem;
    z-index: 230;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    min-height: 3.8rem;
    padding: .35rem;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 1.2rem;
    background: rgba(248, 249, 242, .9);
    box-shadow: 0 1rem 3rem rgba(13, 33, 27, .2);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
  }

  .mobile-action a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: .9rem;
    font-size: .78rem;
    font-weight: 700;
  }

  .mobile-action a:last-child {
    color: var(--white);
    background: var(--ink-deep);
  }
}

@media (max-width: 639px) {
  .section-heading h2,
  .journey-intro h2 {
    font-size: clamp(2rem, 10.5vw, 3rem);
    line-height: 1.5;
  }

  .access-copy h2 {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    font-size: .7rem;
  }

  .hero-visual {
    min-height: 23rem;
  }

  .hero-photo {
    width: 91vw;
    border-radius: 2rem .85rem 2rem .85rem;
  }

  .hero-message {
    bottom: 0;
    left: 0;
    font-size: .76rem;
  }

  .bento-main {
    min-height: 27rem;
    border-radius: 1.5rem;
  }

  .bento-main h3 br {
    display: none;
  }

  .bento-pc,
  .bento-place {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    border-radius: 1.5rem;
  }

  .bento-icon {
    width: 3.5rem;
  }

  .word-reveal {
    font-size: clamp(1.7rem, 8.2vw, 2.6rem);
    line-height: 1.9;
    text-align: left;
  }

  .journey-list article {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 0;
    border-radius: 1.5rem;
  }

  .journey-list article > span {
    width: 3.5rem;
  }

  .document-year {
    border-radius: 1.5rem;
  }

  .access-photo img {
    border-radius: 1rem 3rem 1rem 3rem;
  }

  .access-copy dl div {
    grid-template-columns: 4.5rem 1fr;
  }

  .access-actions {
    display: grid;
  }

  .access-actions .button {
    width: 100%;
  }

  .text-link {
    text-align: center;
  }

  .contact {
    width: calc(100% - 1rem);
    padding-inline: 1rem;
    border-radius: 2rem;
  }

  .contact h2 br {
    display: none;
  }

  .contact-call {
    align-items: center;
    flex-direction: column;
    gap: .1rem;
    width: min(100%, 22rem);
  }

  .site-footer {
    width: calc(100% - 2rem);
  }
}

@media (max-width: 374px) {
  .hero {
    padding-inline: 1rem;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .hero-inline-image {
    width: 3.4rem;
  }

  .brand > img {
    width: 5.35rem;
  }

  .section {
    width: calc(100% - 1.5rem);
  }

  .section-heading h2,
  .journey-intro h2,
  .access-copy h2 {
    font-size: 1.85rem;
  }

  .bento-main,
  .bento-pc,
  .bento-place,
  .journey-list article {
    padding: 1.35rem;
  }

  .panel-content h3 {
    font-size: 1.72rem;
  }

  .journey-list h3 {
    font-size: 1.2rem;
  }

  .year-label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: .65rem;
    row-gap: .15rem;
  }

  .year-label > span {
    grid-row: 1 / 3;
    white-space: nowrap;
  }

  .year-label h3,
  .year-label time {
    grid-column: 2;
  }

  .year-label time {
    margin-left: 0;
    white-space: nowrap;
  }

  .document-card {
    gap: .6rem;
    padding: .9rem 1rem;
  }

  .document-card h4 {
    font-size: .8rem;
    letter-spacing: -.035em;
  }

  .document-actions {
    gap: .6rem;
  }
}

@media (min-width: 900px) {
  .journey-intro {
    will-change: transform;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .brand-intro {
    display: none;
  }

  [data-reveal],
  .word-reveal span {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .mobile-action,
  .hero-message {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

:focus-visible {
  outline: 3px solid #d1a812;
  outline-offset: 4px;
}
