@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');

:root {
  font-family: 'DM Sans', sans-serif;
  color: #303b30;
  background: #eaece3;
  font-synthesis: none;
  --muted: #71796b;
  --line: #cfd4c6;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, canvas:focus-visible { outline: 2px solid #507342; outline-offset: 5px; }
button { border: 0; background: none; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; text-decoration: none; }
#app { min-height: 100svh; display: flex; flex-direction: column; padding: 0 5%; }
.site-header { height: 104px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 20px; }
.wordmark { display: flex; align-items: center; font-family: 'Manrope', sans-serif; font-size: 32px; font-weight: 800; letter-spacing: -1.5px; }
.wordmark svg { width: 35px; height: 31px; margin-right: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wordmark svg circle { fill: currentColor; stroke: none; }
.wordmark-dot { color: #7e9167; }
.header-note, .eyebrow, .scene-name, .site-footer > span:not(.company) { font-size: 10px; font-weight: 600; letter-spacing: 1.8px; }
.header-note { color: var(--muted); margin-left: 42px; }
.about-link { font-size: 12px; padding: 12px 0 12px 12px; }
.about-link span { margin-left: 15px; font-size: 17px; }
main { flex: 1; display: flex; flex-direction: column; }
.experience { position: relative; flex: 1; min-height: 700px; display: flex; flex-direction: column; }
.hero-copy { position: relative; z-index: 2; padding-top: 57px; pointer-events: none; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #627158; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #7b9366; }
h1 { font-family: 'Manrope', sans-serif; font-weight: 500; font-size: clamp(46px, 4.8vw, 74px); line-height: 1.1; letter-spacing: -3.8px; margin: 22px 0 20px; }
h1 em, h2 em { font-family: Georgia, serif; font-weight: 400; color: #718364; letter-spacing: -3px; }
.hero-copy p { color: var(--muted); font-size: 13px; line-height: 1.9; margin: 0; }
.scene-wrap { position: absolute; inset: 0 0 88px; }
#frog-scene { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#frog-scene:active { cursor: grabbing; }
.scene-name { position: absolute; top: 66px; right: 0; color: var(--muted); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-size: 9px; letter-spacing: 1.4px; pointer-events: none; }
.name-rule { width: 25px; height: 1px; background: #a5ad9a; }
.drag-hint { position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; white-space: nowrap; pointer-events: none; }
.drag-hint svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1; }
.frog-label { position: absolute; right: 0; top: 58%; display: flex; align-items: center; gap: 15px; font-size: 11px; line-height: 1.9; color: var(--muted); pointer-events: none; }
.frog-label strong { font-weight: 400; color: #8b9282; }
.label-line { width: 45px; height: 1px; background: #aeb6a2; position: relative; }
.label-line::before { content: ''; width: 4px; height: 4px; border: 1px solid #aeb6a2; position: absolute; top: -2px; left: -5px; border-radius: 50%; }
.scene-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 26px 0 24px; gap: 20px; z-index: 2; }
.caption { display: flex; gap: 17px; align-items: center; }
.caption-number { font-size: 10px; color: #6e7c60; border: 1px solid #bac4ad; border-radius: 50%; width: 37px; height: 37px; display: grid; place-items: center; }
.caption strong { display: block; font-size: 12px; font-weight: 500; margin-bottom: 5px; }
.caption div > span { font-size: 11px; color: var(--muted); }
.controls { display: flex; align-items: center; gap: 8px; }
.color-controls { display: flex; gap: 1px; }
.color-swatch { width: 34px; height: 40px; position: relative; display: grid; place-items: center; }
.color-swatch::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--swatch); }
.color-swatch.active::after { content: ''; position: absolute; width: 24px; height: 24px; border: 1px solid var(--swatch); border-radius: 50%; }
.control-divider { width: 1px; height: 20px; background: var(--line); margin: 0 10px; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.icon-button:hover { background: #dfe4d5; }
.icon-button svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hop-button { background: #364832; color: #f5f6ef; border-radius: 30px; padding: 14px 21px; font-size: 12px; margin-left: 12px; transition: background .2s, transform .2s; }
.hop-button:hover { background: #52664a; transform: translateY(-2px); }
.hop-button span { margin-left: 20px; font-size: 16px; }
.bottom-note { min-height: 73px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 11px; color: var(--muted); }
.sparkle { font-size: 24px; color: #7c8b6e; }
.site-footer { min-height: 86px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer > span:not(.company) { font-size: 8px; color: var(--muted); letter-spacing: 1.3px; }
.company { font-size: 12px; color: #687260; }
.company strong { color: #384632; font-weight: 650; }
.scene-error { position: absolute; top: 60%; left: 50%; transform: translate(-50%, -50%); max-width: 350px; padding: 22px; background: #f6f5ed; border: 1px solid var(--line); font-size: 14px; line-height: 1.7; text-align: center; }
dialog { width: min(510px, calc(100% - 40px)); border: 1px solid #bfc8b4; padding: 48px; background: #f1f2e9; color: #303b30; }
dialog::backdrop { background: #24312166; backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 10px; right: 14px; font-size: 29px; width: 40px; height: 40px; }
h2 { font-family: 'Manrope', sans-serif; font-weight: 500; font-size: 42px; letter-spacing: -2px; line-height: 1.15; margin: 25px 0; }
h2 em { letter-spacing: -1.8px; }
dialog p { font-size: 14px; line-height: 1.8; color: #69745f; }
.dialog-credit { display: block; font-size: 12px; margin-top: 30px; }
@media (min-width: 1600px) { #app { padding: 0 max(5%, calc((100vw - 1550px) / 2)); } }
@media (max-width: 900px) {
  .header-note { display: none; }
  .experience { min-height: 790px; }
  h1 { font-size: 57px; }
  .frog-label { display: none; }
  .scene-name { top: 54px; }
  .scene-wrap { inset: 150px -4% 100px; }
  .scene-name { display: none; }
}
@media (max-width: 600px) {
  #app { padding: 0 6%; }
  .site-header { height: 80px; gap: 10px; }
  .wordmark { font-size: 26px; }
  .wordmark svg { width: 28px; margin-right: 6px; }
  .about-link { font-size: 10px; }
  .about-link span { margin-left: 6px; }
  .experience { min-height: 780px; }
  .hero-copy { padding-top: 39px; }
  .eyebrow { font-size: 9px; }
  h1 { font-size: clamp(42px, 10.8vw, 60px); letter-spacing: -2.7px; margin: 19px 0 16px; }
  .hero-copy p { font-size: 12px; }
  .scene-wrap { inset: 219px -6% 143px; }
  .scene-bottom { flex-direction: column; align-items: center; gap: 19px; padding: 16px 0 23px; }
  .caption-number { width: 30px; height: 30px; }
  .caption { gap: 12px; }
  .controls { gap: 3px; }
  .control-divider { margin: 0 5px; }
  .hop-button { margin-left: 5px; padding: 13px 17px; }
  .hop-button span { margin-left: 12px; }
  .bottom-note { font-size: 10px; text-align: center; min-height: 68px; gap: 8px; line-height: 1.7; }
  .sparkle { flex-shrink: 0; }
  .site-footer { min-height: 93px; flex-wrap: wrap; justify-content: center; gap: 11px 22px; padding: 20px 0; }
  .site-footer .company { order: -1; width: 100%; text-align: center; }
  .site-footer > span:not(.company) { font-size: 7px; }
  dialog { padding: 36px 25px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
