*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-deep:  #1A2E1A;
  --green-dark:  #2A3D28;
  --green-mid:   #2A6A2A;
  --green-soft:  #4A7A4A;
  --green-light: #6AAA6A;
  --green-pale:  #8ACA8A;
  --green-mist:  #E8EEE4;
  --green-fog:   #F2F5EF;
  --terra:       #C8A87A;
  --terra-dark:  #8B5E23;
  --ink:         #0E2010;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        -apple-system, 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--green-fog);
  color: var(--green-deep);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: rgba(242,245,239,.96);
  border-bottom: 1px solid rgba(61,107,61,.15);
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: .45em;
  color: #1A3A1A;
  text-decoration: none;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--green-soft);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--green-mid); }
.nav-links a.active {
  color: var(--green-mid);
  border-bottom: 1px solid rgba(42,106,42,.4);
  padding-bottom: 2px;
}

.accent-strip {
  height: 3px;
  background: linear-gradient(to right,
    rgba(200,168,122,.3),
    rgba(139,94,35,.45),
    rgba(200,168,122,.3));
}

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: 80px 56px 72px;
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 320px 220px at 85% 50%, rgba(26,58,26,.45) 0%, transparent 60%),
    radial-gradient(ellipse 200px 280px at 5% 85%, rgba(212,169,99,.07) 0%, transparent 55%);
}
.page-header-inner { position: relative; max-width: 680px; }
.page-header-label {
  font-size: 10px;
  letter-spacing: .42em;
  color: rgba(106,170,106,.55);
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp .8s .1s forwards;
}
.page-header-title {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 300;
  color: #C8DCC8;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp .8s .25s forwards;
}
.page-header-title em { font-style: italic; color: var(--green-pale); }
.page-header-sub {
  font-size: 13px;
  color: #4A6A4A;
  line-height: 2.1;
  margin-top: 24px;
  opacity: 0;
  animation: fadeUp .8s .4s forwards;
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}
.hero-left {
  padding: 96px 56px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--green-fog);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: .4em;
  color: var(--green-soft);
  text-transform: uppercase;
  margin-bottom: 36px;
  border-left: 2px solid rgba(74,122,74,.5);
  padding-left: 14px;
  opacity: 0;
  animation: fadeUp .8s .1s forwards;
}
.hero-headline {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0;
  animation: fadeUp .8s .25s forwards;
}
.hero-headline em { font-style: italic; color: var(--green-mid); }
.hero-subcopy {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: var(--green-mid);
  margin: 20px 0 48px;
  letter-spacing: .06em;
  line-height: 1.5;
  opacity: 0;
  animation: fadeUp .8s .4s forwards;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--green-mid);
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  animation: fadeUp .8s .55s forwards;
  transition: gap .3s;
}
.cta-btn:hover { gap: 22px; }
.cta-line { width: 36px; height: 1px; background: var(--green-mid); transition: width .3s; }
.cta-btn:hover .cta-line { width: 48px; }

.hero-right {
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-right-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 260px 180px at 30% 75%, rgba(212,169,99,.13) 0%, transparent 65%),
    radial-gradient(ellipse 200px 300px at 75% 20%, rgba(26,58,26,.5) 0%, transparent 55%),
    radial-gradient(ellipse 180px 180px at 80% 80%, rgba(58,90,58,.3) 0%, transparent 50%);
}
.orbit { position: relative; width: 240px; height: 240px; }
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(106,170,106,.25);
  animation: spinSlow 40s linear infinite;
}
.ring-1 { inset: 0; }
.ring-2 { inset: 26px; border-color: rgba(106,170,106,.4); animation-duration: 30s; animation-direction: reverse; }
.ring-3 { inset: 56px; border-color: rgba(138,202,138,.3); animation-duration: 20s; }
.ring-core {
  position: absolute; inset: 84px;
  border-radius: 50%;
  background: rgba(58,106,58,.45);
  border: 1px solid rgba(138,202,138,.5);
  display: flex; align-items: center; justify-content: center;
}
.ring-core-text {
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  color: #A8D4A8;
  text-align: center;
  line-height: 1.6;
}
.orbit-dot {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green-light);
}

/* ── PHILOSOPHY ── */
.section-philosophy {
  padding: 96px 56px;
  background: var(--green-mist);
}
.phil-inner { max-width: 600px; margin: 0 auto; }
.section-label {
  font-size: 10px;
  letter-spacing: .42em;
  color: var(--green-soft);
  text-transform: uppercase;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: rgba(74,122,74,.25); }
.phil-quote {
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 300;
  color: #1A3A1A;
  line-height: 1.8;
  margin-bottom: 36px;
  padding-left: 26px;
  border-left: 2px solid rgba(74,122,74,.45);
}
.phil-quote em { font-style: italic; color: var(--green-mid); }
.phil-body {
  font-size: 13.5px;
  color: #3A5A3A;
  line-height: 2.3;
  margin-bottom: 52px;
}
.phil-whisper {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
  color: #6A8A6A;
  border-top: 1px solid rgba(74,122,74,.18);
  padding-top: 32px;
  line-height: 2.1;
  letter-spacing: .06em;
}
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--green-mid);
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 44px;
  transition: gap .3s;
}
.read-more-link:hover { gap: 20px; }
.read-more-line { width: 28px; height: 1px; background: var(--green-mid); }

/* ── HOME: ACTIVITIES OVERVIEW ── */
.section-activities-overview { padding: 88px 56px; background: var(--green-fog); }
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.overview-card {
  padding: 44px 32px;
  background: var(--green-mist);
  border-top: 2px solid rgba(74,122,74,.2);
  transition: border-top-color .3s;
}
.overview-card:hover { border-top-color: rgba(74,122,74,.6); }
.overview-card-step {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 300;
  color: rgba(74,122,74,.3);
  margin-bottom: 18px;
  line-height: 1;
}
.overview-card-title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 300;
  color: #1A3A1A;
  margin-bottom: 14px;
  line-height: 1.55;
}
.overview-card-body {
  font-size: 12.5px;
  color: #4A6A4A;
  line-height: 2.1;
  margin-bottom: 30px;
}
.overview-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--green-mid);
  text-transform: uppercase;
  text-decoration: none;
  transition: gap .3s;
}
.overview-card-link:hover { gap: 16px; }
.overview-card-link-line { width: 22px; height: 1px; background: var(--green-mid); }

/* ── HOME: JOIN CTA STRIP ── */
.section-join-cta {
  padding: 80px 56px;
  background: #1A2E1A;
  text-align: center;
}
.join-cta-label {
  font-size: 10px;
  letter-spacing: .42em;
  color: #4A7A4A;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.join-cta-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  color: #C8DCC8;
  margin-bottom: 20px;
  line-height: 1.75;
}
.join-cta-title em { font-style: italic; color: var(--green-soft); }
.join-cta-sub {
  font-size: 12px;
  color: #4A6A4A;
  line-height: 2;
  margin-bottom: 44px;
}
.join-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--green-pale);
  text-transform: uppercase;
  text-decoration: none;
  transition: gap .3s;
}
.join-cta-btn:hover { gap: 22px; }
.join-cta-line { width: 36px; height: 1px; background: var(--green-pale); }

/* ── ACTIVITIES PAGE ── */
.section-activities { padding: 96px 56px; background: var(--green-fog); }
.act-section-label {
  font-size: 10px;
  letter-spacing: .42em;
  color: var(--green-soft);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 18px;
}
.act-headline {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 300;
  color: var(--ink);
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.65;
}
.act-headline em { font-style: italic; color: var(--green-mid); }

.act-front {
  background: var(--green-dark);
  border-radius: 2px;
  padding: 60px 56px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.act-front-label {
  font-size: 10px;
  letter-spacing: .4em;
  color: rgba(106,170,106,.6);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.act-front-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 300;
  color: #D4E8D0;
  line-height: 1.55;
  margin-bottom: 22px;
}
.act-front-title em { font-style: italic; color: var(--green-pale); }
.act-front-body {
  font-size: 13px;
  color: #7A9A7A;
  line-height: 2.2;
  margin-bottom: 32px;
}
.act-front-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--green-pale);
  text-transform: uppercase;
  text-decoration: none;
  transition: gap .3s;
}
.act-front-cta:hover { gap: 20px; }
.act-front-cta-line { width: 28px; height: 1px; background: var(--green-pale); }

.scan-demo {
  background: #1A2E1A;
  border-radius: 2px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.scan-frame {
  width: 128px; height: 128px;
  border: 1.5px solid #4A7A4A;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scan-frame::before {
  content: '';
  position: absolute; top: -2px; left: -2px;
  width: 22px; height: 22px;
  border-top: 2.5px solid var(--green-pale);
  border-left: 2.5px solid var(--green-pale);
}
.scan-frame::after {
  content: '';
  position: absolute; bottom: -2px; right: -2px;
  width: 22px; height: 22px;
  border-bottom: 2.5px solid var(--green-pale);
  border-right: 2.5px solid var(--green-pale);
}
.barcode-wrap { display: flex; gap: 2.5px; align-items: stretch; height: 40px; }
.barcode-line { background: rgba(74,122,74,.55); }
.scan-label {
  font-size: 10px;
  letter-spacing: .32em;
  color: #3A5A3A;
  text-transform: uppercase;
}
.scan-steps { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.scan-step { display: flex; align-items: flex-start; gap: 14px; }
.scan-step-num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--green-light);
  min-width: 18px;
  line-height: 1.5;
}
.scan-step-text { font-size: 12px; color: #6A8A6A; line-height: 1.75; }

.act-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.act-card { padding: 44px 36px; background: var(--green-mist); }
.act-card-label {
  font-size: 10px;
  letter-spacing: .36em;
  color: rgba(74,122,74,.7);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.act-card-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  color: #1A3A1A;
  margin-bottom: 18px;
  line-height: 1.55;
}
.act-card-body { font-size: 13px; color: #4A6A4A; line-height: 2.1; margin-bottom: 32px; }
.act-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--green-mid);
  text-transform: uppercase;
  text-decoration: none;
  transition: gap .3s;
}
.act-card-cta:hover { gap: 18px; }
.act-card-cta-line { width: 24px; height: 1px; background: var(--green-mid); }

/* ── ACTIVITIES: DATA DETAIL ── */
.section-scan-detail { padding: 72px 56px; background: var(--green-mist); }
.scan-detail-inner { max-width: 720px; margin: 0 auto; }
.scan-data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(74,122,74,.15);
  margin-top: 44px;
}
.scan-data-item { padding: 32px 24px; background: var(--green-mist); }
.scan-data-icon {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  color: rgba(74,122,74,.4);
  margin-bottom: 14px;
}
.scan-data-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: #1A3A1A;
  margin-bottom: 10px;
}
.scan-data-body { font-size: 11.5px; color: #4A6A4A; line-height: 1.9; }

/* ── COMMUNITY PAGE ── */
.section-who { padding: 88px 56px; background: var(--green-fog); }
.who-page-label {
  font-size: 10px;
  letter-spacing: .42em;
  color: var(--green-soft);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 60px;
}
.who-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.who-card-full {
  padding: 44px 32px;
  background: var(--green-mist);
  border-top: 2px solid rgba(74,122,74,.2);
  transition: border-top-color .3s;
}
.who-card-full:hover { border-top-color: rgba(74,122,74,.55); }
.who-card-full .who-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--green-light);
  margin-bottom: 18px;
}
.who-card-full .who-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  color: #1A3A1A;
  margin-bottom: 14px;
}
.who-card-full .who-body {
  font-size: 12.5px;
  color: #4A6A4A;
  line-height: 2;
}

.section-join { padding: 96px 56px; background: #1A2E1A; }
.join-label {
  font-size: 10px;
  letter-spacing: .42em;
  color: #4A7A4A;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 18px;
}
.join-headline {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  color: #C8DCC8;
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.65;
}
.join-sub {
  font-size: 13px;
  color: #4A6A4A;
  text-align: center;
  line-height: 2;
  margin-bottom: 60px;
}
.join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.join-card {
  border: 1px solid rgba(61,107,61,.35);
  padding: 44px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .3s;
}
.join-card:hover { border-color: rgba(106,170,106,.5); }
.join-card-icon {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  color: #4A7A4A;
  margin-bottom: 22px;
}
.join-card-title {
  font-size: 12px;
  font-weight: 500;
  color: #A8C4A8;
  letter-spacing: .14em;
  margin-bottom: 14px;
}
.join-card-body { font-size: 12px; color: #4A6A4A; line-height: 2; margin-bottom: 32px; flex: 1; }
.join-card-note { font-size: 11px; color: #3A5A3A; line-height: 1.8; margin-bottom: 28px; font-style: italic; }
.join-btn {
  display: block;
  text-align: center;
  padding: 13px 0;
  border: 1px solid rgba(61,107,61,.6);
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--green-light);
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.join-btn:hover { background: rgba(106,170,106,.1); color: var(--green-pale); }

/* ── ORIGIN ── */
.section-origin {
  padding: 72px 56px;
  background: var(--green-mist);
  border-top: 1px solid rgba(61,107,61,.12);
}
.origin-inner { max-width: 560px; margin: 0 auto; display: flex; gap: 44px; align-items: flex-start; }
.origin-mark {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  color: rgba(74,122,74,.25);
  line-height: 1;
  min-width: 52px;
}
.origin-label {
  font-size: 10px;
  letter-spacing: .38em;
  color: var(--green-soft);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.origin-text { font-size: 13.5px; color: #3A5A3A; line-height: 2.2; }
.origin-text em { font-style: italic; color: var(--green-mid); }

/* ── LOCAL NETWORK ── */
.section-local { padding: 64px 56px; background: var(--green-dark); text-align: center; }
.local-label {
  font-size: 10px;
  letter-spacing: .42em;
  color: rgba(106,170,106,.5);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.local-text {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  color: #A8C4A8;
  line-height: 1.8;
  margin-bottom: 14px;
}
.local-sub { font-size: 11px; color: #3A5A3A; letter-spacing: .18em; }

/* ── ABOUT: VISION ── */
.section-vision { padding: 88px 56px; background: var(--green-fog); }
.vision-inner { max-width: 680px; margin: 0 auto; }
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 52px;
}
.vision-card { padding: 40px 32px; background: var(--green-dark); }
.vision-card-label {
  font-size: 10px;
  letter-spacing: .36em;
  color: rgba(106,170,106,.5);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.vision-card-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  color: #C8DCC8;
  line-height: 1.55;
  margin-bottom: 16px;
}
.vision-card-body { font-size: 12.5px; color: #5A7A5A; line-height: 2; }

/* ── PRODUCERS PAGE ── */
.section-producer-why { padding: 88px 56px; background: var(--green-fog); }
.producer-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(61,107,61,.12);
  margin-top: 52px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.producer-why-card { padding: 44px 32px; background: var(--green-fog); }
.producer-why-mark {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 300;
  color: rgba(74,122,74,.28);
  margin-bottom: 20px;
  line-height: 1;
}
.producer-why-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  color: #1A3A1A;
  margin-bottom: 14px;
}
.producer-why-body { font-size: 12.5px; color: #4A6A4A; line-height: 2; }

.section-producer-how { padding: 88px 56px; background: var(--green-mist); }
.producer-how-steps {
  max-width: 600px;
  margin: 52px auto 0;
}
.producer-how-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(74,122,74,.14);
}
.producer-how-step:last-child { border-bottom: none; }
.producer-how-num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 300;
  color: rgba(74,122,74,.28);
  line-height: 1;
  padding-top: 2px;
}
.producer-how-content {}
.producer-how-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  color: #1A3A1A;
  margin-bottom: 10px;
}
.producer-how-body { font-size: 12.5px; color: #4A6A4A; line-height: 2; }

.section-producer-voice { padding: 72px 56px; background: var(--green-dark); }
.producer-voice-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.producer-voice-label {
  font-size: 10px;
  letter-spacing: .42em;
  color: rgba(106,170,106,.5);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.producer-voice-quote {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  color: #A8C4A8;
  line-height: 1.9;
  margin-bottom: 22px;
}
.producer-voice-source { font-size: 11px; color: #3A5A3A; letter-spacing: .18em; }

.section-producer-cta {
  padding: 88px 56px;
  background: #1A2E1A;
  text-align: center;
}
.producer-cta-label {
  font-size: 10px;
  letter-spacing: .42em;
  color: #4A7A4A;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.producer-cta-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  color: #C8DCC8;
  line-height: 1.65;
  margin-bottom: 14px;
}
.producer-cta-sub {
  font-size: 13px;
  color: #4A6A4A;
  line-height: 2;
  margin-bottom: 52px;
}
.producer-apply-btn {
  display: inline-block;
  padding: 16px 52px;
  border: 1px solid rgba(106,170,106,.4);
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--green-pale);
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.producer-apply-btn:hover { background: rgba(106,170,106,.1); color: #ACDCAC; }

/* ── FOOTER ── */
footer {
  padding: 26px 56px;
  background: #0E1A0E;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .42em;
  color: #3A5A3A;
  font-weight: 300;
  text-decoration: none;
}
.footer-nav { display: flex; gap: 28px; list-style: none; }
.footer-nav a {
  font-size: 10px;
  letter-spacing: .18em;
  color: #2A3A2A;
  text-decoration: none;
  transition: color .2s;
}
.footer-nav a:hover { color: #3A5A3A; }
.footer-text { font-size: 10px; letter-spacing: .22em; color: #243024; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 280px; }
  .hero-left { padding: 64px 28px 52px; }
  .hero-headline { font-size: 32px; }
  .hero-subcopy { font-size: 14px; margin: 16px 0 40px; }
  .page-header { padding: 56px 28px 48px; }
  .page-header-title { font-size: 30px; }
  .act-front { grid-template-columns: 1fr; padding: 40px 28px; }
  .act-mid { grid-template-columns: 1fr; }
  .who-grid-full { grid-template-columns: 1fr; }
  .join-grid { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
  .producer-why-grid { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: 1fr; }
  .scan-data-grid { grid-template-columns: 1fr 1fr; }
  .section-philosophy,
  .section-activities,
  .section-activities-overview,
  .section-who,
  .section-join,
  .section-join-cta,
  .section-origin,
  .section-local,
  .section-vision,
  .section-producer-why,
  .section-producer-how,
  .section-producer-voice,
  .section-producer-cta,
  .section-scan-detail { padding: 64px 28px; }
  .origin-inner { flex-direction: column; gap: 20px; }
  footer { flex-direction: column; gap: 14px; text-align: center; }
  .footer-nav { display: none; }
}

/* ── FORM PAGES ── */
.section-form { padding: 80px 56px; background: var(--green-fog); }
.form-wrap { max-width: 560px; margin: 0 auto; }
.form-group { margin-bottom: 36px; }
.form-label {
  display: block;
  font-size: 10px;
  letter-spacing: .38em;
  color: var(--green-soft);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(61,107,61,.2);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  border-radius: 1px;
  transition: border-color .2s, background .2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: rgba(42,106,42,.5); background: #FAFCF8; }
.form-input::placeholder { color: rgba(14,32,16,.3); }
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A7A4A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-textarea { resize: vertical; min-height: 160px; line-height: 1.9; }
.form-error {
  font-size: 11px;
  color: #C05030;
  margin-top: 8px;
  display: none;
  letter-spacing: .04em;
}

/* ── TYPE CARDS ── */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.type-card input[type="radio"] { display: none; }
.type-card-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 24px;
  background: var(--green-mist);
  border: 2px solid transparent;
  border-top: 2px solid rgba(74,122,74,.2);
  cursor: pointer;
  text-align: center;
  gap: 10px;
  transition: border-color .2s, background .2s;
}
.type-card-label:hover { border-top-color: rgba(74,122,74,.5); background: #E4EBE0; }
.type-card input:checked + .type-card-label { border: 2px solid rgba(42,106,42,.55); background: #E4EBE0; }
.type-card-emoji { font-size: 26px; line-height: 1; }
.type-card-name { font-size: 11px; letter-spacing: .12em; color: #1A3A1A; font-weight: 500; line-height: 1.5; }

/* ── BADGE PREVIEW ── */
.badge-preview {
  margin-top: 20px;
  padding: 20px 24px;
  background: var(--green-dark);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.badge-preview.visible { opacity: 1; pointer-events: auto; }
.badge-emoji { font-size: 32px; line-height: 1; padding-top: 2px; }
.badge-label {
  font-size: 9px;
  letter-spacing: .38em;
  color: rgba(106,170,106,.55);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.badge-name { font-family: var(--serif); font-size: 22px; font-weight: 300; color: #C8DCC8; line-height: 1.3; }
.badge-levels { font-size: 11px; color: #4A6A4A; margin-top: 8px; line-height: 1.8; }

/* ── FORM SUBMIT ── */
.form-submit-wrap { margin-top: 48px; }
.form-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--green-mid);
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: gap .3s, opacity .2s;
}
.form-submit-btn:hover:not(:disabled) { gap: 22px; }
.form-submit-btn:disabled { opacity: .45; cursor: default; }
.form-submit-line { width: 36px; height: 1px; background: var(--green-mid); transition: width .3s; flex-shrink: 0; }
.form-submit-btn:hover:not(:disabled) .form-submit-line { width: 48px; }
.form-global-error {
  font-size: 11px;
  color: #C05030;
  margin-top: 16px;
  display: none;
  letter-spacing: .04em;
}

/* ── FORM SUCCESS ── */
.form-success { display: none; padding: 64px 0 32px; text-align: center; }
.form-success-icon { font-size: 40px; margin-bottom: 20px; }
.form-success-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.65;
}
.form-success-body { font-size: 13px; color: var(--green-soft); line-height: 2.1; }
.form-success-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--green-mid);
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 40px;
  transition: gap .3s;
}
.form-success-link:hover { gap: 20px; }
.form-success-link-line { width: 28px; height: 1px; background: var(--green-mid); }

@media (max-width: 768px) {
  .section-form { padding: 56px 28px; }
  .type-grid { grid-template-columns: 1fr; }
}

/* ── MYPAGE ── */
.section-login {
  min-height: calc(100vh - 112px);
  padding: 80px 56px;
  background: var(--green-fog);
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-card {
  background: var(--green-mist);
  padding: 56px 48px;
  max-width: 440px;
  width: 100%;
  border-top: 2px solid rgba(74,122,74,.25);
}
.login-card-eyebrow {
  font-size: 10px;
  letter-spacing: .42em;
  color: var(--green-soft);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.login-card-eyebrow::after { content: ''; flex: 1; height: 1px; background: rgba(74,122,74,.2); }
.login-card-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.6;
}
.login-card-sub { font-size: 12.5px; color: #5A7A5A; line-height: 1.9; margin-bottom: 36px; }
.login-register-link { margin-top: 28px; text-align: center; }
.login-register-link a {
  font-size: 11px;
  letter-spacing: .12em;
  color: #6A8A6A;
  text-decoration: none;
  border-bottom: 1px solid rgba(74,122,74,.25);
  padding-bottom: 2px;
  transition: color .2s;
}
.login-register-link a:hover { color: var(--green-mid); }

/* Profile hero */
.section-profile-hero {
  background: var(--green-dark);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 56px;
  align-items: center;
}
.badge-display { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.badge-display-emoji {
  font-size: 80px;
  line-height: 1;
  filter: drop-shadow(0 4px 20px rgba(106,170,106,.3));
}
.badge-display-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  color: #C8DCC8;
  text-align: center;
}
.badge-display-level {
  font-size: 9px;
  letter-spacing: .38em;
  color: rgba(106,170,106,.45);
  text-transform: uppercase;
}
.profile-info-label {
  font-size: 9px;
  letter-spacing: .42em;
  color: rgba(106,170,106,.4);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.profile-name {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  color: #D4E8D0;
  margin-bottom: 8px;
  line-height: 1.3;
}
.profile-meta { font-size: 12px; color: #5A7A5A; margin-bottom: 32px; line-height: 1.9; }

/* Progress */
.progress-wrap { max-width: 380px; }
.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.progress-label { font-size: 10px; letter-spacing: .2em; color: #5A8A5A; text-transform: uppercase; }
.progress-value { font-size: 11px; color: #4A6A4A; }
.progress-track { height: 3px; background: rgba(106,170,106,.15); }
.progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--green-light), var(--green-pale));
  transition: width 1s cubic-bezier(.4,0,.2,1);
  width: 0%;
}
.progress-next { font-size: 11px; color: #3A5A3A; margin-top: 10px; font-style: italic; }

/* Stats */
.section-stats { background: #1A2E1A; padding: 48px 56px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(61,107,61,.2);
  max-width: 600px;
}
.stat-item { padding: 36px 32px; background: #1A2E1A; }
.stat-number {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  color: #C8DCC8;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label { font-size: 9px; letter-spacing: .32em; color: #3A5A3A; text-transform: uppercase; line-height: 1.6; }

/* Hidden badges */
.section-hidden-badges { padding: 72px 56px; background: var(--green-fog); }
.hidden-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
  max-width: 640px;
}
.hidden-badge-card {
  padding: 28px 20px;
  background: var(--green-mist);
  border-top: 2px solid rgba(74,122,74,.15);
  text-align: center;
  transition: border-top-color .3s;
}
.hidden-badge-card.unlocked { border-top-color: rgba(200,168,122,.55); }
.hidden-badge-emoji-wrap { font-size: 32px; line-height: 1; margin-bottom: 12px; transition: filter .4s; }
.hidden-badge-card.locked .hidden-badge-emoji-wrap {
  filter: grayscale(1) brightness(0.2);
  opacity: .5;
}
.hidden-badge-card.unlocked .hidden-badge-emoji-wrap {
  filter: drop-shadow(0 0 8px rgba(200,168,122,.65));
  animation: badgeReveal .7s ease-out;
}
@keyframes badgeReveal {
  0%   { filter: brightness(2.5) drop-shadow(0 0 16px rgba(200,168,122,1)); transform: scale(1.15); }
  100% { filter: drop-shadow(0 0 8px rgba(200,168,122,.65)); transform: scale(1); }
}
.hidden-badge-name {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  color: #1A3A1A;
  margin-bottom: 6px;
  min-height: 18px;
}
.hidden-badge-card.locked .hidden-badge-name { color: rgba(26,58,26,.2); letter-spacing: .3em; }
.hidden-badge-hint { font-size: 10.5px; color: #5A7A5A; line-height: 1.75; font-style: italic; }
.hidden-badge-card.locked .hidden-badge-hint { color: rgba(90,122,90,.45); }

/* Products list */
.section-my-products { padding: 72px 56px; background: var(--green-mist); }
.my-products-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(61,107,61,.1);
  max-width: 640px;
}
.my-product-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: var(--green-mist);
  gap: 0;
  transition: background .2s;
}
.my-product-item:hover { background: #E4EBE0; }
.my-product-barcode { font-family: var(--serif); font-size: 12px; color: rgba(74,122,74,.45); min-width: 110px; }
.my-product-name { font-size: 13px; color: #1A3A1A; flex: 1; padding: 0 16px; }
.my-product-date { font-size: 11px; color: #6A8A6A; white-space: nowrap; }
.my-products-empty {
  padding: 48px 0;
  font-size: 13px;
  color: #6A8A6A;
  font-style: italic;
  line-height: 2.2;
  max-width: 640px;
}

/* Logout */
.section-logout { padding: 24px 56px; background: var(--green-fog); text-align: right; }
.logout-btn {
  font-size: 10px;
  letter-spacing: .24em;
  color: #4A6A4A;
  background: none;
  border: 1px solid rgba(74,122,74,.3);
  padding: 8px 20px;
  cursor: pointer;
  text-transform: uppercase;
  transition: color .2s, border-color .2s;
}
.logout-btn:hover { color: var(--green-mid); border-color: rgba(42,106,42,.5); }

@media (max-width: 768px) {
  .section-login { padding: 48px 24px; min-height: auto; }
  .login-card { padding: 40px 28px; }
  .section-profile-hero { grid-template-columns: 1fr; padding: 48px 28px; gap: 32px; text-align: center; }
  .progress-wrap { max-width: 100%; }
  .section-stats { padding: 40px 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hidden-badges-grid { grid-template-columns: repeat(2, 1fr); }
  .section-hidden-badges,
  .section-my-products { padding: 56px 28px; }
  .section-logout { padding: 20px 28px; }
  .my-product-item { flex-wrap: wrap; gap: 4px; }
  .my-product-name { min-width: 100%; padding: 0; }
}

/* ── PRODUCTS LIST PAGE ── */
.section-products-filter {
  padding: 28px 56px;
  background: var(--green-mist);
  border-bottom: 1px solid rgba(61,107,61,.12);
  position: sticky;
  top: 61px;
  z-index: 50;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.filter-row + .filter-row { margin-top: 14px; }
.filter-label {
  font-size: 9px;
  letter-spacing: .32em;
  color: var(--green-soft);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.sort-toggle { display: flex; }
.sort-btn {
  font-size: 10px;
  letter-spacing: .2em;
  color: #6A8A6A;
  background: #fff;
  border: 1px solid rgba(61,107,61,.2);
  padding: 7px 16px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}
.sort-btn + .sort-btn { border-left: none; }
.sort-btn.active { background: var(--green-mid); color: #fff; border-color: var(--green-mid); }
.sort-btn:hover:not(.active) { color: var(--green-mid); }
.category-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.category-chip {
  font-size: 10px;
  letter-spacing: .14em;
  color: #6A8A6A;
  background: #fff;
  border: 1px solid rgba(61,107,61,.18);
  padding: 6px 14px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.category-chip.active { background: rgba(200,168,122,.15); color: var(--terra-dark); border-color: rgba(200,168,122,.5); }
.category-chip:hover:not(.active) { color: var(--green-mid); border-color: rgba(42,106,42,.4); }
.filter-text-input {
  background: #fff;
  border: 1px solid rgba(61,107,61,.2);
  padding: 7px 12px;
  font-size: 12px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
  width: 180px;
  font-family: var(--sans);
}
.filter-text-input::placeholder { color: rgba(14,32,16,.3); }
.filter-text-input:focus { border-color: rgba(42,106,42,.45); }

/* Grid */
.section-products-grid { padding: 48px 56px 80px; background: var(--green-fog); }
.products-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.products-count { font-size: 11px; letter-spacing: .2em; color: var(--green-soft); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.product-card {
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  background: var(--green-mist);
  border-top: 2px solid rgba(74,122,74,.15);
  text-decoration: none;
  transition: border-top-color .25s, background .25s, transform .2s;
}
.product-card:hover {
  border-top-color: rgba(74,122,74,.55);
  background: #E4EBE0;
  transform: translateY(-2px);
}
.product-card-img {
  width: calc(100% + 40px);
  height: 160px;
  overflow: hidden;
  margin: -20px -20px 16px;
  border-bottom: 1px solid rgba(74,122,74,.1);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.product-card-category { font-size: 9px; letter-spacing: .28em; color: rgba(74,122,74,.55); text-transform: uppercase; }
.product-card-badge { font-size: 18px; line-height: 1; }
.product-card-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 300;
  color: #1A3A1A;
  margin-bottom: 4px;
  line-height: 1.45;
}
.product-card-barcode { font-size: 10px; letter-spacing: .1em; color: rgba(74,122,74,.38); margin-bottom: 12px; }
.product-card-ingredients { font-size: 11.5px; color: #4A6A4A; line-height: 1.8; margin-bottom: 16px; flex: 1; }
.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(74,122,74,.1);
  padding-top: 12px;
  margin-top: auto;
}
.product-card-origin {
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--green-mid);
  background: rgba(42,106,42,.07);
  padding: 2px 8px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-card-date { font-size: 10px; color: #8AAA8A; white-space: nowrap; }
.products-empty {
  grid-column: 1 / -1;
  padding: 72px 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  color: rgba(74,122,74,.35);
  font-style: italic;
  line-height: 2;
}
.products-loading {
  grid-column: 1 / -1;
  padding: 56px 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: .28em;
  color: #8AAA8A;
  text-transform: uppercase;
}

/* ── PRODUCT DETAIL PAGE ── */
.section-product-detail { padding: 56px 56px 80px; background: var(--green-fog); }
.product-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--green-mid);
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 40px;
  transition: gap .3s;
}
.product-detail-back:hover { gap: 20px; }
.product-detail-back-line { width: 28px; height: 1px; background: var(--green-mid); }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 800px;
}
.product-detail-block {
  padding: 32px 28px;
  background: var(--green-mist);
  border-top: 2px solid rgba(74,122,74,.18);
}
.product-detail-block.full { grid-column: 1 / -1; }
.product-detail-block.dark { background: var(--green-dark); border-top-color: rgba(106,170,106,.2); }
.product-detail-label {
  font-size: 9px;
  letter-spacing: .38em;
  color: var(--green-soft);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.product-detail-block.dark .product-detail-label { color: rgba(106,170,106,.42); }
.product-detail-value { font-size: 13.5px; color: #2A4A2A; line-height: 2.1; }
.product-detail-block.dark .product-detail-value { color: #7A9A7A; }
.product-detail-none { font-style: italic; color: rgba(74,122,74,.35); font-size: 12.5px; }
.product-detail-photos {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.product-detail-photo {
  position: relative;
  overflow: hidden;
  background: #1A2A1A;
}
.product-detail-photo img {
  width: 100%;
  display: block;
  max-height: 360px;
  object-fit: contain;
  background: #1A2A1A;
}
.product-detail-photo-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  font-size: 9px;
  letter-spacing: .25em;
  color: rgba(200,230,200,.65);
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .product-detail-photos { grid-template-columns: 1fr; }
}
.product-barcode-display {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  color: #1A3A1A;
  letter-spacing: .1em;
  line-height: 1.3;
}
.contributor-row { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.contributor-badge { font-size: 30px; line-height: 1; }
.contributor-info { font-size: 12px; color: #5A8A5A; line-height: 1.75; }

@media (max-width: 768px) {
  .section-products-filter { padding: 20px 24px; top: 57px; }
  .filter-text-input { width: 100%; }
  .section-products-grid { padding: 36px 24px 60px; }
  .products-grid { grid-template-columns: 1fr; }
  .section-product-detail { padding: 36px 24px 60px; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-block.full { grid-column: 1; }
}

/* ── AI 分析セクション (product_detail) ───────────────────── */
.detail-ai-section {
  margin-top: 56px;
  border-top: 1px solid rgba(42,106,42,.12);
  padding-top: 40px;
}
.detail-ai-header { margin-bottom: 28px; }
.detail-ai-label {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 6px;
}
.detail-ai-sub {
  font-size: 13px;
  color: rgba(42,70,42,.5);
  margin: 0;
}
.detail-ai-body { max-width: 720px; }

/* loading */
.detail-ai-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  color: rgba(42,70,42,.45);
  font-size: 13px;
}
.detail-ai-spin {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(42,106,42,.2);
  border-top-color: var(--green-mid);
  border-radius: 50%;
  animation: ai-spin .8s linear infinite;
  flex-shrink: 0;
}
@keyframes ai-spin { to { transform: rotate(360deg); } }

/* risk row */
.detail-ai-risk-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.detail-ai-risk-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: .1em;
  font-weight: 500;
  white-space: nowrap;
}
.detail-ai-risk-low    { background: rgba(42,106,42,.12); color: #2A6A2A; }
.detail-ai-risk-medium { background: rgba(180,120,0,.12);  color: #8A6000; }
.detail-ai-risk-high   { background: rgba(160,40,40,.12);  color: #8A2020; }
.detail-ai-reason {
  font-size: 13px;
  color: rgba(42,70,42,.65);
  margin: 0;
  line-height: 1.7;
  flex: 1;
  min-width: 0;
}

/* groups */
.detail-ai-group { margin-bottom: 28px; }
.detail-ai-group-label {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 10px;
}
.detail-ai-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  margin: 0;
}

/* additive list */
.detail-ai-additive-list { display: flex; flex-direction: column; gap: 10px; }
.detail-ai-additive {
  background: rgba(42,106,42,.04);
  border: 1px solid rgba(42,106,42,.1);
  border-radius: 8px;
  padding: 12px 16px;
}
.detail-ai-add-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.detail-ai-add-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  flex: 1;
}
.detail-ai-safety {
  display: inline-block;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 12px;
  white-space: nowrap;
}
.detail-ai-safety-safe    { background: rgba(42,106,42,.15); color: #2A6A2A; }
.detail-ai-safety-caution { background: rgba(180,120,0,.15);  color: #8A6000; }
.detail-ai-safety-avoid   { background: rgba(160,40,40,.15);  color: #8A2020; }
.detail-ai-add-detail {
  font-size: 12px;
  color: rgba(42,70,42,.6);
  line-height: 1.65;
  margin-top: 2px;
}
.detail-ai-none {
  font-size: 13px;
  color: rgba(42,70,42,.4);
  font-style: italic;
  margin: 0;
}

/* local alternatives */
.detail-ai-alt-list { display: flex; flex-direction: column; gap: 10px; }
.detail-ai-alt {
  border-left: 2px solid rgba(42,106,42,.25);
  padding: 6px 14px;
}
.detail-ai-alt-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}
.detail-ai-alt-desc {
  font-size: 12px;
  color: rgba(42,70,42,.6);
  line-height: 1.65;
}

/* error */
.detail-ai-error {
  font-size: 13px;
  color: rgba(160,40,40,.7);
  padding: 12px 0;
}

@media (max-width: 600px) {
  .detail-ai-risk-row { flex-direction: column; gap: 8px; }
}
