body.page-home {
  --bg: #fafbf8;
  --surface: #fff;
  --ink: #123540;
  --muted: #405961;
  --quiet: #4a626a;
  --accent: #087767;
  --live-green: #237c40;
  --stroke: #cbdcda;
  --energy-blue: #218cbd;
  --energy-green: #45a669;
  --energy-yellow: #e0be35;
  --energy: linear-gradient(90deg, var(--energy-blue), var(--energy-green) 52%, var(--energy-yellow));
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

.site-header { background: var(--bg); backdrop-filter: none; }
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}
.brand-type { letter-spacing: -.05em; }
.brand-suffix {
  display: inline-grid;
  overflow: hidden;
  vertical-align: bottom;
}
.brand-suffix em {
  grid-area: 1 / 1;
  color: var(--live-green);
  opacity: 0;
  transform-origin: left center;
}
.brand-suffix .suffix-dev { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .brand-suffix em {
    animation: suffix-layer 11.5s ease-in-out calc(var(--layer-delay, 0s) - .52s) infinite;
  }
  .brand-suffix em:nth-child(2) { --layer-delay: -9.2s; }
  .brand-suffix em:nth-child(3) { --layer-delay: -6.9s; }
  .brand-suffix em:nth-child(4) { --layer-delay: -4.6s; }
  .brand-suffix em:nth-child(5) { --layer-delay: -2.3s; }
}
@keyframes suffix-layer {
  0% { opacity: 0; transform: translateY(.48em) skewY(-2deg); }
  4.2%, 20% { opacity: 1; transform: translateY(0) skewY(0); }
  24.2%, 100% { opacity: 0; transform: translateY(-.48em) skewY(2deg); }
}
.top-links a, .socials a, .email-copy { color: var(--muted); }
.email-copy {
  display: inline-grid;
  align-items: center;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.email-copy:hover, .email-copy:focus-visible { border-bottom-color: var(--accent); color: var(--accent); }
.email-copy-label { grid-area: 1 / 1; text-align: left; white-space: nowrap; transition: opacity 140ms ease; }
.email-copy-icons { position: relative; display: inline-block; }
.email-copy-icons > * { transition: opacity 140ms ease; }
.email-copy-icons svg { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; transform: translateY(-50%); }
.email-copy-placeholder { visibility: hidden; }
.email-copy-check { color: #2e6b34; }
.email-copy-label + .email-copy-label,
.email-copy-symbol,
.email-copy[data-state="copying"] .email-copy-arrow,
.email-copy[data-state="copied"] .email-copy-arrow,
.email-copy[data-state="copied"] .email-copy-label:first-child { opacity: 0; }
.email-copy[data-state="copying"] .email-copy-symbol,
.email-copy[data-state="copied"] .email-copy-label + .email-copy-label { opacity: 1; }
.email-copy-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (hover: hover) {
  .email-copy:not([data-state]):hover .email-copy-arrow { opacity: 0; }
  .email-copy:not([data-state]):hover .email-copy-symbol { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .email-copy-label, .email-copy-icons > * { transition: none; }
}
.top-links a.current::after { background: var(--energy); }
.header-cta { border-color: var(--stroke); }
.header-cta-compact { display: none; }
.header-cta:hover, .ghost-btn:hover { background: #edf6ef; border-color: #84b39b; }
.header-cta .status-dot {
  position: relative;
  flex: 0 0 6px;
  background: var(--energy-green);
  box-shadow: none;
}
.header-cta .status-dot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid var(--energy-green);
  border-radius: 50%;
  opacity: 0;
  animation: contact-dot-pulse 3.6s ease-out infinite;
}
@keyframes contact-dot-pulse {
  0%, 50%, 100% { opacity: 0; }
  12% { opacity: .38; }
  0%, 12% { transform: scale(.8); }
  50%, 100% { transform: scale(1.65); }
}
@media (prefers-reduced-motion: reduce) {
  .header-cta .status-dot::after { animation: none; }
}
button:focus-visible, a:focus-visible { outline-color: var(--accent); }
.skip, ::selection { background: #c9ebd3; color: var(--ink); }

.hero {
  background: radial-gradient(ellipse at 78% 39%, #e4f4ef 0%, transparent 60%);
  overflow: clip;
}
.hero::before { display: none; }
.hero-grid {
  position: relative;
  column-gap: clamp(15px, 3vw, 48px);
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
}
.page-home.motion-ready .hero-copy > * { animation: none; }
.hero-role { margin: 0 0 14px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.energy-text { color: var(--live-green); }
@supports (background-clip: text) {
  @media (forced-colors: none) {
    .energy-text {
      background:
        radial-gradient(circle, #ffffff1f 0 .35px, transparent .65px) 0 0 / 3px 4px,
        radial-gradient(circle, #092e3a33 0 .35px, transparent .65px) 1px 2px / 5px 7px,
        linear-gradient(100deg, #166784, var(--live-green) 25%, #746009 50%, var(--live-green) 75%, #166784) 30% 50% / 220% 100%;
      background-clip: text;
      color: transparent;
    }
    @media (prefers-reduced-motion: no-preference) {
      :where(.hero-copy, .reveal.visible) .energy-text {
        animation: energy-text-sweep 7.8s ease-in-out infinite;
      }
    }
  }
}
@keyframes energy-text-sweep {
  0%, 12%, 92%, 100% { background-position: 0 0, 1px 2px, 30% 50%; }
  46%, 58% { background-position: 0 0, 1px 2px, 90% 50%; }
}
.energy-text::selection { color: var(--ink); }
.section-heading::before {
  width: 28px;
  background: var(--energy);
}
.hero h1 { margin-top: 0; letter-spacing: -.04em; }
.hero-headline-line { display: block; }
.hero-positioning {
  margin-top: .22em;
  font-size: .67em;
  letter-spacing: -.04em;
}
.hero-lead { max-width: 48ch; }
.hero-actions { flex-wrap: wrap; }
.primary-btn {
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--energy) border-box;
  border-color: transparent;
  color: var(--ink);
}
.ghost-btn { background: transparent; }
.primary-btn:hover { box-shadow: 0 5px 18px #1f745218; }


.story { min-height: 0; }
.story::after { background: none; }
.story-heading { color: var(--muted); }
.watercolor-scene::before { background: radial-gradient(ellipse, #bbddd247, transparent 70%); }
.story .existing-connection:not(.route-halo):not(.route-edge) { stroke: url("#light-energy-route"); }
.story .existing-connection.route-halo { stroke: url("#light-energy-route"); }
.story .connection-flow path { stroke: #f9ffe9; }
.story-timeline { background: transparent; }
.stage-track { background: #d8e7e0; height: 3px; }
.stage-button { color: var(--quiet); }
.stage-button[aria-current="step"] .stage-name { text-decoration: underline; text-underline-offset: 4px; }
.stage-button .stage-track span { background: var(--stage-color, var(--energy-blue)); }
.stage-button:nth-child(2) { --stage-color: #229eaa; }
.stage-button:nth-child(3) { --stage-color: #31a58f; }
.stage-button:nth-child(4) { --stage-color: var(--energy-green); }
.stage-button:nth-child(5) { --stage-color: #9eae4b; }
.stage-button:nth-child(6) { --stage-color: var(--energy-yellow); }

/* The map's inset controls retain their contrast over the painted territory. */
.story :is(.agent-demo, .potential-chat, .approval-result) {
  --accent: #c5f58a;
  --ink: #f5f7f5;
  color: var(--ink);
}
.story-callout { color: var(--ink); border-image: var(--energy) 1; }
.story-callout p { color: var(--muted); }
.callout-kicker { color: var(--accent); }

.identity { background: transparent; }
.identity-inner { grid-template-columns: minmax(0, 37fr) minmax(0, 63fr); padding-block: 42px; }
.expertise-item { position: relative; }
.expertise-number { display: none; }
.expertise-item::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  background: var(--energy);
  mask: var(--expertise-icon) center / contain no-repeat;
}
.expertise-item:nth-child(1) {
  --expertise-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l13-6 13 6-13 6zM3 16l13 6 13-6M3 21l13 6 13-6'/%3E%3C/svg%3E");
}
.expertise-item:nth-child(2) {
  --expertise-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 22C1 13 7 14 12 8c4-6 11-3 13 3 2 5 8 5 4 11-3 5-10 1-13 4-4 3-9 1-11-4Z'/%3E%3Cpath d='M10 21c-3-4 2-6 5-10 3-3 5-1 6 3 1 2 6 3 4 5-2 3-7 0-10 3-2 2-4 1-5-1Z'/%3E%3C/svg%3E");
}
.expertise-item:nth-child(3) {
  --expertise-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='4' width='16' height='10' rx='2'/%3E%3Cpath d='M12 8h8m-8 3h5m-1 3v4m-9 3v-3h18v3'/%3E%3Crect x='3' y='21' width='8' height='7' rx='1.5'/%3E%3Crect x='21' y='21' width='8' height='7' rx='1.5'/%3E%3C/svg%3E");
}
.expertise-item:nth-child(4) {
  --expertise-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='6' cy='15' r='3'/%3E%3Ccircle cx='19' cy='7' r='3'/%3E%3Ccircle cx='26' cy='24' r='3'/%3E%3Ccircle cx='8' cy='27' r='2'/%3E%3Cpath d='m9 13 7-4m4 1 5 11M9 16l14 7m-16-5 1 7'/%3E%3C/svg%3E");
}
.person p, .expertise-item p { color: var(--muted); }
.person p + p { margin-top: .65em; }
.approach { padding-block: 49px; }
.approach .section-heading { color: var(--quiet); }
.approach-row { grid-template-columns: minmax(0, 230px) minmax(0, 1fr); }
.approach-soft { display: block; filter: blur(.5px); }
@media (prefers-contrast: more), (forced-colors: active) {
  .approach-soft { filter: none; }
}
.principles { background: var(--energy) top / 100% 1px no-repeat; padding-top: 15px; }
.principle-num { border-color: var(--stroke); }
.contact-footer { border-top: 1px solid var(--stroke); background: linear-gradient(105deg, transparent 55%, #e9f5ee 92%, #f7f4d9); }
@media (min-width: 641px) {
  .contact-footer .learning-credential { margin-inline-start: auto; }
}

@media (max-width: 920px) {
  .hero-grid, .identity-inner, .approach-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .site-header { height: 72px; }
  .top-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 23px;
    background: var(--surface);
    border-bottom: 1px solid var(--stroke);
  }
  .top-links.open { display: flex; }
  .top-links a.current::after { bottom: 1px; }
  .hamburger { display: block; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 640px) {
  .header-inner { width: calc(100% - 20px); gap: 6px; }
  .brand-mark { width: 29px; height: 29px; border-radius: 6px; }
  .brand-type { font-size: clamp(15px, 3.7vw, 22px); }
  .hero-role { font-size: 16px; }
  .primary-btn, .ghost-btn { padding-inline: 13px; gap: 7px; }
  .identity-inner, .approach { padding-block: 30px; }
  .principles { background: none; padding-top: 0; }
}
@media (min-width: 371px) and (max-width: 640px) {
  .header-cta .status-dot { display: block; }
}
@media (max-width: 520px) {
  .header-cta { gap: 6px; padding-inline: 8px; }
  .header-cta :is(.header-cta-label, .mini-arrow) { display: none; }
  .header-cta-compact { display: inline; }
}
@media (max-width: 370px) {
  .brand-mark { width: 26px; height: 26px; }
  .brand-suffix { font-size: .9em; }
  .hero h1 { font-size: clamp(32px, 10vw, 38px); }
  .hero-actions :is(.primary-btn, .ghost-btn) { padding-inline: 10px; font-size: 13px; }
}
@media (max-width: 340px) {
  .brand-type { font-size: 13.5px; }
  .brand-suffix { font-size: .86em; }
}
