/* =====================================================================
   MOTHER VEGETABLE PROJECT — restored static site
   Custom stylesheet (no framework). Dark theme with green accents.
   ===================================================================== */

:root {
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --blue-400: #60a5fa;
  --amber-400: #fbbf24;
  --cyan-400: #22d3ee;
  --lime-400: #a3e635;
  --orange-400: #fb923c;
  --purple-400: #c084fc;
  --pink-400: #f472b6;

  --black: #000000;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --white: #ffffff;

  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue",
    Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --maxw: 1152px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* ------------------------------------------------------------------ Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  max-width: 1280px;
  margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 0.5rem; }
.brand img { width: auto; height: 40px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.main-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--green-400); }
.nav-link-green { color: var(--green-400) !important; }
.nav-link-green:hover { color: var(--green-600) !important; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-400);
  background: transparent;
  border: 1px solid var(--gray-600);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-toggle:hover { border-color: var(--green-400); color: var(--green-600); }
.lang-toggle svg { width: 1rem; height: 1rem; }

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.hero-inner {
  position: relative;
  z-index: 10;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 10rem 1rem 3rem;
}
.hero-mark {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 1.5rem;
}
.hero-title {
  display: inline-block;
  font-weight: 700;
  line-height: 1.1;
  font-size: clamp(2rem, 6vw, 3.5rem);
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3))
    drop-shadow(0 2px 4px rgba(34, 197, 94, 0.4));
}
.hero-title .lg { display: block; }
.hero-rule {
  width: 12rem;
  height: 3px;
  margin: 1.5rem auto 0;
  border-radius: 999px;
  opacity: 0.8;
  background: linear-gradient(to right, transparent, var(--green-400), transparent);
}
.hero-lines { margin: 3rem auto 0; max-width: 56rem; }
.hero-lines p {
  margin: 0.75rem 0;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--green-400);
}
.hero-clip video {
  width: 20rem;
  max-width: 80vw;
  margin: 2.5rem auto 0;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* growing-a-sustainable-future strip + SDG grid */
.sdg-wrap { margin-top: 4rem; }
.sdg-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(37, 199, 96, 0.9);
}
.sdg-grid {
  list-style: none;
  margin: 0.75rem auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 788px;
}
.sdg-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.75rem 0.5rem 0.5rem;
}
.sdg-grid img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 3px;
}
.sdg-grid .label {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}
.sdg-grid .code {
  margin-top: auto;
  padding-top: 0.35rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
}
@media (min-width: 768px) {
  .sdg-grid { grid-template-columns: repeat(6, 1fr); gap: 0.75rem; }
  .sdg-grid img { width: 2.5rem; height: 2.5rem; }
}

/* ------------------------------------------------------------------ Sections */
section { padding-block: 8rem; }
.sec-black { background: var(--black); }

.statement { text-align: center; padding-block-start: 1.5rem; }
.statement-title {
  color: var(--green-400);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 2.5rem;
}
.statement-body {
  color: var(--gray-300);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  line-height: 1.9;
  max-width: 52rem;
  margin: 0 auto 1.5rem;
}
.statement-site {
  display: inline-block;
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  text-decoration: none;
  margin: 0.5rem 0 2rem;
  transition: color 0.2s;
}
.statement-site:hover { color: var(--green-400); }
.statement-note {
  color: var(--gray-400);
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  line-height: 1.7;
  max-width: 48rem;
  margin: 0 auto;
}
.sec-g1 { background: linear-gradient(to bottom, var(--gray-900), var(--black)); }
.sec-g2 { background: linear-gradient(to bottom, var(--black), var(--gray-900)); }

.section-head { text-align: center; margin-bottom: 4rem; }
.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 3rem;
}
.section-head .lead {
  max-width: 64rem;
  margin-inline: auto;
  color: var(--gray-300);
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  line-height: 2;
  white-space: pre-line;
}

/* Two Only Ones card */
.two-card {
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 4rem;
}
.two-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .two-grid { grid-template-columns: 1fr 1fr; } }

.roman {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.roman span {
  font-size: 3rem;
  font-weight: 900;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(to right, var(--green-400), var(--emerald-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.biz-box {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 0.5rem;
  padding: 1.5rem;
  flex-grow: 1;
}
.biz-box h3 {
  color: var(--green-400);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  text-align: center;
  margin: 0 0 2.5rem;
}
.biz-figure {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.biz-figure .thumb {
  width: 12rem;
  height: 12rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.biz-figure .thumb img { width: 100%; height: 100%; object-fit: cover; }
.biz-figure.pair { gap: 1rem; flex-direction: column; }
@media (min-width: 768px) { .biz-figure.pair { flex-direction: row; } }
.biz-figure.pair .thumb { width: 100%; max-width: 20rem; height: 12rem; }

.biz-sub {
  color: var(--green-400);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  text-align: center;
  margin: 0 0 1rem;
}
.biz-desc {
  color: var(--gray-300);
  font-size: clamp(0.875rem, 1.6vw, 1rem);
  line-height: 1.9;
  white-space: pre-line;
  margin: 0 0 1rem;
}
.biz-list p { margin: 0.4rem 0; font-size: clamp(0.875rem, 1.6vw, 1rem); }
.biz-list .item-title { color: var(--green-400); font-weight: 600; }
.biz-list .item-body { color: var(--white); }
.biz-note { line-height: 1.7; color: var(--gray-300); white-space: pre-line; }
.biz-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--white);
  text-decoration: underline;
  transition: color 0.2s;
}
.biz-link:hover { color: var(--green-400); }

.biz-video {
  position: relative;
  width: 100%;
  margin: 1.5rem auto 0;
}
@media (min-width: 768px) { .biz-video { width: 50%; } }
.biz-video video { width: 100%; border-radius: 0.5rem; }

/* Industry cards */
.industry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .industry-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .industry-grid { grid-template-columns: repeat(4, 1fr); } }

.ind-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.ind-card:hover { transform: scale(1.05); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
.ind-card .emoji { font-size: 2.25rem; margin-bottom: 0.75rem; text-align: center; }
.ind-card h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.5rem; text-align: center; }
.ind-card .sub { font-weight: 600; font-size: 0.875rem; opacity: 0.85; text-align: center; margin: 0 0 1rem; }
.ind-card .body { color: var(--gray-300); font-size: 0.875rem; line-height: 1.8; margin: 0 0 0.75rem; }
.ind-card .note { color: var(--gray-400); font-size: 0.8rem; line-height: 1.7; margin: auto 0 0; }

.ind-emerald { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3); color: var(--emerald-400); }
.ind-blue    { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.3); color: var(--blue-400); }
.ind-amber   { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.3); color: var(--amber-400); }
.ind-cyan    { background: rgba(6, 182, 212, 0.1);  border-color: rgba(6, 182, 212, 0.3);  color: var(--cyan-400); }
.ind-lime    { background: rgba(132, 204, 22, 0.1); border-color: rgba(132, 204, 22, 0.3); color: var(--lime-400); }
.ind-green   { background: rgba(34, 197, 94, 0.1);  border-color: rgba(34, 197, 94, 0.3);  color: var(--green-400); }
.ind-orange  { background: rgba(249, 115, 22, 0.1); border-color: rgba(249, 115, 22, 0.3); color: var(--orange-400); }
.ind-purple  { background: rgba(168, 85, 247, 0.1); border-color: rgba(168, 85, 247, 0.3); color: var(--purple-400); }

/* Core members */
.members-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .members-grid { grid-template-columns: 1fr 1fr; } }
/* single member — one centered card */
.members-grid--single { grid-template-columns: 1fr; max-width: 34rem; }
@media (min-width: 768px) { .members-grid--single { grid-template-columns: 1fr; } }
.member {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid var(--gray-800);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}
.member .photo {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 1.5rem;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(34, 197, 94, 0.4);
}
.member .photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { color: var(--white); font-size: 1.375rem; font-weight: 700; margin: 0 0 0.5rem; }
.member .role { color: var(--green-400); font-size: 0.875rem; font-weight: 600; margin: 0 0 1rem; }
.member .bio { color: var(--gray-300); font-size: 0.875rem; line-height: 1.8; text-align: left; margin: 0; }

/* Group companies — single card with the countries stacked vertically */
.group-subhead {
  text-align: center;
  color: var(--white);
  font-weight: 700;
  font-size: clamp(0.9rem, 2vw, 1.25rem);
  line-height: 1.6;
  max-width: 64rem;
  margin: 0 auto 2rem;
}
.group-card {
  max-width: 56rem;
  margin-inline: auto;
  background: rgba(31, 41, 55, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(55, 65, 81, 0.5);
  border-radius: 1rem;
  padding: 2rem;
}
@media (min-width: 768px) { .group-card { padding: 3rem; } }
.group-stack { display: flex; flex-direction: column; gap: 2.5rem; }
.group-country h5 {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin: 0 0 1rem;
}
.group-country ul {
  list-style: none;
  margin: 0 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.group-country li { color: var(--gray-300); font-size: clamp(0.875rem, 1.6vw, 1rem); }

/* Athlete page: promise intro + feature blocks */
.promise-intro { max-width: 56rem; margin: 0 auto 5rem; text-align: center; }
.promise-intro h2 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 2rem;
}
.promise-intro p {
  color: var(--gray-300);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.9;
  margin: 1.25rem 0;
}

.features { max-width: 72rem; margin-inline: auto; display: flex; flex-direction: column; gap: 3rem; }
.feature {
  position: relative;
  background: linear-gradient(to bottom right, var(--gray-900), var(--black));
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 1.5rem;
  padding: 2rem;
  overflow: hidden;
}
@media (min-width: 768px) { .feature { padding: 4rem; } }
.feature::before {
  content: "";
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 16rem;
  height: 16rem;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 999px;
  filter: blur(60px);
}
.feature .num {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(74, 222, 128, 0.12);
  z-index: 0;
}
.feature-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) { .feature-inner { grid-template-columns: 1fr 1fr; } }
.feature.reverse .feature-media { order: 2; }
.feature-media {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  aspect-ratio: 4 / 3;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 {
  color: var(--green-400);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin: 0 0 1rem;
}
.feature .tagline { color: var(--white); font-size: 1.1rem; font-weight: 600; margin: 0 0 1.25rem; }
.feature .desc { color: var(--gray-300); line-height: 1.9; margin: 0 0 1.5rem; }
.feature .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.feature .chips span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-400);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

/* Athlete roster */
.roster {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .roster { grid-template-columns: 1fr 1fr; } }
.athlete-card {
  background: #0f172a;
  border: 1px solid var(--gray-800);
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}
.athlete-card:hover { border-color: rgba(74, 222, 128, 0.5); }
.athlete-card .media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--gray-800);
  overflow: hidden;
}
.athlete-card .media video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.athlete-card .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0f172a, transparent 60%);
  opacity: 0.9;
}
.athlete-card .info { padding: 2rem; text-align: center; }
.athlete-card .cat {
  color: var(--green-400);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.athlete-card h3 { color: var(--white); font-size: 1.5rem; font-weight: 700; margin: 0 0 1rem; }
.athlete-card .bio { color: var(--gray-300); font-size: 0.875rem; line-height: 1.8; text-align: left; margin: 0; }

/* ------------------------------------------------------------------ Footer */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(34, 197, 94, 0.15);
  padding: 4rem 1rem 2rem;
}
.footer-inner { max-width: var(--maxw); margin-inline: auto; text-align: center; }
.footer-inner h4 {
  color: var(--green-400);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.footer-inner .sub { color: var(--gray-400); font-size: 0.85rem; margin: 0 0 1.5rem; }
.country-list {
  list-style: none;
  margin: 0 auto 2.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  max-width: 48rem;
}
.country-list li { color: var(--gray-300); font-size: 0.85rem; }
.copyright { color: var(--gray-600); font-size: 0.8rem; line-height: 1.6; }

/* utility */
.hidden { display: none !important; }
.center { text-align: center; }

/* ------------------------------------------------ Loading screen (preloader) */
.mv-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
.mv-loader--done { opacity: 0; pointer-events: none; }
.mv-loader-inner { text-align: center; }

.mv-spinner { width: 8rem; height: 8rem; margin: 0 auto 2rem; position: relative; }
.mv-spinner-ring-bg {
  position: absolute; inset: 0;
  border: 4px solid rgba(16, 185, 129, 0.2);
  border-radius: 9999px;
}
.mv-spinner-ring {
  position: absolute; inset: 0;
  border: 4px solid var(--emerald-500);
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 9999px;
  animation: mv-spin 1s linear infinite;
}
.mv-spinner-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald-400);
  font-weight: 700;
  font-size: 1.5rem;
}
.mv-loader-title {
  color: var(--emerald-400);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  animation: mv-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.mv-loader-sub { color: var(--gray-400); font-size: 0.875rem; margin: 0 0 1.5rem; }
.mv-loader-barwrap { width: 16rem; margin: 0 auto; }
.mv-loader-track {
  background: var(--gray-800);
  border-radius: 9999px;
  height: 0.5rem;
  overflow: hidden;
}
.mv-loader-fill {
  height: 100%;
  width: 0;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--emerald-500), var(--emerald-400));
  transition: width 0.15s linear;
}
.mv-loader-pct { color: var(--emerald-400); font-size: 0.875rem; margin: 0.5rem 0 0; }
.mv-loader-boot { margin-top: 1.5rem; color: var(--gray-600); font-size: 0.75rem; }
.mv-loader-boot span { display: inline-block; animation: mv-bounce 1s infinite; }

@keyframes mv-spin { to { transform: rotate(360deg); } }
@keyframes mv-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes mv-bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

@media (prefers-reduced-motion: reduce) {
  .mv-spinner-ring, .mv-loader-title, .mv-loader-boot span { animation: none; }
}
