:root {
  --ink: #12324a;
  --ink-deep: #0b263a;
  --blue: #1e618c;
  --sky: #dceff5;
  --amber: #ef9f2f;
  --paper: #fbfcfa;
  --white: #ffffff;
  --muted: #5d6d78;
  --line: rgba(18, 50, 74, 0.16);
  --shell: min(1180px, calc(100vw - 48px));
  --font: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.35; letter-spacing: 0.02em; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 128px 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; color: var(--white); background: var(--ink); border-radius: 4px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { background: rgba(251, 252, 250, 0.94); border-color: var(--line); box-shadow: 0 8px 30px rgba(13, 40, 59, .07); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-deep); text-decoration: none; }
.brand-symbol { width: 58px; height: 46px; display: block; flex: 0 0 auto; object-fit: contain; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text small { font-size: 10px; letter-spacing: .1em; }
.brand-text strong { font-size: 21px; letter-spacing: .18em; }
.desktop-nav { display: flex; gap: 30px; margin-left: auto; }
.desktop-nav a { position: relative; font-size: 14px; font-weight: 700; text-decoration: none; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--amber); transition: right .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border: 1px solid var(--ink); border-radius: 3px; color: var(--white); background: var(--ink); font-size: 15px; font-weight: 750; letter-spacing: .05em; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { background: var(--blue); box-shadow: 0 10px 24px rgba(18, 50, 74, .16); transform: translateY(-2px); }
.button:focus-visible, a:focus-visible { outline: 3px solid rgba(239, 159, 47, .55); outline-offset: 4px; }
.button-small { min-height: 42px; padding: 9px 17px; font-size: 13px; }

.hero { min-height: 780px; position: relative; display: flex; align-items: center; overflow: hidden; background: #f4f1e8; }
.hero-image { position: absolute; inset: 0; background-image: url("./assets/coco-community-hero.png"); background-position: center; background-size: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,249,245,.98) 0%, rgba(250,249,245,.93) 30%, rgba(250,249,245,.28) 55%, rgba(250,249,245,0) 75%); }
.hero-content { position: relative; z-index: 2; padding-top: 102px; }
.hero-content > * { max-width: 610px; }
.eyebrow, .section-kicker { margin-bottom: 20px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .18em; }
.eyebrow::before, .section-kicker::before { content: ""; display: inline-block; width: 34px; height: 2px; margin-right: 12px; vertical-align: middle; background: var(--amber); }
.hero h1 { margin-bottom: 27px; color: var(--ink-deep); font-size: clamp(42px, 5vw, 72px); font-weight: 760; letter-spacing: .015em; }
.hero h1 span { position: relative; display: inline-block; color: var(--blue); }
.hero h1 span::after { content: ""; position: absolute; left: 1%; right: -1%; bottom: 5px; z-index: -1; height: 15px; background: rgba(239,159,47,.34); transform: rotate(-1.5deg); }
.hero-lead { margin-bottom: 34px; color: #344f61; font-size: 18px; line-height: 2; font-weight: 560; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.text-link { font-size: 15px; font-weight: 750; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.hero-note { position: absolute; z-index: 2; right: -34px; bottom: 92px; color: rgba(18,50,74,.62); font-size: 10px; font-weight: 800; letter-spacing: .35em; transform: rotate(90deg); }

.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 11%; }
.section-kicker { margin-bottom: 22px; }
.intro h2, .section-heading h2, .future h2 { margin-bottom: 0; font-size: clamp(34px, 4vw, 54px); font-weight: 730; }
.intro-copy { max-width: 650px; padding-top: 46px; }
.intro-copy p { color: var(--muted); }
.intro-copy .large-copy { margin-bottom: 30px; color: var(--ink); font-size: clamp(19px, 2vw, 24px); font-weight: 700; line-height: 2; }

.purpose-band { position: relative; overflow: hidden; padding: 98px 0; color: var(--white); background: var(--ink-deep); }
.purpose-band::before { content: ""; position: absolute; width: 360px; height: 360px; right: 8%; top: -210px; border: 60px solid rgba(255,255,255,.05); border-radius: 50%; }
.purpose-track { position: absolute; left: -20px; right: 0; bottom: -35px; display: flex; gap: 48px; white-space: nowrap; color: rgba(255,255,255,.045); font-size: 92px; font-weight: 900; letter-spacing: -.02em; }
.purpose-inner { position: relative; display: grid; grid-template-columns: .7fr 1.3fr; gap: 8%; align-items: start; }
.purpose-inner > p { color: #9fc4d7; font-weight: 700; letter-spacing: .08em; }
.purpose-inner blockquote { margin: 0; display: grid; gap: 9px; font-size: clamp(25px, 3.1vw, 42px); font-weight: 750; line-height: 1.55; }
.purpose-inner blockquote span:last-child { color: #ffd18b; }

.role-section { background: var(--white); }
.section-heading { display: grid; grid-template-columns: 1.05fr .75fr; gap: 12%; align-items: end; margin-bottom: 70px; }
.section-heading > p { margin-bottom: 4px; color: var(--muted); }
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.path-card { min-height: 390px; padding: 34px; border: 1px solid var(--line); background: var(--paper); transition: transform .25s ease, box-shadow .25s ease; }
.path-card:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(18,50,74,.10); }
.path-card-featured { color: var(--white); background: var(--ink); border-color: var(--ink); transform: translateY(-18px); }
.path-card-featured:hover { transform: translateY(-24px); }
.path-number { margin-bottom: 43px; color: var(--amber); font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.path-icon { width: 58px; height: 58px; margin-bottom: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--sky); }
.path-card-featured .path-icon { background: rgba(255,255,255,.12); }
.path-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.path-label { margin-bottom: 6px; color: var(--blue); font-size: 13px; font-weight: 800; }
.path-card-featured .path-label { color: #acd7ea; }
.path-card h3 { margin-bottom: 17px; font-size: 23px; }
.path-card > p:last-child { color: var(--muted); font-size: 15px; }
.path-card-featured > p:last-child { color: rgba(255,255,255,.72); }
.path-caption { max-width: 720px; margin: 42px auto 0; padding-left: 18px; border-left: 3px solid var(--amber); color: var(--muted); font-size: 14px; }

.activities { color: var(--white); background: var(--blue); }
.activities-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 10%; }
.section-kicker-light { color: #c6e1ec; }
.activities-title { position: sticky; top: 126px; align-self: start; }
.activities-title h2 { margin-bottom: 25px; font-size: clamp(36px, 4.6vw, 58px); }
.activities-title > p:last-child { color: rgba(255,255,255,.72); }
.activity-item { display: grid; grid-template-columns: 46px 1fr; gap: 25px; padding: 34px 0; border-top: 1px solid rgba(255,255,255,.22); }
.activity-item:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.activity-item > span { padding-top: 3px; color: #ffd18b; font-size: 13px; font-weight: 800; }
.activity-item h3 { margin-bottom: 8px; font-size: 23px; }
.activity-item p { margin-bottom: 0; color: rgba(255,255,255,.72); }

.future { background: #eef6f7; }
.future-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12%; }
.future-copy { padding-top: 42px; color: var(--muted); }
.future-copy p:first-child { color: var(--ink); font-size: 20px; font-weight: 650; }
.future-steps { margin-top: 90px; display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: center; }
.future-step { min-height: 180px; padding: 28px; border: 1px solid rgba(18,50,74,.12); border-radius: 50%; aspect-ratio: 1.25; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(255,255,255,.68); }
.future-step span { color: var(--amber); font-size: 12px; font-weight: 800; }
.future-step strong { margin: 9px 0 2px; font-size: 23px; }
.future-step small { color: var(--muted); font-size: 13px; }
.future-line { height: 2px; background: repeating-linear-gradient(90deg, var(--amber) 0 6px, transparent 6px 13px); }

.contact { padding: 120px 0; color: var(--white); background: var(--ink-deep); }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 11%; }
.contact h2 { margin-bottom: 25px; font-size: clamp(38px, 4.7vw, 62px); }
.contact-grid > div:first-child > p:last-child { color: rgba(255,255,255,.7); }
.contact-primary { position: relative; display: block; padding: 30px 62px 30px 0; border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); text-decoration: none; transition: padding-left .2s ease, color .2s ease; }
.contact-primary:hover { padding-left: 12px; color: #ffd18b; }
.contact-primary span { display: block; color: #a9c8d8; font-size: 13px; font-weight: 700; }
.contact-primary strong { display: block; overflow-wrap: anywhere; font-size: clamp(17px, 2vw, 23px); }
.contact-primary i { position: absolute; right: 8px; top: 50%; translate: 0 -50%; font-size: 25px; font-style: normal; }
.contact-details dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 28px 0 0; }
.contact-details dl div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-details dt { color: #9fc4d7; font-size: 12px; font-weight: 700; }
.contact-details dd { margin: 4px 0 0; font-size: 15px; }
.contact-details dd a { text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 4px; }

.site-footer { padding: 52px 0; background: #071d2c; color: var(--white); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 35px; align-items: center; }
.brand-footer { color: var(--white); }
.brand-full { width: 124px; height: auto; display: block; }
.footer-inner > p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; }
.footer-inner > small { color: rgba(255,255,255,.45); font-size: 11px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  :root { --shell: min(100% - 34px, 720px); }
  .desktop-nav { display: none; }
  .header-inner { min-height: 72px; }
  .header-inner .button-small { margin-left: auto; }
  .hero { min-height: auto; display: block; padding-top: 72px; }
  .hero-image { position: relative; height: 44vw; min-height: 310px; background-position: 66% center; }
  .hero::after { inset: 72px 0 auto; height: 44vw; min-height: 310px; background: linear-gradient(0deg, rgba(251,252,250,.92), transparent 34%); }
  .hero-content { padding: 55px 0 78px; }
  .hero-note { display: none; }
  .intro-grid, .purpose-inner, .section-heading, .activities-grid, .future-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .intro-copy, .future-copy { padding-top: 0; }
  .path { grid-template-columns: 1fr; }
  .path-card { min-height: 0; }
  .path-card-featured, .path-card-featured:hover { transform: none; }
  .activities-title { position: static; }
  .future-steps { grid-template-columns: 1fr; gap: 16px; max-width: 420px; margin-inline: auto; }
  .future-step { aspect-ratio: auto; min-height: 150px; border-radius: 80px; }
  .future-line { width: 2px; height: 34px; margin-inline: auto; background: repeating-linear-gradient(180deg, var(--amber) 0 6px, transparent 6px 13px); }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; }
}

@media (max-width: 560px) {
  .section { padding: 88px 0; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 18px; }
  .brand-symbol { width: 48px; height: 38px; }
  .button-small { min-height: 39px; padding: 7px 12px; }
  .hero-image { height: 330px; min-height: 0; }
  .hero::after { height: 330px; min-height: 0; }
  .hero h1 { font-size: 38px; }
  .hero h1 span::after { height: 10px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .intro-copy .large-copy { font-size: 18px; }
  .purpose-band { padding: 78px 0; }
  .purpose-inner blockquote { font-size: 25px; }
  .path-card { padding: 29px; }
  .path-number { margin-bottom: 26px; }
  .contact { padding: 88px 0; }
  .contact-details dl { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
