/* ==========================================================================
   OrchardTech Greenova — components.css
   Buttons, cards, stat dashboard, ticker, tables, timeline, org chart,
   charts, checklists, quotes, forms (design-guide.md §6–§7)
   ========================================================================== */

/* ---------- Buttons (§7.2) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform var(--dur-micro) ease-out, box-shadow var(--dur-micro) ease-out,
              background var(--dur-micro) ease-out, border-color var(--dur-micro) ease-out;
}
.btn--primary {
  background: var(--accent-500);
  color: var(--green-950);
}
.btn--primary:hover { background: var(--accent-400); transform: translateY(-2px); box-shadow: var(--glow-accent); color: var(--green-950); }
.btn--ghost {
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }
.btn--ghost-light {
  border: 1px solid var(--line-strong);
  color: var(--green-800);
}
.btn--ghost-light:hover { border-color: var(--green-700); background: rgba(12, 74, 60, .05); }

/* Link-button (§7.2) */
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--green-700);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 2px);
  padding-bottom: 6px;
  transition: background-size 240ms var(--ease-out), color var(--dur-micro) ease-out;
}
.link-btn:hover { background-size: 100% 2px; color: var(--green-800); }
.link-btn .arrow { transition: transform var(--dur-micro) var(--ease-out); }
.link-btn:hover .arrow { transform: translateX(4px); }
.band-dark .link-btn { color: var(--accent-300); }
.band-dark .link-btn:hover { color: var(--accent-400); }

/* ---------- Cards (§7.3) ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: transform var(--dur-micro) ease-out, box-shadow var(--dur-micro) ease-out,
              border-color var(--dur-micro) ease-out;
}
.card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  border-radius: 16px 16px 0 0;
  background: var(--hairline-top);
  opacity: .9;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--green-600); box-shadow: var(--shadow-card); }

.icon-tile {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-100);
  color: var(--green-700);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.icon-tile svg { width: 24px; height: 24px; }

.card--dark {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #DDEAE3;
}
.card--dark::before { background: linear-gradient(135deg, rgba(124, 232, 165, .5), rgba(255, 255, 255, 0) 45%); }
.card--dark:hover { border-color: rgba(124, 232, 165, .45); box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .35); }
.card--dark h3, .card--dark h4 { color: #F6F9F7; }
.card--dark p { color: #A9C3B9; }

/* Ghost numerals (§6.2) */
.ghost-num {
  position: absolute;
  top: 18px; right: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--green-600);
  opacity: .18;
  pointer-events: none;
  user-select: none;
}
.card--dark .ghost-num { color: var(--accent-300); opacity: .22; }

/* ---------- Stat dashboard (§6.5) ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat {
  position: relative;
  padding: 26px 26px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 26px;
  width: 42px; height: 2px;
  background: var(--grad-gold);
}
.stat__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  color: var(--accent-300);
  letter-spacing: -0.01em;
}
.stat__value small { font-size: .5em; font-weight: 700; color: #DDEAE3; letter-spacing: 0; }
.stat__value .stat__plain { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; color: #F6F9F7; line-height: 1.3; }
.stat__label { font-size: var(--text-sm); font-weight: 600; color: #DDEAE3; margin-top: 10px; }
.stat__sub { font-size: var(--text-xs); color: #8FA79E; margin-top: 4px; line-height: 1.5; }

/* Light variant (IR metrics strip) */
.stat--light {
  background: var(--surface);
  border-color: var(--line);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.stat--light .stat__value { color: var(--green-800); }
.stat--light .stat__value small { color: var(--ink-500); }
.stat--light .stat__value .stat__plain { color: var(--ink-900); }
.stat--light .stat__label { color: var(--ink-700); }
.stat--light .stat__sub { color: var(--ink-400); }

/* ---------- Trust strip (§6.4) ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 22px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(246, 249, 247, .88);
  white-space: nowrap;
}
.trust-strip span + span { border-left: 1px solid rgba(255, 255, 255, .18); }
.trust-strip span:first-child { padding-left: 0; }
.trust-strip svg { width: 15px; height: 15px; color: var(--accent-300); }

/* ---------- News ticker (§8) ---------- */
.ticker {
  display: grid;
  grid-template-columns: 220px 1fr;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.ticker__label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 26px;
  background: var(--green-900);
  color: #F6F9F7;
  font-weight: 700;
  font-size: var(--text-sm);
}
.ticker__label .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-500);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }
.ticker__viewport { height: 172px; overflow: hidden; position: relative; }
.ticker__track { animation: ticker-scroll 30s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
@keyframes ticker-scroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.ticker__item {
  display: flex;
  gap: 18px;
  align-items: baseline;
  min-height: 86px;
  padding: 16px 28px 10px;
}
.ticker__date {
  flex: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--green-700);
  min-width: 92px;
  font-variant-numeric: tabular-nums;
}
.ticker__text { font-size: var(--text-sm); color: var(--ink-700); line-height: 1.6; }

/* ---------- Data tables (§6.9, §7.6) ---------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
table.data-table caption {
  text-align: left;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-900);
  border-bottom: 1px solid var(--line);
}
.data-table th, .data-table td {
  padding: 15px 24px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.data-table thead th {
  background: var(--green-900);
  color: #F6F9F7;
  font-weight: 600;
  font-size: var(--text-sm);
}
.data-table tbody tr { border-top: 1px solid var(--line); }
.data-table tbody tr:nth-child(even) { background: var(--surface-2); }
.data-table tbody tr:hover { background: rgba(46, 204, 113, .06); }
.data-table td:first-child { font-weight: 600; color: var(--ink-900); }
.data-table .cell-strong { font-weight: 600; color: var(--green-800); }

/* Risk matrix icons */
.risk-ico, .ok-ico { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; margin-right: 10px; vertical-align: -7px; }
.risk-ico { background: rgba(217, 164, 65, .15); color: var(--warning); }
.ok-ico { background: var(--accent-100); color: var(--green-700); }

/* Mobile: tables become stacked cards (§7.6) */
@media (max-width: 639px) {
  .data-table thead { position: absolute; left: -9999px; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tbody tr { padding: 6px 0 14px; }
  .data-table td { padding: 8px 20px; border: 0; }
  .data-table td::before {
    content: attr(data-th);
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-400);
    margin-bottom: 3px;
  }
  .data-table td:first-child { padding-top: 16px; font-size: 1rem; }
  .data-table caption + thead + tbody tr:first-child td:first-child { padding-top: 16px; }
}

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 14px; }
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: var(--text-body);
  line-height: 1.65;
}
.checklist li svg {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 3px;
  color: var(--accent-500);
}
.checklist li strong { color: var(--ink-900); }
.band-dark .checklist li { color: #DDEAE3; }
.band-dark .checklist li strong { color: #F6F9F7; }
.band-dark .checklist li svg { color: var(--accent-300); }
.checklist--compact { gap: 10px; }
.checklist--compact li { font-size: var(--text-sm); }

/* ---------- Quote treatment (§6.6) ---------- */
.quote-block { text-align: center; max-width: 34em; margin-inline: auto; position: relative; padding-top: 34px; }
.quote-block::before {
  content: "”";
  position: absolute;
  top: -26px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-quote);
  font-size: 6rem;
  line-height: 1;
  color: var(--gold-400);
  opacity: .4;
  pointer-events: none;
}
.quote-block p {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: var(--text-lead);
  line-height: 1.7;
  color: var(--ink-900);
  max-width: 30ch;
  margin-inline: auto;
}
html[lang^="zh"] .quote-block p { font-style: normal; font-weight: 500; font-family: var(--font-zh); }
.band-dark .quote-block p { color: #F6F9F7; }

/* ---------- Numbered advantage blocks ---------- */
.adv-grid { display: grid; gap: 26px; }
.adv-block {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding: clamp(26px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--dur-micro) ease-out, box-shadow var(--dur-micro) ease-out, border-color var(--dur-micro) ease-out;
}
.adv-block::before {
  content: "";
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity var(--dur-micro) ease-out;
}
.adv-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--green-600); }
.adv-block:hover::before { opacity: 1; }
.adv-block:nth-child(even) { margin-left: clamp(0px, 6vw, 96px); }
.adv-block:nth-child(odd) { margin-right: clamp(0px, 6vw, 96px); }
.adv-block .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .9;
}
.adv-block h3 { font-size: var(--text-h3); margin-bottom: 10px; }
.adv-block p { font-size: var(--text-body); color: var(--ink-700); }
@media (max-width: 720px) {
  .adv-block { grid-template-columns: 1fr; gap: 10px; }
  .adv-block:nth-child(even), .adv-block:nth-child(odd) { margin-inline: 0; }
}

/* ---------- Milestone timeline (§7.5) ---------- */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(124, 232, 165, 0), rgba(124, 232, 165, .35) 8%, rgba(124, 232, 165, .35) 92%, rgba(124, 232, 165, 0));
}
.timeline__item {
  position: relative;
  width: 50%;
  padding: 0 52px 64px 0;
}
.timeline__item:nth-child(even) { margin-left: 50%; padding: 0 0 64px 52px; }
.timeline__item::after {
  content: "";
  position: absolute;
  top: 12px;
  right: -8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent-500);
  box-shadow: 0 0 0 5px rgba(46, 204, 113, .18);
}
.timeline__item:nth-child(even)::after { right: auto; left: -8px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h1);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold-400);
  margin-bottom: 12px;
}
.timeline__item h3 { font-size: var(--text-h3); color: #F6F9F7; margin-bottom: 10px; }
.timeline__item p { font-size: var(--text-sm); color: #A9C3B9; line-height: 1.7; }
/* 2026 breakthrough node */
.timeline__item--highlight::after {
  width: 16px; height: 16px;
  right: -10px;
  background: var(--gold-400);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, .22), 0 0 24px rgba(212, 175, 55, .55);
}
.timeline__item--highlight:nth-child(even)::after { left: -10px; }
.timeline__card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 26px 28px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.timeline__item--highlight .timeline__card {
  border-color: rgba(212, 175, 55, .45);
  box-shadow: 0 0 40px rgba(212, 175, 55, .12);
}
.timeline__badge { margin-top: 16px; }
@media (max-width: 820px) {
  .timeline::before { left: 8px; }
  .timeline__item, .timeline__item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 48px 40px;
  }
  .timeline__item::after, .timeline__item:nth-child(even)::after { left: 2px; right: auto; }
  .timeline__item--highlight::after, .timeline__item--highlight:nth-child(even)::after { left: -1px; }
}

/* ---------- Org chart (§7.5) ---------- */
.orgchart { display: flex; flex-direction: column; align-items: center; }
.orgchart__parent {
  width: min(680px, 100%);
  background: var(--green-900);
  color: #F6F9F7;
  border-radius: 16px;
  padding: 30px 36px;
  text-align: center;
  box-shadow: 0 24px 48px -12px rgba(4, 31, 24, .35);
}
.orgchart__parent h3 { color: #fff; font-size: var(--text-h3); margin-bottom: 6px; }
.orgchart__parent .role { font-size: var(--text-sm); color: var(--accent-300); font-weight: 600; }
.orgchart__parent .sub { font-size: var(--text-xs); color: #8FA79E; margin-top: 8px; }
.orgchart__children {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  width: 100%;
  padding-top: 44px;
  position: relative;
}
/* trunk from parent */
.orgchart__children::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 2px; height: 22px;
  background: var(--green-600);
}
/* horizontal branch bar (child centres sit at 25%-7px / 75%+7px with a 28px gap) */
.orgchart__children::after {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(25% - 7px); right: calc(25% - 7px);
  height: 2px;
  background: var(--green-600);
}
.orgchart__child {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: visible;
}
.orgchart__child::before {
  content: "";
  position: absolute;
  top: -23px; left: 50%;
  width: 2px; height: 22px;
  background: var(--green-600);
}
.orgchart__child::after {
  content: "";
  position: absolute;
  top: -27px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-600);
  transform: translateX(-50%);
}
.orgchart__child header {
  padding: 24px 28px;
  background: var(--green-800);
  color: #fff;
  border-radius: 15px 15px 0 0;
}
.orgchart__child header h4 { color: #fff; font-size: 1.15rem; }
.orgchart__child header p { font-size: var(--text-xs); color: var(--accent-300); font-weight: 600; margin-top: 4px; letter-spacing: .02em; }
.orgchart__cols { display: grid; grid-template-columns: 1fr 1fr; }
.orgchart__col { padding: 22px 24px; }
.orgchart__col + .orgchart__col { border-left: 1px solid var(--line); }
.orgchart__col h5 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 14px;
}
html[lang^="zh"] .orgchart__col h5 { letter-spacing: .04em; }
.orgchart__col ul { display: grid; gap: 9px; }
.orgchart__col li { font-size: var(--text-sm); color: var(--ink-700); line-height: 1.55; display: flex; gap: 9px; }
.orgchart__col li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-500); margin-top: 9px; }
.orgchart__roles { width: min(880px, 100%); margin-top: 40px; }
.orgchart__roles h4 { font-size: 1.05rem; margin-bottom: 18px; }
.orgchart__roles ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.orgchart__roles li { display: flex; gap: 12px; font-size: var(--text-sm); color: var(--ink-700); align-items: flex-start; }
.orgchart__roles li svg { flex: none; width: 18px; height: 18px; color: var(--accent-500); margin-top: 3px; }
@media (max-width: 900px) {
  .orgchart__children { grid-template-columns: 1fr; gap: 44px; }
  .orgchart__children::before { height: 44px; }
  .orgchart__children::after { display: none; }
  .orgchart__child::before { top: -45px; height: 44px; }
  .orgchart__child::after { top: -49px; }
  .orgchart__roles ul { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .orgchart__cols { grid-template-columns: 1fr; }
  .orgchart__col + .orgchart__col { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Flywheel diagram ---------- */
.flywheel { display: grid; place-items: center; padding: 10px 0 6px; }
.flywheel svg { width: min(460px, 92%); height: auto; overflow: visible; }

/* ---------- Use of Proceeds stacked bar (§7.5) ---------- */
.uop { margin-top: 8px; }
.uop__bar {
  display: flex;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.uop__seg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transform-origin: left center;
  transition: filter var(--dur-micro) ease-out;
  min-width: 0;
}
.uop.is-visible .uop__seg { animation: seg-grow 900ms var(--ease-out) both; }
@keyframes seg-grow { from { transform: scaleX(0); } }
.uop__seg:hover { filter: brightness(1.12); }
.uop__seg .tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--green-950);
  color: #F6F9F7;
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-micro) ease-out, transform var(--dur-micro) ease-out;
  z-index: 5;
}
.uop__seg:hover .tip, .uop__seg:focus-visible .tip { opacity: 1; transform: translateX(-50%); }
.uop__total { text-align: right; font-size: var(--text-xs); color: var(--ink-400); margin-top: 8px; font-variant-numeric: tabular-nums; }
.uop__legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.uop__legend li { display: flex; align-items: center; gap: 9px; font-size: var(--text-sm); color: var(--ink-700); }
.uop__legend .swatch { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.uop__legend b { font-variant-numeric: tabular-nums; color: var(--ink-900); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; }
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { font-size: var(--text-h2); color: #F6F9F7; margin-bottom: 10px; }
.cta-banner p { color: #A9C3B9; max-width: 52ch; }

/* ---------- Forms (§7.6) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: var(--text-sm); font-weight: 600; color: var(--ink-900); }
.form-field label .req { color: var(--danger); margin-left: 2px; }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  background: var(--surface);
  font-size: var(--text-sm);
  color: var(--ink-900);
  width: 100%;
  transition: border-color var(--dur-micro) ease-out, box-shadow var(--dur-micro) ease-out;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 4px var(--accent-100);
}
.form-field select {
  appearance: none;
  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 1.5 6 6.5 11 1.5' fill='none' stroke='%235C6B65' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.form-field .error-msg { font-size: var(--text-xs); color: var(--danger); display: none; }
.form-field.is-invalid input, .form-field.is-invalid select, .form-field.is-invalid textarea { border-color: var(--danger); }
.form-field.is-invalid .error-msg { display: block; }
.form-note { font-size: var(--text-xs); color: var(--ink-400); }
.form-status { display: none; margin-top: 22px; border-radius: 12px; padding: 18px 22px; font-size: var(--text-sm); align-items: flex-start; gap: 12px; }
.form-status.is-visible { display: flex; }
.form-status [data-status-kind] { display: flex; gap: 12px; align-items: flex-start; }
.form-status--success { background: var(--accent-100); color: var(--green-800); border: 1px solid rgba(46, 204, 113, .4); }
.form-status--error { background: #FBEDEA; color: var(--danger); border: 1px solid rgba(200, 79, 67, .3); }
.form-status svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.form-status a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact info card / map placeholder ---------- */
.contact-card { display: grid; gap: 0; }
.contact-row {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.contact-row:first-child { padding-top: 4px; }
.contact-row:last-child { border-bottom: 0; }
.contact-row .icon-tile { margin: 0; }
.contact-row h3 { font-size: var(--text-sm); font-weight: 600; color: var(--ink-400); letter-spacing: .04em; margin-bottom: 4px; }
.contact-row p, .contact-row a { font-size: 1.05rem; font-weight: 600; color: var(--ink-900); line-height: 1.55; }
.contact-row a:hover { color: var(--green-700); }

.map-placeholder {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 260px at 78% 18%, rgba(46, 204, 113, .14), transparent 70%),
    linear-gradient(150deg, #EDF3EF, #DCE9E1);
  min-height: 300px;
}
.map-placeholder svg.grid-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute;
  top: 42%; left: 56%;
  transform: translate(-50%, -100%);
  text-align: center;
}
.map-pin .pin {
  width: 44px; height: 44px;
  margin-inline: auto;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: var(--green-800);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(4, 31, 24, .3);
}
.map-pin .pin svg { transform: rotate(45deg); width: 20px; height: 20px; color: var(--accent-300); }
.map-pin strong {
  display: inline-block;
  margin-top: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: var(--text-xs);
  color: var(--ink-900);
  box-shadow: 0 8px 20px rgba(6, 42, 34, .1);
}
.map-caption {
  position: absolute;
  left: 18px; bottom: 16px;
  font-size: var(--text-xs);
  color: var(--ink-500);
  background: rgba(255, 255, 255, .8);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

/* ---------- Responsive component tweaks ---------- */
@media (max-width: 1023px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .stat-grid { grid-template-columns: 1fr; }
  .ticker { grid-template-columns: 1fr; }
  .ticker__label { padding: 14px 22px; }
  .ticker__item { padding-inline: 22px; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
}
