@charset "utf-8";

:root {
  color-scheme: light;
  --paper: #f6f6ed;
  --ink: #152821;
  --forest: #183b32;
  --green: #285b46;
  --muted: #495e53;
  --line: #d6ded0;
  --lime: #ddf88b;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "Consolas", "Courier New", monospace;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #548517; outline-offset: 5px; }
html { scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.wrap { width: min(1180px, calc(100% - 88px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: 12px; z-index: 5; transform: translateY(-160%); padding: 12px; background: white; }
.skip-link:focus { transform: none; }

.masthead { min-height: 85px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.brand { justify-self: start; width: fit-content; }
.masthead-logo { width: clamp(80px, 8.3vw, 104px); margin-left: -6px; mix-blend-mode: multiply; }
nav { display: flex; gap: clamp(16px, 2.8vw, 40px); }
nav a, .footer-content > a:last-child { text-decoration: none; font-weight: 700; font-size: .9rem; }
nav a:hover, .footer-content > a:last-child:hover { text-decoration: underline; text-underline-offset: .25em; }

.hero { display: grid; grid-template-columns: 1fr .98fr; align-items: center; gap: clamp(30px, 5.5vw, 86px); padding-block: 49px 35px; }
.eyebrow { font: 700 .75rem/1.55 var(--mono); letter-spacing: .095em; text-transform: uppercase; }
.hero-copy .eyebrow { color: var(--green); }
h1 { margin-top: 20px; font-size: clamp(3.5rem, 7.35vw, 7rem); font-weight: 800; line-height: .9; letter-spacing: -.068em; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; color: var(--green); }
h1 em { font-size: .98em; letter-spacing: -.065em; }
.hero-tagline { margin-top: 22px; color: var(--green); font-size: clamp(1.15rem, 2.1vw, 1.5rem); font-weight: 700; }
.hero-description, .section-intro > p { color: var(--muted); font-size: 1.08rem; line-height: 1.65; max-width: 38ch; }
.hero-description { margin-block: 9px 24px; max-width: 47ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero-actions .text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.button { display: inline-flex; align-items: center; gap: 22px; min-height: 46px; padding: 10px 16px; border-radius: 8px; background: var(--forest); color: white; text-decoration: none; font-weight: 700; font-size: .9rem; }
.button:hover { background: #275446; }
.button span { font-size: 1rem; }

.mascot-stage { position: relative; min-width: 0; aspect-ratio: 1.27; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #deecd9 url("assets/grongo-meadow.png") center bottom / cover no-repeat; color: var(--forest); }
.mascot-spinner { position: absolute; z-index: 1; inset: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; color: inherit; cursor: grab; touch-action: pan-y pinch-zoom; user-select: none; }
.mascot-spinner:active { cursor: grabbing; }
.mascot-spinner:focus-visible { outline: 2px dashed var(--forest); outline-offset: -5px; }
.mascot {
  position: absolute;
  left: 16%;
  top: 12%;
  width: 68%;
  height: 72%;
  object-fit: contain;
  pointer-events: none;
  filter: hue-rotate(var(--dizzy-hue, 0deg)) drop-shadow(0 10px 13px #274f3860) drop-shadow(0 0 13px var(--dizzy-glow, transparent));
}
.mascot-stage:has(.grongo-dialogue.is-visible) .mascot { scale: .79; translate: 0 -9%; }
.grongo-dialogue {
  position: absolute;
  z-index: 2;
  inset: auto 6% 16%;
  padding: 8px 12px;
  border: 1px solid #f6f6ed;
  background: #142820f5;
  color: #fff;
  font: 600 clamp(.68rem, 1.12vw, .9rem)/1.45 var(--mono);
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
}
.grongo-dialogue.is-visible { opacity: 1; transform: none; }
.grongo-dialogue-title { color: #e8cafb; }
.grongo-dialogue-text { white-space: pre-line; }
.grongo-dialogue-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (prefers-reduced-motion: no-preference) {
  .mascot { transition: filter .6s ease, scale .22s ease, translate .22s ease; }
  .grongo-dialogue { transition: opacity .22s ease, transform .22s ease; }
  .mascot.is-wobbling { animation: grongo-wobble .48s ease-in-out; }
  @keyframes grongo-wobble {
    30% { transform: rotate(var(--dizzy-wobble)); }
    70% { transform: rotate(calc(-.55 * var(--dizzy-wobble))); }
  }
}
.stage-top, .stage-bottom { display: flex; justify-content: space-between; gap: 12px; position: absolute; left: 5%; right: 5%; font: 700 clamp(.58rem, 1vw, .72rem)/1.3 var(--mono); letter-spacing: .09em; }
.stage-top { top: 6%; z-index: 2; pointer-events: none; }
.stage-bottom { bottom: 5%; align-items: center; }
#flip-tally { display: inline-flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 6px; background: #f6f6edea; text-align: left; }
#flip-count { font-size: 1.15em; font-variant-numeric: tabular-nums; }
.spin-control { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font: 800 clamp(.72rem, 1.3vw, .9rem)/1.3 "Segoe UI", Arial, sans-serif; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.spin-control > span { font-size: 1.25em; }
.mascot-spinner:hover .spin-control, .mascot-spinner:focus-visible .spin-control { background: #ecffa9; }

.section { padding-block: 86px; }
.section-label { color: var(--green); margin-bottom: 13px; }
h2 { font-size: clamp(2.8rem, 6.6vw, 5.7rem); line-height: .95; font-weight: 800; letter-spacing: -.065em; }
h2 em { letter-spacing: -.055em; }
.project { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px, 5vw, 78px); align-items: center; margin-top: 31px; background: var(--forest); color: #f5f9ed; padding: clamp(25px, 4.2vw, 59px); border-radius: 20px; }
.project-label { color: var(--lime); }
.project-copy > h3 { margin-top: 12px; max-width: 15ch; font-size: clamp(1.8rem, 3.7vw, 3.3rem); line-height: 1; letter-spacing: -.055em; }
.project-copy > p:not(.eyebrow) { line-height: 1.65; color: #d9e6dc; margin-block: 17px 20px; }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: #ecffa9; }
.project-preview { min-width: 0; }
.preview-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: #102a23; border-radius: 8px 8px 0 0; padding: 9px 12px; color: #e1ebdb; font: .7rem var(--mono); }
.preview-bar > span:first-child { color: #b2d77f; }
.preview-domain { display: flex; align-items: center; gap: 7px; }
.project-art { position: relative; overflow: hidden; aspect-ratio: 1.65; border-radius: 0 0 8px 8px; background: radial-gradient(ellipse at center, #f5f8e6, #c6ddc6); }
.project-art > img { position: absolute; inset: 0; width: 100%; height: calc(100% - 28px); object-fit: contain; filter: drop-shadow(0 10px 13px #17473440); }
.project-preview figcaption { margin-top: 8px; color: #d9e6dc; font-size: .78rem; }

.capabilities { border-top: 1px solid var(--line); }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.capability { display: flex; flex-direction: column; align-items: stretch; padding: clamp(18px, 3vw, 30px); background: #fbfbf5; border: 1px solid var(--line); border-radius: 16px; }
.capability > .eyebrow { color: var(--green); }
.capability h3 { margin-top: 6px; font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.045em; }
.capability > p:not(.eyebrow) { margin-block: 8px 18px; max-width: 47ch; color: var(--muted); line-height: 1.55; }
.capability-preview { min-height: 140px; margin-top: auto; padding: 14px 16px; border-radius: 10px; background: #e9efdf; color: var(--forest); }
.ranking-preview > div { display: grid; grid-template-columns: 2.5ch 1fr auto; align-items: center; gap: 10px; padding-block: 4px; border-top: 1px solid #cbd9c6; font-size: .84rem; }
.ranking-preview > .eyebrow { display: block; margin-bottom: 4px; }
.ranking-preview > div span:first-child { font-family: var(--mono); }
.agent-preview small { display: block; color: var(--muted); }
.agent-preview p { width: fit-content; margin: 13px 0 0 auto; padding: 7px 11px; border-radius: 9px 9px 2px 9px; background: var(--forest); color: #f5f9ed; font-size: .86rem; }
.map-preview { position: relative; overflow: hidden; background: #e2ebda; }
.map-preview svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.support-preview { display: grid; align-content: center; gap: 10px; }
.support-preview > div { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.support-preview strong { padding: 6px 9px; border: 1px solid #cbd9c6; border-radius: 6px; background: #fbfbf5; font-size: .8rem; }

.awards-section { background: #e9efdf; border-block: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 1fr .6fr; align-items: end; gap: 25px; }
.section-intro > p { margin-bottom: 3px; }
.awards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; margin-block: 32px 20px; }
.award { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.award img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.award figcaption { display: grid; gap: 4px; padding: 16px 18px 18px; }
.award figcaption .eyebrow { color: var(--green); }
.award figcaption strong { font-size: clamp(1.12rem, 2.35vw, 1.7rem); letter-spacing: -.035em; }
.award-credit { color: var(--green); font-size: .85rem; font-weight: 700; }
.text-link { font-size: .93rem; font-weight: 700; text-underline-offset: .22em; }
.text-link:hover { color: var(--green); }

.team-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; align-items: end; padding-block-end: 54px; }
.team-section > :first-child, .team-origin { grid-column: 1 / -1; }
.team-origin { position: relative; }
.origin-window { position: relative; aspect-ratio: 6; overflow: hidden; }
.origin-art { position: absolute; top: 50%; width: 100%; transform: translateY(-50%); }
.origin-caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.team-portraits { display: grid; grid-template-rows: 1fr auto; align-self: stretch; }
.team-portraits::before { content: ""; margin: -60px 0 12px; pointer-events: none; background: url("assets/origin-branch.svg") center / 100% 100% no-repeat; }
.team-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.team-photos, .team-roster { position: relative; }
.team-photos::before, .team-roster::before { content: ""; position: absolute; z-index: 1; pointer-events: none; inset: -28px -23px -34px; background: var(--team-vine) center / 100% 100% no-repeat; }
.team-photos::before { --team-vine: url("assets/portrait-vine.svg"); }
.team-roster { align-self: end; }
.team-roster::before { --team-vine: url("assets/roster-vine.svg"); inset-block-start: -40px; }
.team-roster::after { content: ""; position: absolute; z-index: 1; pointer-events: none; left: -102px; bottom: -42px; width: 144px; height: 72px; background: url("assets/vine-join.svg") center / 100% 100% no-repeat; }
.team-photo { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #e9efdf; text-decoration: none; }
.team-photo > span { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 8px; padding: 10px 13px; background: #e9efdf; font-size: .9rem; font-weight: 700; }
.team-photo:hover > span { text-decoration: underline; text-underline-offset: .2em; }
.roster-title { margin-bottom: 12px; color: var(--green); font: italic 400 clamp(1.8rem, 3vw, 2.5rem)/1.1 var(--serif); letter-spacing: -.035em; }
.roster { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.roster li { display: flex; gap: 4px; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: clamp(1.05rem, 2.1vw, 1.5rem); font-weight: 700; letter-spacing: -.025em; }
.profile-arrow { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--forest); font-size: 1.15rem; text-decoration: none; }
.roster-member { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.roster-role { color: #4c705c; font-size: .88rem; font-weight: 600; letter-spacing: 0; }
a.profile-arrow:hover { background: #e9efdf; }
span.profile-arrow { opacity: .42; }
.footer { background: var(--forest); color: #f5f9ed; }
.footer::before {
  content: "";
  display: block;
  height: clamp(76px, 8vw, 112px);
  background: var(--paper) url("assets/footer-garden.svg") center bottom / auto 100% repeat-x;
}
.footer-content { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 96px; padding-block: 8px; }
.footer-logo { width: 104px; border-radius: 8px; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 10px;
  color: #f5f9ed;
  font-size: clamp(.9rem, 1.5vw, 1.125rem);
  text-align: center;
}
.footer-apple {
  position: relative;
  display: block;
  width: clamp(150px, 24vw, 172px);
  max-width: 100%;
  border-radius: 16px;
  color: #fff0a1;
  text-decoration: none;
}
.footer-apple strong {
  position: absolute;
  top: 58%;
  left: 61%;
  transform: translate(-50%, -50%);
  font-size: .85rem;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.footer-apple:hover { color: #fff8d2; filter: brightness(1.07); }
.footer-apple:focus-visible { outline-color: #ffd66d; }
.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  justify-self: end;
  white-space: nowrap;
}
.footer-top:focus-visible { outline-color: #ffd66d; }
.footer-bee { position: relative; display: block; width: 26px; height: 22px; }
.footer-bee-flight { position: absolute; inset: 0; }
.footer-bee-pollen { display: none; }

.footer-bee-note {
  position: fixed;
  z-index: 11;
  top: clamp(8px, calc(var(--bee-top, 0px) - 44px), calc(100dvh - 56px));
  right: clamp(8px, calc(100vw - var(--bee-left, 0px) - 26px), calc(100vw - 13rem));
  max-width: min(12rem, calc(100vw - 16px));
  padding: 5px 9px;
  border: 1px solid #d4a755;
  border-radius: 8px;
  background: #224536;
  color: #fff0cf;
  font-size: .75rem;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
}
.footer-bee-note.is-visible { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .footer-bee-note { transition: opacity .25s ease; }
  .footer-bee-art { animation: footer-bee-float 2.8s ease-in-out infinite; }
  .footer-bee-wing {
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: footer-bee-flutter 1.4s ease-in-out infinite;
  }
  .footer-top:focus-visible .footer-bee-art { rotate: -18deg; }
  .footer-top:focus-visible .footer-bee-wing { animation-duration: .32s; }
  .footer-top.is-flying .footer-bee-flight {
    position: fixed;
    z-index: 10;
    inset: var(--bee-top) auto auto var(--bee-left);
    width: 26px;
    height: 22px;
    pointer-events: none;
    animation: footer-bee-takeoff .95s ease-in both;
  }
  .footer-top.is-flying .footer-bee-art { animation: none; rotate: -40deg; }
  .footer-top.is-flying .footer-bee-wing { animation-duration: .18s; }
  .footer-top.is-flying .footer-bee-pollen {
    position: absolute;
    top: 20px;
    left: 9px;
    display: grid;
    gap: 5px;
    transform-origin: top;
    animation: footer-bee-trail .95s ease-out both;
  }
  .footer-bee-pollen i { width: 3px; height: 3px; border-radius: 50%; background: #f6ce70; }
  .footer-bee-pollen i:nth-child(even) { margin-left: 4px; opacity: .75; }
  .footer-bee-pollen i:nth-last-child(-n + 2) { opacity: .45; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .footer-top:hover .footer-bee-art { rotate: -18deg; }
  .footer-top:hover .footer-bee-wing { animation-duration: .32s; }
  .footer-top.is-flying:hover .footer-bee-art { rotate: -40deg; }
  .footer-top.is-flying:hover .footer-bee-wing { animation-duration: .18s; }
}
@keyframes footer-bee-float {
  50% { transform: translateY(-3px); }
}
@keyframes footer-bee-flutter {
  50% { transform: scaleY(.65) rotate(-7deg); }
}
@keyframes footer-bee-takeoff {
  28% { transform: translate(-9px, -22px); }
  76% { opacity: 1; }
  100% { transform: translate(-24px, -45vh); opacity: 0; }
}
@keyframes footer-bee-trail {
  from { transform: scaleY(.25); opacity: 0; }
  65% { transform: scaleY(1.6); opacity: .85; }
  to { transform: scaleY(2); opacity: 0; }
}

@media (max-width: 920px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 28px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { grid-template-columns: 1fr; gap: 3px; padding-block: 10px 5px; }
  .masthead nav { flex-wrap: wrap; gap: 0 clamp(12px, 4vw, 24px); }
  .masthead nav a { display: inline-flex; align-items: center; min-height: 36px; }
  .hero, .project, .capability-grid, .section-intro, .team-section { grid-template-columns: 1fr; }
  .hero { padding-block: 34px 21px; gap: 25px; }
  h1 { font-size: clamp(2.8rem, 13.5vw, 5.8rem); margin-top: 16px; }
  .hero-tagline { margin-top: 16px; }
  .hero-description { margin-bottom: 18px; }
  .mascot-stage { border-radius: 15px; }
  .section { padding-block: 58px; }
  .section-intro { gap: 15px; }
  .awards-grid { gap: 14px; margin-top: 24px; }
  .award figcaption { padding: 12px; }
  .award figcaption .eyebrow { font-size: .64rem; }
  .team-section { gap: 42px; padding-block-end: 52px; }
  .team-origin { margin-top: -20px; }
  .origin-window { width: min(52%, 210px); aspect-ratio: 2.55; }
  .origin-art { width: 325%; max-width: none; }
  .origin-caption { position: static; width: auto; height: auto; margin-top: 3px; overflow: visible; clip-path: none; color: var(--green); font: italic 1.14rem/1.35 var(--serif); }
  .team-portraits { display: block; }
  .team-portraits::before { content: none; }
  .team-roster { margin-top: 16px; }
  .team-photos::before, .team-roster::before { inset-inline: -15px; }
  .team-roster::after { left: 12%; top: -72px; bottom: auto; transform: rotate(15deg); }
  .footer-content { grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding-block: 10px; }
  .footer-contact { grid-row: 1 / span 2; grid-column: 2; flex-direction: column; gap: 5px; }
  .footer-content > a:last-child { grid-row: 2; grid-column: 1; justify-self: center; }
}
@media (max-width: 460px) {
  .masthead nav { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 0 8px; }
}
@media (max-width: 415px) {
  .awards-grid { grid-template-columns: 1fr; }
}
