:root {
  --paper: #f3f0e7;
  --paper-deep: #e8e3d6;
  --ink: #1e2a1d;
  --green: #3f6333;
  --green-deep: #17351f;
  --green-soft: #70866a;
  --orange: #c95f35;
  --line: rgba(30, 42, 29, 0.18);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body.menu-open {
  position: fixed;
  inset: 0;
  width: 100%;
  overflow: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a,
button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.7rem 1rem;
  clip: auto;
  background: white;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 86px;
  padding-right: max(3.5vw, env(safe-area-inset-right));
  padding-left: max(3.5vw, env(safe-area-inset-left));
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, min-height 0.4s ease, border-color 0.4s ease;
}

.site-header.is-scrolled {
  min-height: 72px;
  background: rgba(243, 240, 231, 0.9);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand,
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand img { width: 44px; height: 44px; }
.brand__wordmark,
.footer__brand div { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong,
.footer__brand strong { font-family: var(--serif); font-size: 18px; letter-spacing: 0.16em; }
.brand small,
.footer__brand small { margin-top: 5px; font-size: 9px; font-weight: 600; letter-spacing: 0.28em; }

.site-nav { display: flex; align-items: center; gap: clamp(22px, 2.8vw, 46px); }
.site-nav a { position: relative; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--orange);
  transition: right 0.35s var(--ease);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { right: 0; }

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #eeeade;
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__image {
  background: url("assets/images/planxita-hero.webp") center / cover no-repeat;
  transform: scale(1.03);
  animation: hero-settle 1.8s var(--ease) forwards;
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(243, 240, 231, 0.88) 0%, rgba(243, 240, 231, 0.55) 39%, rgba(243, 240, 231, 0) 66%),
    linear-gradient(0deg, rgba(23, 53, 31, 0.13), transparent 35%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(90vw, 1380px);
  margin: 40px auto 0;
}

.eyebrow,
.kicker {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.eyebrow { color: var(--green); }

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(68px, 8.2vw, 132px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.05em;
}

.hero h1 em { color: var(--orange); font-style: normal; }
.hero__lead { margin: 30px 0 0; font-family: var(--serif); font-size: clamp(17px, 1.35vw, 22px); letter-spacing: 0.12em; }
.hero__en { margin: 2px 0 0; color: rgba(30, 42, 29, 0.66); font-size: 12px; letter-spacing: 0.08em; }
.hero__actions { display: flex; align-items: center; gap: 34px; margin-top: 38px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 164px;
  padding: 14px 18px;
  border: 1px solid var(--ink);
  font-size: 13px;
  letter-spacing: 0.12em;
  transition: color 0.35s ease, background 0.35s ease, transform 0.35s var(--ease);
}
.text-link { padding-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 13px; }

.hero__index {
  position: absolute;
  z-index: 2;
  right: 3.5vw;
  bottom: 4vh;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}
.hero__index i { width: 1px; height: 44px; background: rgba(30, 42, 29, 0.46); }

.section {
  padding: clamp(100px, 11vw, 178px) 5vw;
}

.section-label { display: flex; gap: 16px; align-items: flex-start; }
.section-label > span { color: var(--orange); font-size: 11px; font-weight: 600; }
.section-label p { margin: 0; font-size: 10px; line-height: 1.45; letter-spacing: 0.16em; }

.intro {
  display: grid;
  grid-template-columns: 1fr minmax(480px, 1.65fr) 0.9fr;
  gap: 6vw;
  align-items: start;
}

.intro__statement { max-width: 720px; }
.kicker { color: var(--orange); }
.intro h2,
.standards h2,
.about h2,
.connect h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 4.3vw, 70px);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: 0.035em;
}
.intro__copy { max-width: 660px; margin: 44px 0 0; color: rgba(30, 42, 29, 0.74); font-size: 16px; line-height: 2.05; text-align: justify; }
.signature { display: flex; align-items: center; gap: 18px; margin-top: 44px; }
.signature span { width: 64px; height: 1px; background: var(--orange); }
.signature p { margin: 0; color: var(--green); font-size: 11px; font-weight: 600; letter-spacing: 0.28em; }

.intro__orb {
  position: relative;
  width: min(20vw, 260px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-top: 110px;
}
.orb__ring { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 50%; }
.orb__ring::before,
.orb__ring::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.orb__ring::before { inset: 12%; }
.orb__ring::after { inset: 24%; border-color: rgba(201, 95, 53, 0.35); }
.intro__orb img { width: 30%; mix-blend-mode: multiply; }
.intro__orb p { position: absolute; right: -8px; bottom: 16%; margin: 0; padding: 4px; background: var(--paper); color: var(--green); font-size: 8px; line-height: 1.5; letter-spacing: 0.2em; }

.manifesto {
  min-height: 780px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--green-deep);
  color: var(--paper);
}
.manifesto__image { background: url("assets/images/planxita-hero.webp") 72% center / cover no-repeat; filter: saturate(0.72) contrast(0.94); }
.manifesto__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 130px); }
.manifesto .eyebrow { color: #a8b89c; }
.manifesto blockquote { margin: 28px 0 42px; font-family: var(--serif); font-size: clamp(34px, 3.5vw, 58px); font-weight: 500; line-height: 1.45; }
.manifesto__content > p:last-child { max-width: 560px; margin: 0; color: rgba(243, 240, 231, 0.68); font-size: 15px; line-height: 2; }

.standards { padding-bottom: 0; }
.standards__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8vw; margin: 54px 0 86px 19vw; }
.standards__heading .kicker { margin-top: 22px; white-space: nowrap; }
.standards__heading h2 { order: 2; }
.standards__list { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 -5vw; border-top: 1px solid var(--line); }
.standard-card { position: relative; min-height: 470px; padding: 42px 2.4vw 36px; border-right: 1px solid var(--line); transition: color 0.45s ease, background 0.45s ease; }
.standard-card:last-child { border-right: 0; }
.standard-card__num { font-size: 10px; letter-spacing: 0.16em; }
.standard-card__icon { width: 54px; margin: 78px 0 38px; }
.standard-card__icon svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.standard-card h3 { margin: 0 0 16px; font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: 0.08em; }
.standard-card p { margin: 0; color: rgba(30, 42, 29, 0.65); font-size: 13px; line-height: 1.9; transition: color 0.45s ease; }
.standard-card small { position: absolute; bottom: 32px; left: 2.4vw; font-size: 8px; font-weight: 600; letter-spacing: 0.16em; }

.about { position: relative; overflow: hidden; color: var(--paper); background: var(--green-deep); }
.about::before { content: "PLANXITA"; position: absolute; right: -1vw; top: 12%; color: rgba(255, 255, 255, 0.025); font-size: 18vw; font-weight: 600; line-height: 1; letter-spacing: -0.06em; }
.about__top { position: relative; display: grid; grid-template-columns: 1fr 2fr; gap: 8vw; }
.section-label--light > span { color: #df7a50; }
.about__title .kicker { color: #a8b89c; }
.about__grid { position: relative; display: grid; grid-template-columns: 1fr 1.3fr; gap: 10vw; margin: 100px 0 0 19vw; padding-top: 54px; border-top: 1px solid rgba(243, 240, 231, 0.18); }
.about__story p { margin: 0 0 26px; color: rgba(243, 240, 231, 0.69); font-size: 14px; line-height: 2.05; text-align: justify; }
.dropcap::first-letter { float: left; margin: 0.08em 0.16em 0 0; color: var(--paper); font-family: var(--serif); font-size: 4em; line-height: 0.75; }
.about__data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(243, 240, 231, 0.16); }
.data-item { display: flex; flex-direction: column; min-height: 230px; padding: 28px; background: var(--green-deep); }
.data-item strong { font-family: var(--serif); font-size: clamp(50px, 5vw, 80px); font-weight: 500; line-height: 1; }
.data-item span { margin-top: 12px; font-size: 13px; letter-spacing: 0.08em; }
.data-item p { margin: auto 0 0; color: rgba(243, 240, 231, 0.48); font-size: 11px; }
.membership { position: relative; display: flex; align-items: center; gap: 24px; width: fit-content; margin: 90px 0 0 auto; }
.membership__seal { width: 66px; height: 66px; display: grid; place-items: center; border: 1px solid #df7a50; border-radius: 50%; color: #df7a50; font-family: var(--serif); font-size: 13px; line-height: 1.35; text-align: center; }
.membership p { margin: 0; font-family: var(--serif); font-size: 15px; line-height: 1.8; }
.membership small { display: block; margin-top: 8px; color: rgba(243, 240, 231, 0.42); font-family: var(--sans); font-size: 7px; letter-spacing: 0.1em; }

.connect { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 9vw; align-items: start; }
.connect__copy { position: sticky; top: 130px; }
.connect h2 { margin-bottom: 38px; }
.connect__copy > p:not(.eyebrow) { max-width: 520px; margin: 0 0 30px; color: rgba(30, 42, 29, 0.66); font-size: 14px; line-height: 2; }
.email-link { display: inline-flex; gap: 30px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: 14px; }
.connect__codes { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; align-items: end; }
.qr-card { padding: 25px; background: #e9e4d7; }
.qr-card--feature { padding: 30px; background: #ded9ca; }
.qr-card__head { display: flex; align-items: flex-start; justify-content: space-between; }
.qr-card__head span { font-size: 8px; font-weight: 600; letter-spacing: 0.16em; }
.qr-card__head h3 { margin: 2px 0 0; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.qr-card__arrow { font-size: 18px !important; }
.qr-card__image { position: relative; height: 0; margin: 36px 0 24px; padding-bottom: 100%; overflow: hidden; background: #fff; }
.qr-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qr-card__image--store { background: transparent; }
.qr-card__image--store img { object-fit: contain; border-radius: 50%; }
.qr-card > p { margin: 0; color: rgba(30, 42, 29, 0.55); font-size: 11px; text-align: center; }

.site-footer { display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: end; gap: 4vw; padding: 55px 5vw; color: var(--paper); background: #102818; }
.footer__brand img { width: 58px; height: 58px; border-radius: 50%; }
.footer__address { color: rgba(243, 240, 231, 0.58); font-size: 11px; line-height: 1.7; }
.footer__address p { margin: 0 0 5px; }
.footer__meta { justify-self: end; color: rgba(243, 240, 231, 0.48); font-size: 9px; letter-spacing: 0.08em; text-align: right; }
.footer__meta p { margin: 0 0 10px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes hero-settle { to { transform: scale(1); } }

@media (hover: hover) and (pointer: fine) {
  .button:hover { color: var(--paper); background: var(--ink); transform: translateY(-2px); }
  .standard-card:hover { color: var(--paper); background: var(--green); }
  .standard-card:hover p { color: rgba(243, 240, 231, 0.68); }
}

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .header-cta { margin-right: 64px; }
  .brand { position: relative; z-index: 3; }
  .menu-toggle { position: absolute; z-index: 3; right: max(3.5vw, env(safe-area-inset-right)); display: grid; gap: 7px; width: 48px; height: 48px; place-content: center; border: 0; border-radius: 50%; color: var(--ink); background: rgba(243, 240, 231, 0.5); cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 1px; background: currentColor; transition: transform 0.35s var(--ease); }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .menu-open .site-header,
  .menu-open .site-header.is-scrolled { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open .site-nav { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 100vw; height: 100vh; height: 100dvh; gap: 24px; padding: max(12vw, env(safe-area-inset-top)) max(8vw, env(safe-area-inset-right)) max(8vw, env(safe-area-inset-bottom)) max(8vw, env(safe-area-inset-left)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--paper); }
  .menu-open .site-nav a { font-family: var(--serif); font-size: clamp(30px, 5vw, 54px); }
  .intro { grid-template-columns: 0.7fr 2fr; }
  .intro__orb { display: none; }
  .standards__list { grid-template-columns: repeat(3, 1fr); }
  .standard-card:nth-child(3) { border-right: 0; }
  .standard-card:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .about__grid { margin-left: 0; }
  .connect { gap: 5vw; }
}

@media (min-width: 768px) and (max-width: 900px) {
  .site-header { min-height: 76px; }
  .header-cta { display: none; }
  .hero__content { width: auto; margin-right: 7vw; margin-left: 7vw; }
  .hero h1 { font-size: clamp(68px, 10.5vw, 88px); }
  .section { padding-right: 7vw; padding-left: 7vw; }
  .intro { grid-template-columns: 0.55fr 2fr; gap: 5vw; }
  .intro__copy { max-width: none; }
  .manifesto { min-height: auto; grid-template-columns: 1fr; }
  .manifesto__image { min-height: 54vw; background-position: 72% 58%; }
  .manifesto__content { padding: 9vw 7vw 11vw; }
  .manifesto__content > p:last-child { max-width: 660px; }
  .standards__heading { margin-left: 0; }
  .standards__list { margin-right: -7vw; margin-left: -7vw; }
  .standard-card { min-height: 400px; padding-right: 3.5vw; padding-left: 3.5vw; }
  .standard-card small { left: 3.5vw; }
  .about__top { grid-template-columns: 0.55fr 2fr; gap: 5vw; }
  .about__grid { display: block; margin-top: 72px; }
  .about__story { max-width: 680px; }
  .about__data { margin-top: 54px; }
  .data-item { min-height: 200px; }
  .connect { display: block; }
  .connect__copy { position: static; max-width: 680px; }
  .connect__codes { max-width: 680px; margin-top: 64px; }
  .site-footer { grid-template-columns: 1fr 1.5fr; }
  .footer__meta { grid-column: 1 / -1; justify-self: start; text-align: left; }
}

@media (max-width: 767px) {
  .site-header { min-height: 72px; padding-right: max(20px, env(safe-area-inset-right)); padding-left: max(20px, env(safe-area-inset-left)); }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 16px; }
  .header-cta { display: none; }
  .menu-toggle { right: max(12px, env(safe-area-inset-right)); background: rgba(243, 240, 231, 0.72); }
  .menu-open .site-nav { gap: 20px; padding: calc(110px + env(safe-area-inset-top)) max(28px, env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left)); }
  .menu-open .site-nav a { font-size: clamp(32px, 10vw, 44px); }
  .hero { min-height: 760px; min-height: max(760px, 100svh); align-items: flex-start; }
  .hero__image { background-position: 62% 100%; }
  .hero__veil { background: linear-gradient(180deg, rgba(243,240,231,.96) 0%, rgba(243,240,231,.84) 45%, rgba(243,240,231,.13) 82%); }
  .hero__content { width: auto; margin: 0; padding: calc(132px + env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) calc(54px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
  .hero h1 { font-size: clamp(52px, 16vw, 72px); }
  .hero__lead { font-size: 16px; }
  .hero__actions { margin-top: 30px; }
  .text-link { display: none; }
  .hero__index { display: none; }
  .section { padding: 94px 24px; }
  .section-label { margin-bottom: 50px; }
  .intro { display: block; }
  .intro h2,
  .standards h2,
  .about h2,
  .connect h2 { font-size: 40px; }
  .intro__copy { margin-top: 30px; font-size: 14px; }
  .manifesto { min-height: auto; grid-template-columns: 1fr; }
  .manifesto__image { min-height: 480px; background-position: 73% center; }
  .manifesto__content { padding: 76px 24px 86px; }
  .manifesto blockquote { font-size: 35px; }
  .standards { padding-bottom: 0; }
  .standards__heading { display: block; margin: 0 0 58px; }
  .standards__heading .kicker { margin-top: 0; white-space: normal; }
  .standards__list { grid-template-columns: 1fr; margin: 0 -24px; }
  .standard-card,
  .standard-card:nth-child(3),
  .standard-card:last-child { display: flex; flex-direction: column; min-height: 0; padding: 32px 24px 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .standard-card__icon { margin: 36px 0 24px; }
  .standard-card p { max-width: 34em; }
  .standard-card small { position: static; display: block; margin-top: 24px; }
  .about__top { display: block; }
  .about__grid { display: block; margin: 68px 0 0; padding-top: 42px; }
  .about__data { grid-template-columns: 1fr; margin-top: 54px; }
  .data-item { min-height: 170px; }
  .membership { margin-top: 60px; }
  .membership p { font-size: 13px; }
  .connect { display: block; }
  .connect__copy { position: static; }
  .connect__codes { grid-template-columns: 1fr; margin-top: 64px; }
  .qr-card { padding: 24px; }
  .qr-card__image { max-width: 360px; margin-inline: auto; }
  .site-footer { grid-template-columns: 1fr; gap: 34px; padding: 54px 24px; }
  .footer__meta { justify-self: start; text-align: left; }
}

@media (max-width: 380px) {
  .brand__wordmark small { display: none; }
  .hero h1 { font-size: clamp(47px, 15vw, 58px); }
  .hero__lead { letter-spacing: 0.07em; }
  .hero__en { max-width: 290px; }
  .intro h2,
  .standards h2,
  .about h2,
  .connect h2 { font-size: 35px; }
  .manifesto blockquote { font-size: 31px; }
  .membership { align-items: flex-start; }
  .membership__seal { flex: 0 0 58px; width: 58px; height: 58px; }
}

@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; }
  .reveal { opacity: 1; transform: none; }
}
