:root {
  --green: #1a7c3e;
  --green-dark: #0d4c29;
  --green-deep: #082f1b;
  --green-light: #f0faf4;
  --paper: #fbfcf8;
  --canvas: #dfe8e1;
  --ink: #10251a;
  --muted: #637167;
  --line: #ced9d1;
  --white: #ffffff;
  --orange: #f06e45;
  --sand: #e7d7aa;
  --name-font: "Manrope", sans-serif;
  --body-font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --story-time: 15s;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-dark);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(1480px, calc(100% - 40px));
  margin: 20px auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 20px 60px rgb(13 76 41 / 10%);
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  padding: 0 5.5%;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: 92px;
}

.brand img {
  width: 100%;
  height: auto;
}

.header-id {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--name-font);
  white-space: nowrap;
}

.header-id strong {
  font-size: 13px;
  font-weight: 700;
}

.header-id span {
  color: var(--muted);
  font-size: 11px;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
}

.header-actions a,
.mail-link,
.contact-links a {
  text-decoration: none;
}

.header-contact {
  display: none;
}

.share-button {
  min-width: 64px;
  min-height: 40px;
  padding: 8px 16px;
  color: var(--white);
  background: var(--green-dark);
  border: 1px solid var(--green-dark);
  border-radius: 10px;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 720px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7vw clamp(40px, 7vw, 104px);
}

.role {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--muted);
  font-family: var(--name-font);
  font-size: 13px;
  font-weight: 600;
}

.role span {
  color: var(--green);
  font-weight: 700;
}

.role span::after {
  content: "/";
  margin-left: 10px;
  color: #a6b3aa;
}

h1 {
  margin: 0;
  font-family: var(--name-font);
  font-size: clamp(76px, 8.05vw, 116px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.hero-identity {
  margin: 42px 0 0;
  color: var(--green);
  font-family: var(--name-font);
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 21px;
  color: var(--white);
  background: var(--green);
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}

.mail-link {
  color: var(--green-dark);
  border-bottom: 1px solid currentColor;
  font-family: var(--name-font);
  font-size: 13px;
  font-weight: 600;
}

.story-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 76px;
  min-width: 0;
  color: var(--white);
  background: var(--green-dark);
}

.story-stage {
  --match-pole-x: 47.58%;
  --match-ball-x: 51.42%;
  --match-ground-y: 51.4%;
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background-color: var(--green-dark);
  isolation: isolate;
}

.story-stage::before,
.story-stage::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 50%;
}

.story-stage::before {
  width: 620px;
  height: 620px;
  top: -280px;
  right: -290px;
}

.story-stage::after {
  width: 420px;
  height: 420px;
  bottom: -280px;
  left: -180px;
}

.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.scene-idea {
  opacity: 1;
}

.story-card.is-playing .scene-idea {
  animation: scene-idea var(--story-time) both;
}

.story-card.is-playing .scene-network {
  animation: scene-network var(--story-time) both;
}

.story-card.is-playing .scene-tee {
  animation: scene-tee var(--story-time) both;
}

.story-card.is-playing .scene-green {
  animation: scene-green var(--story-time) both;
}

/* Scene 1 — the idea */
.person {
  position: absolute;
  bottom: 10%;
  left: 13%;
  width: 220px;
  height: 410px;
}

.person-head {
  position: absolute;
  top: 0;
  left: 50%;
  width: 112px;
  height: 124px;
  background: #dceadf;
  border-radius: 48% 52% 46% 54%;
  transform: translateX(-50%) rotate(-4deg);
}

.person-head::before {
  position: absolute;
  inset: -10px 8px 70px -4px;
  content: "";
  background: var(--green-deep);
  border-radius: 60% 44% 35% 40%;
}

.person-head::after {
  position: absolute;
  top: 55px;
  right: 16px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--green-deep);
  border-radius: 50%;
  box-shadow: 23px 26px 0 -2px var(--green-deep);
}

.person-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 290px;
  background: #226d42;
  border-radius: 96px 96px 0 0;
}

.person-body::before {
  position: absolute;
  top: 105px;
  right: -62px;
  width: 140px;
  height: 42px;
  content: "";
  background: #dceadf;
  border-radius: 30px;
  transform: rotate(-27deg);
  transform-origin: left center;
}

.thought {
  position: absolute;
  background: rgb(255 255 255 / 92%);
  border-radius: 50%;
}

.thought-one {
  top: 29%;
  left: 37%;
  width: 12px;
  height: 12px;
}

.thought-two {
  top: 22%;
  left: 41%;
  width: 22px;
  height: 22px;
}

.thought-main {
  position: absolute;
  top: 7.63%;
  left: 46%;
  display: grid;
  width: 150px;
  height: 112px;
  place-items: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 14px 36px rgb(2 28 15 / 18%);
}

.thought-ball,
.network-ball,
.gather-ball,
.tee-ball,
.landing-ball {
  width: 30px;
  height: 30px;
  background-color: var(--white);
  background-image: radial-gradient(circle at 35% 35%, #cbd4ce 0 1px, transparent 1.6px);
  background-size: 7px 7px;
  border: 1px solid #c7d2cb;
  border-radius: 50%;
  box-shadow: 0 5px 12px rgb(0 0 0 / 20%);
}

.idea-copy {
  position: absolute;
  right: 8%;
  bottom: 18%;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--white);
  border-radius: 16px 16px 4px 16px;
  font-size: 15px;
  font-weight: 600;
}

.story-card.is-playing .thought-main {
  animation: thought-pop var(--story-time) both;
}

.story-card.is-playing .idea-copy {
  animation: idea-copy var(--story-time) both;
}

/* Scene 2 — Golah connects the group */
.network-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.network-lines path {
  fill: none;
  stroke: rgb(168 219 183 / 46%);
  stroke-dasharray: 10 10;
  stroke-width: 2;
}

.phone {
  position: absolute;
  top: 25%;
  left: 50%;
  z-index: 3;
  width: 180px;
  height: 310px;
  padding: 12px;
  color: var(--ink);
  background: #f8fbf8;
  border: 7px solid #092c1a;
  border-radius: 28px;
  box-shadow: 0 24px 54px rgb(0 0 0 / 28%);
  transform: translateX(-50%) rotate(-3deg);
}

.phone::before {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 50px;
  height: 5px;
  content: "";
  background: #092c1a;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dce6df;
  font-family: var(--name-font);
  font-size: 13px;
  font-weight: 700;
}

.phone-bar img,
.mini-message img {
  width: 18px;
  height: 18px;
}

.phone-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 12px;
  background: var(--white);
  border: 1px solid #dce6df;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgb(13 76 41 / 8%);
}

.phone-card strong {
  font-size: 12px;
}

.phone-card span {
  color: var(--muted);
  font-size: 10px;
}

.phone-card b {
  margin-top: 8px;
  padding: 8px 6px;
  color: var(--white);
  background: var(--green);
  border-radius: 9px;
  font-size: 11px;
  text-align: center;
}

.phone-hand {
  position: absolute;
  z-index: 2;
  bottom: -28px;
  left: calc(50% + 42px);
  width: 130px;
  height: 250px;
  background: #dceadf;
  border-radius: 70px 70px 0 0;
  transform: rotate(12deg);
}

.network-ball {
  position: absolute;
  z-index: 2;
}

.ball-north {
  top: 10%;
  left: calc(50% - 15px);
}

.ball-ne {
  top: 18%;
  right: 10%;
}

.ball-se {
  right: 8%;
  bottom: 14%;
}

.ball-sw {
  bottom: 14%;
  left: 9%;
}

.ball-nw {
  top: 21%;
  left: 10%;
}

.mini-message {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 210px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--white);
  border-radius: 13px 13px 13px 4px;
  box-shadow: 0 10px 24px rgb(0 0 0 / 18%);
  font-size: 11px;
  font-weight: 600;
}

.message-one {
  top: 12%;
  left: 6%;
}

.message-two {
  top: 17%;
  right: 5%;
}

.message-three {
  right: 7%;
  bottom: 12%;
}

.story-card.is-playing .network-lines {
  animation: network-draw var(--story-time) both;
}

.story-card.is-playing .phone,
.story-card.is-playing .phone-hand {
  animation: phone-arrive var(--story-time) both;
}

.story-card.is-playing .network-ball {
  animation: ball-spread var(--story-time) both;
}

.story-card.is-playing .message-one {
  animation: message-one var(--story-time) both;
}

.story-card.is-playing .message-two {
  animation: message-two var(--story-time) both;
}

.story-card.is-playing .message-three {
  animation: message-three var(--story-time) both;
}

/* Scene 3 — everyone meets at the tee */
.tee-horizon {
  position: absolute;
  inset: 0;
  background: #9bc3a8;
  clip-path: polygon(0 0, 100% 0, 100% 42%, 75% 39%, 55% 43%, 31% 38%, 0 43%);
}

.tee-horizon::after {
  position: absolute;
  top: 25%;
  left: -5%;
  width: 110%;
  height: 19%;
  content: "";
  background: #115831;
  clip-path: polygon(0 66%, 8% 18%, 15% 61%, 23% 9%, 31% 65%, 41% 22%, 50% 64%, 60% 12%, 70% 62%, 81% 20%, 90% 67%, 100% 10%, 100% 100%, 0 100%);
}

.tee-ground {
  position: absolute;
  inset: 39% 0 0;
  background: #1d7342;
}

.tee-ground::before {
  display: none;
}

.fairway-view {
  position: absolute;
  top: 36%;
  left: 4%;
  z-index: 1;
  width: 92%;
  height: 72%;
  overflow: hidden;
  background: #4ca069;
  clip-path: polygon(47% 0, 57% 0, 95% 100%, 4% 100%);
}

.fairway-view::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgb(255 255 255 / 6%);
  clip-path: polygon(50% 0, 54% 0, 69% 100%, 35% 100%);
}

.fairway-stripe {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18%;
  background: rgb(9 76 41 / 8%);
  transform: skewX(16deg);
}

.stripe-one {
  left: 24%;
}

.stripe-two {
  right: 22%;
}

.distant-green {
  position: absolute;
  top: 34.5%;
  left: 50.5%;
  z-index: 2;
  width: clamp(96px, 18vw, 136px);
  height: 48px;
  background: #7cbb90;
  border: 2px solid rgb(226 244 231 / 42%);
  border-radius: 50%;
  transform: translateX(-50%) rotate(-3deg);
}

.distant-stick {
  position: absolute;
  bottom: 20px;
  left: 57%;
  width: 2px;
  height: 58px;
  background: var(--white);
}

.distant-flag {
  position: absolute;
  bottom: 61px;
  left: 57%;
  width: 25px;
  height: 15px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.course-bunker {
  position: absolute;
  z-index: 2;
  height: 19px;
  background: var(--sand);
  border-radius: 50%;
}

.bunker-left {
  top: 51%;
  left: 34%;
  width: 54px;
  transform: rotate(-12deg);
}

.bunker-right {
  top: 61%;
  right: 24%;
  width: 70px;
  transform: rotate(11deg);
}

.tee-box {
  position: absolute;
  bottom: -3%;
  left: 4%;
  z-index: 2;
  width: 42%;
  height: 38%;
  background: #55a570;
  border-radius: 50% 50% 0 0;
  box-shadow: inset 0 18px 0 rgb(255 255 255 / 4%);
}

.tee-marker {
  position: absolute;
  bottom: 18.5%;
  z-index: 3;
  width: 24px;
  height: 20px;
  background: var(--sand);
  border-radius: 50% 50% 30% 30%;
}

.marker-left {
  left: 14%;
}

.marker-right {
  left: 33%;
}

.attendance {
  position: absolute;
  top: 7%;
  right: 7%;
  z-index: 3;
  padding: 10px 14px;
  background: rgb(8 47 27 / 82%);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.gather-ball {
  position: absolute;
  z-index: 4;
  width: 24px;
  height: 24px;
}

.gather-one {
  top: 19%;
  left: 15%;
}

.gather-two {
  top: 15%;
  right: 18%;
}

.gather-three {
  right: 12%;
  bottom: 27%;
}

.gather-four {
  bottom: 18%;
  left: 45%;
}

.golf-tee {
  position: absolute;
  z-index: 4;
  bottom: 15%;
  left: calc(23.7% - 2px);
  width: 4px;
  height: 28px;
  background: var(--sand);
  clip-path: polygon(0 0, 100% 0, 65% 100%, 35% 100%);
}

.swing-club {
  --club-length: clamp(156px, 14.3vw, 206px);
  --club-reach-x: clamp(66px, 6.05vw, 87px);
  --club-reach-y: clamp(141px, 13vw, 187px);
  position: absolute;
  top: calc(78.3% - var(--club-reach-y));
  left: calc(23.7% - var(--club-reach-x) - 42px);
  z-index: 5;
  width: 4px;
  height: var(--club-length);
  opacity: 0;
  transform: rotate(30deg);
  transform-origin: 2px 0;
  will-change: transform, opacity;
}

.club-grip,
.club-shaft,
.club-head {
  position: absolute;
  display: block;
}

.club-grip {
  top: 0;
  left: 0;
  z-index: 2;
  width: 5px;
  height: 34px;
  background: #183426;
  border-radius: 999px;
  box-shadow: inset 1px 0 rgb(255 255 255 / 18%);
}

.club-shaft {
  top: 26px;
  bottom: 0;
  left: 1px;
  width: 2px;
  background: linear-gradient(90deg, #aab8b0, #f3f7f4 55%, #8d9d94);
  border-radius: 999px;
}

.club-head {
  bottom: -8px;
  left: -1px;
  width: 28px;
  height: 16px;
  background: #c7d1cb;
  border-radius: 2px 5px 4px 2px;
  box-shadow: inset -4px 0 rgb(83 101 91 / 20%), 0 3px 7px rgb(2 28 15 / 20%);
  clip-path: polygon(10% 0, 100% 24%, 86% 100%, 0 80%);
  transform: rotate(25deg);
  transform-origin: 3px 50%;
}

.impact-mark {
  position: absolute;
  top: 78.3%;
  left: 23.7%;
  z-index: 5;
  width: 42px;
  height: 42px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.2);
  will-change: transform, opacity;
}

.impact-mark::before,
.impact-mark::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent 0 8%, var(--orange) 8% 20%, transparent 20% 80%, var(--orange) 80% 92%, transparent 92%);
  transform: translate(-50%, -50%) rotate(32deg);
}

.impact-mark::after {
  transform: translate(-50%, -50%) rotate(-32deg);
}

.tee-ball {
  position: absolute;
  z-index: 5;
  top: 76%;
  left: 21.5%;
}

.shot-trail {
  position: absolute;
  z-index: 4;
  top: 31%;
  left: 26%;
  width: 55%;
  height: 42%;
  border-top: 2px solid rgb(255 255 255 / 75%);
  border-radius: 60% 50% 0 0;
  opacity: 0;
  transform: rotate(-18deg);
}

.story-card.is-playing .gather-one {
  animation: gather-one var(--story-time) both;
}

.story-card.is-playing .gather-two {
  animation: gather-two var(--story-time) both;
}

.story-card.is-playing .gather-three {
  animation: gather-three var(--story-time) both;
}

.story-card.is-playing .gather-four {
  animation: gather-four var(--story-time) both;
}

.story-card.is-playing .swing-club {
  animation: club-swing var(--story-time) linear both;
}

.story-card.is-playing .impact-mark {
  animation: club-impact var(--story-time) linear both;
}

.story-card.is-playing .golf-tee {
  animation: tee-impact var(--story-time) linear both;
}

.story-card.is-playing .tee-ball {
  animation: tee-shot var(--story-time) cubic-bezier(.27, .03, .36, 1) both;
}

.story-card.is-playing .shot-trail {
  animation: shot-trail var(--story-time) both;
}

/* Scene 4 — ball becomes the official Golah mark */
.green-contour {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 50%;
}

.scene-green {
  overflow: hidden;
  transform-origin: 67% 63%;
  will-change: transform, opacity;
}

.contour-one {
  inset: 9% 10% 8%;
  transform: rotate(-12deg);
}

.contour-two {
  inset: 18% 2% 14% 19%;
  transform: rotate(9deg);
}

.green-fringe {
  position: absolute;
  top: 14%;
  left: 8%;
  z-index: 1;
  width: 74%;
  height: 70%;
  background: #3b8958;
  border-radius: 51% 49% 47% 53% / 45% 53% 47% 55%;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%);
  transform: rotate(-5deg);
}

.putting-green {
  position: absolute;
  top: 18%;
  left: 12%;
  z-index: 2;
  width: 64%;
  height: 62%;
  overflow: hidden;
  background: #7fbd93;
  border-radius: 52% 48% 46% 54% / 44% 54% 46% 56%;
  box-shadow: inset -34px -28px 0 rgb(21 95 53 / 8%), inset 22px 18px 0 rgb(255 255 255 / 5%);
  transform: rotate(-5deg);
}

.putting-green::before {
  position: absolute;
  inset: 8%;
  content: "";
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: inherit;
}

.mow-ring {
  position: absolute;
  border: 1px solid rgb(14 82 44 / 10%);
  border-radius: 50%;
}

.mow-ring-one {
  inset: 21% 13%;
}

.mow-ring-two {
  inset: 35% 27%;
}

.green-bunker {
  position: absolute;
  top: 66%;
  left: 81%;
  z-index: 2;
  width: 18%;
  height: 12%;
  background: #e8d6a5;
  border: 5px solid #2f7a4d;
  border-radius: 50% 46% 53% 47%;
  box-shadow: inset 10px 7px 0 rgb(255 255 255 / 14%);
  transform: rotate(-12deg);
}

.final-flag {
  --match-pole-height: clamp(62px, 6.8vw, 98px);
  --match-flag-width: clamp(42px, 4.6vw, 66px);
  --match-flag-height: clamp(23px, 2.45vw, 35px);
  position: absolute;
  top: 29%;
  left: 64%;
  z-index: 7;
  width: 100px;
  height: 250px;
  opacity: 0;
  pointer-events: none;
  will-change: top, left, opacity;
}

.final-flag::before {
  position: absolute;
  top: -4px;
  left: 8px;
  z-index: 2;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--white);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.4);
}

.flag-stick {
  position: absolute;
  top: 0;
  left: 12px;
  width: 4px;
  height: 220px;
  background: var(--white);
  transform-origin: center bottom;
}

.flag-cloth {
  position: absolute;
  top: 0;
  left: 16px;
  width: 70px;
  height: 42px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 32%, 0 100%);
  transform-origin: left top;
}

.flag-hole {
  position: absolute;
  top: 214px;
  left: 2px;
  width: 24px;
  height: 9px;
  background: #143f28;
  border-radius: 50%;
}

.landing-ball {
  position: absolute;
  z-index: 5;
  top: 9%;
  left: 15%;
}

.brand-reveal {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
}

.brand-reveal::before {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--green-dark);
  opacity: 0;
  will-change: opacity;
}

.brand-reveal img {
  position: absolute;
  z-index: 1;
  width: min(68%, 430px);
  height: auto;
  opacity: 0;
}

.brand-mark {
  clip-path: inset(0 0 40% 0);
}

.story-card.is-playing .landing-ball {
  animation: ball-land var(--story-time) cubic-bezier(.2, .55, .25, 1) both;
}

.story-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 5%;
  border-top: 1px solid rgb(255 255 255 / 18%);
  background: var(--green-dark);
}

.story-stats {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  min-width: 0;
  font-size: 13px;
}

.story-stats strong {
  color: #b9ebc6;
  font-family: var(--name-font);
  font-size: 19px;
}

.live-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: #7fe19b;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgb(127 225 155 / 12%);
}

.stats-ready-copy,
.story-stats[data-state="ready"] .stats-fallback-copy,
.story-stats[data-state="error"] .stats-ready-copy {
  display: none;
}

.story-stats[data-state="ready"] .stats-ready-copy {
  display: grid;
}

.stats-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 10px;
}

.stats-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.stats-time {
  color: rgb(255 255 255 / 56%);
  font-size: 10px;
  white-space: nowrap;
}

.replay-button {
  flex: 0 0 auto;
  padding: 9px 0 9px 14px;
  color: rgb(255 255 255 / 72%);
  background: transparent;
  border: 0;
  font-size: 12px;
}

.product-flows {
  padding: 46px 6.5%;
  background: #f6f7f2;
}

.flow {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 2fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  min-height: 0;
  margin: 0;
  padding: 38px 0;
}

.flow + .flow {
  border-top: 1px solid var(--line);
}

.flow figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 9px 12px;
  font-size: clamp(25px, 2.35vw, 34px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.25;
  text-wrap: balance;
}

.flow figcaption span {
  white-space: nowrap;
}

.flow figcaption i {
  color: var(--green);
  font-style: normal;
  font-weight: 500;
}

.flow figcaption.flow-message {
  display: block;
}

.flow-canvas {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) 82px minmax(300px, 1.18fr);
  align-items: center;
  min-height: 390px;
  padding: clamp(26px, 3vw, 42px);
  overflow: hidden;
  background: var(--green-light);
  border-radius: 26px;
}

.flow-canvas::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgb(26 124 62 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(26 124 62 / 5%) 1px, transparent 1px);
  background-size: 32px 32px;
}

.line-chat,
.roster-sheet,
.leaderboard,
.scorecard-stack,
.flow-arrow {
  position: relative;
  z-index: 1;
}

.line-chat {
  width: 100%;
  overflow: hidden;
  background: #9bd09f;
  border: 8px solid #203229;
  border-radius: 28px;
  box-shadow: 0 20px 36px rgb(16 37 26 / 15%);
}

.chat-head {
  display: flex;
  justify-content: space-between;
  padding: 16px 17px;
  color: var(--white);
  background: #495a51;
  font-size: 12px;
  font-weight: 700;
}

.chat-head small {
  font-weight: 500;
}

.chat-bubble {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  margin: 34px 15px 42px;
}

.chat-bubble img {
  width: 28px;
  height: 28px;
  padding: 5px;
  background: var(--white);
  border-radius: 8px;
}

.chat-bubble div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px;
  background: var(--white);
  border-radius: 4px 15px 15px 15px;
  box-shadow: 0 8px 16px rgb(16 37 26 / 10%);
}

.chat-bubble strong {
  font-size: 12px;
}

.chat-bubble span {
  color: var(--muted);
  font-size: 10px;
}

.chat-bubble b {
  margin-top: 8px;
  padding: 8px;
  color: var(--white);
  background: var(--green);
  border-radius: 9px;
  font-size: 11px;
  text-align: center;
}

.flow-arrow {
  display: grid;
  place-items: center;
}

.flow-arrow span {
  position: relative;
  width: 54px;
  height: 1px;
  background: var(--green);
}

.flow-arrow span::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 8px;
  height: 8px;
  content: "";
  border-top: 1px solid var(--green);
  border-right: 1px solid var(--green);
  transform: rotate(45deg);
}

.roster-sheet,
.leaderboard {
  padding: 24px;
  background: var(--white);
  border: 1px solid #dce7df;
  border-radius: 18px;
  box-shadow: 0 20px 44px rgb(16 37 26 / 12%);
}

.sheet-head,
.leaderboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dce7df;
}

.sheet-head div,
.leaderboard-head div {
  display: flex;
  flex-direction: column;
}

.sheet-head small,
.leaderboard-head small {
  color: var(--muted);
  font-size: 10px;
}

.sheet-head strong,
.leaderboard-head strong {
  font-size: 20px;
}

.sheet-head > span {
  padding: 6px 10px;
  color: var(--green);
  background: var(--green-light);
  border-radius: 999px;
  font-family: var(--name-font);
  font-size: 12px;
  font-weight: 700;
}

.roster-sheet ol,
.leaderboard ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.roster-sheet li {
  display: grid;
  grid-template-columns: 27px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #edf2ee;
  font-size: 12px;
}

.roster-sheet li i {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: var(--green);
  background: var(--green-light);
  border-radius: 50%;
  font-family: var(--name-font);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.roster-sheet li small {
  color: var(--muted);
  font-size: 10px;
}

.group-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  margin-top: 14px;
  padding: 12px;
  color: var(--white);
  background: var(--green);
  border-radius: 11px;
  font-size: 11px;
}

.group-row small {
  grid-column: 1 / -1;
  color: rgb(255 255 255 / 78%);
}

.flow-score {
  background: transparent;
}

.score-canvas {
  background: #eef2ec;
}

.scorecard-stack {
  width: 100%;
  height: 300px;
}

.paper-card {
  position: absolute;
  inset: 25px 9% auto;
  min-height: 235px;
  padding: 22px;
  background: #fffdf4;
  border: 1px solid #d7d0b8;
  box-shadow: 0 16px 36px rgb(38 48 41 / 14%);
}

.paper-back {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  color: #736d5d;
  transform: rotate(-8deg) translate(-18px, 12px);
}

.paper-middle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  color: #736d5d;
  transform: rotate(7deg) translate(17px, 6px);
}

.paper-front {
  transform: rotate(-1deg);
}

.paper-front > strong {
  display: block;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-family: var(--name-font);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid #b9b098;
  border-left: 1px solid #b9b098;
}

.score-grid span,
.score-grid b,
.score-grid em {
  display: grid;
  min-height: 31px;
  place-items: center;
  border-right: 1px solid #b9b098;
  border-bottom: 1px solid #b9b098;
  font-family: var(--name-font);
  font-size: 10px;
  font-style: normal;
}

.score-grid span {
  color: #77705f;
  background: #eee9d9;
}

.paper-front small {
  display: block;
  margin-top: 14px;
  color: #77705f;
  font-family: var(--name-font);
  font-size: 11px;
}

.leaderboard-head img {
  width: 31px;
  height: 31px;
}

.leaderboard-labels,
.leaderboard li {
  display: grid;
  grid-template-columns: 42px 1fr 46px 46px 46px;
  gap: 5px;
  align-items: center;
}

.leaderboard-labels {
  padding: 13px 0 7px;
  color: var(--muted);
  font-size: 9px;
  text-align: right;
}

.leaderboard-labels span:nth-child(2) {
  text-align: left;
}

.leaderboard li {
  min-height: 45px;
  border-top: 1px solid #edf2ee;
  font-family: var(--name-font);
  font-size: 11px;
  text-align: right;
}

.leaderboard li b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  text-align: center;
}

.leaderboard li span {
  font-family: var(--body-font);
  text-align: left;
}

.leaderboard li i {
  color: var(--muted);
  font-style: normal;
}

.leaderboard li strong {
  color: var(--green);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "heading links"
    "footer footer";
  gap: 28px 48px;
  align-items: center;
  min-height: 0;
  padding: 38px 6.5% 20px;
  color: var(--white);
  background: var(--green-dark);
}

.contact-heading {
  grid-area: heading;
  display: flex;
  gap: 28px;
  align-items: baseline;
}

.contact h2 {
  margin: 0;
  font-size: clamp(34px, 3.5vw, 50px);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.contact p {
  margin: 0;
  color: rgb(255 255 255 / 64%);
  font-family: var(--name-font);
  font-size: 13px;
}

.contact-links {
  grid-area: links;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.contact-links a {
  padding-bottom: 3px;
  border-bottom: 1px solid rgb(255 255 255 / 45%);
}

.site-footer {
  grid-area: footer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 0;
  padding: 18px 0 0;
  color: rgb(255 255 255 / 48%);
  background: transparent;
  border-top: 1px solid rgb(255 255 255 / 16%);
  font-family: var(--name-font);
  font-size: 11px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

a,
button {
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

a:hover,
button:hover {
  opacity: 0.76;
}

.button:hover,
.share-button:hover {
  opacity: 1;
  transform: translateY(-2px);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f6b33c;
  outline-offset: 4px;
}

@keyframes scene-idea {
  0%, 20% { opacity: 1; }
  24%, 100% { opacity: 0; }
}

@keyframes scene-network {
  0%, 18% { opacity: 0; }
  23%, 48% { opacity: 1; }
  53%, 100% { opacity: 0; }
}

@keyframes scene-tee {
  0%, 48% { opacity: 0; }
  53%, 71% { opacity: 1; }
  76%, 100% { opacity: 0; }
}

@keyframes scene-green {
  0%, 70% { opacity: 0; }
  76%, 100% { opacity: 1; }
}

@keyframes thought-pop {
  0%, 4% { opacity: 0; transform: scale(.25); }
  8%, 20% { opacity: 1; transform: scale(1); }
  24%, 100% { opacity: 0; transform: scale(.85); }
}

@keyframes idea-copy {
  0%, 9% { opacity: 0; transform: translateY(10px); }
  13%, 20% { opacity: 1; transform: translateY(0); }
  24%, 100% { opacity: 0; transform: translateY(-6px); }
}

@keyframes network-draw {
  0%, 21% { opacity: 0; transform: scale(.75); }
  30%, 48% { opacity: 1; transform: scale(1); }
  53%, 100% { opacity: 0; transform: scale(1.05); }
}

@keyframes phone-arrive {
  0%, 18% { opacity: 0; margin-top: 50px; }
  23%, 49% { opacity: 1; margin-top: 0; }
  53%, 100% { opacity: 0; margin-top: -15px; }
}

@keyframes ball-spread {
  0%, 24% { opacity: 0; transform: translate(0, 0) scale(.25); }
  29%, 49% { opacity: 1; transform: translate(0, 0) scale(1); }
  53%, 100% { opacity: 0; transform: translate(0, 0) scale(.7); }
}

@keyframes message-one {
  0%, 27% { opacity: 0; transform: translateY(12px) scale(.9); }
  31%, 49% { opacity: 1; transform: translateY(0) scale(1); }
  53%, 100% { opacity: 0; }
}

@keyframes message-two {
  0%, 31% { opacity: 0; transform: translateY(12px) scale(.9); }
  35%, 49% { opacity: 1; transform: translateY(0) scale(1); }
  53%, 100% { opacity: 0; }
}

@keyframes message-three {
  0%, 36% { opacity: 0; transform: translateY(12px) scale(.9); }
  40%, 49% { opacity: 1; transform: translateY(0) scale(1); }
  53%, 100% { opacity: 0; }
}

@keyframes gather-one {
  0%, 50% { opacity: 0; top: 19%; left: 15%; }
  53% { opacity: 1; }
  59% { opacity: 1; top: 76%; left: 21.5%; }
  61%, 100% { opacity: 0; top: 76%; left: 21.5%; }
}

@keyframes gather-two {
  0%, 50% { opacity: 0; top: 15%; right: 18%; }
  53% { opacity: 1; }
  59% { opacity: 1; top: 76%; right: 75.5%; }
  61%, 100% { opacity: 0; top: 76%; right: 75.5%; }
}

@keyframes gather-three {
  0%, 50% { opacity: 0; right: 12%; bottom: 27%; }
  53% { opacity: 1; }
  59% { opacity: 1; right: 75.5%; bottom: 19%; }
  61%, 100% { opacity: 0; right: 75.5%; bottom: 19%; }
}

@keyframes gather-four {
  0%, 50% { opacity: 0; bottom: 18%; left: 45%; }
  53% { opacity: 1; }
  59% { opacity: 1; bottom: 19%; left: 21.5%; }
  61%, 100% { opacity: 0; bottom: 19%; left: 21.5%; }
}

@keyframes club-swing {
  0%, 56% {
    opacity: 0;
    transform: rotate(30deg);
  }
  57% {
    opacity: .88;
    transform: rotate(30deg);
    animation-timing-function: cubic-bezier(.55, .05, .9, .4);
  }
  62.7% {
    opacity: 1;
    transform: rotate(-25deg);
    animation-timing-function: cubic-bezier(.12, .65, .22, 1);
  }
  66.5% {
    opacity: .25;
    transform: rotate(-112deg);
  }
  68%, 100% {
    opacity: 0;
    transform: rotate(-122deg);
  }
}

@keyframes club-impact {
  0%, 62.2% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  62.7% { opacity: .95; transform: translate(-50%, -50%) scale(1); }
  63.5% { opacity: .5; transform: translate(-50%, -50%) scale(1.22); }
  64.5%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.55); }
}

@keyframes tee-impact {
  0%, 62.7% { transform: rotate(0deg); transform-origin: bottom center; }
  63.4% { transform: rotate(7deg); transform-origin: bottom center; }
  64.5%, 100% { transform: rotate(0deg); transform-origin: bottom center; }
}

@keyframes tee-shot {
  0%, 58% { opacity: 0; top: 76%; left: 21.5%; transform: scale(.85); }
  60% { opacity: 1; top: 76%; left: 21.5%; transform: scale(1); }
  66% { opacity: 1; top: 17%; left: 48%; transform: scale(.68); }
  72% { opacity: 1; top: 30%; left: 86%; transform: scale(.42); }
  75%, 100% { opacity: 0; top: 30%; left: 90%; transform: scale(.3); }
}

@keyframes shot-trail {
  0%, 61% { opacity: 0; transform: rotate(-18deg) scaleX(.1); transform-origin: left; }
  66%, 70% { opacity: .75; transform: rotate(-18deg) scaleX(1); transform-origin: left; }
  74%, 100% { opacity: 0; transform: rotate(-18deg) scaleX(1); transform-origin: left; }
}

@keyframes ball-land {
  0%, 72% { opacity: 0; top: 8%; left: 14%; transform: scale(.45); }
  74% { opacity: 1; }
  79% { top: 65%; left: 66%; transform: scale(1); }
  82% { top: 57%; left: 67%; transform: scale(.9); }
  86% { opacity: 1; top: 66%; left: 67%; transform: scale(.9); }
  90%, 100% { opacity: 0; top: 66%; left: 67%; transform: scale(.65); }
}

@keyframes brand-reveal {
  0%, 86% { opacity: 0; }
  92%, 100% { opacity: 1; }
}

@keyframes brand-logo {
  0%, 86% { opacity: 0; transform: translate(112px, 132px) scale(.12); }
  92% { opacity: 1; transform: translate(0, 0) scale(1.08); }
  95%, 100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

/* One ball carries the story across every background change. */
.continuity-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.motion-ball {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: var(--white);
  background-image: radial-gradient(circle at 35% 35%, #cbd4ce 0 1px, transparent 1.6px);
  background-size: 7px 7px;
  border: 1px solid #c7d2cb;
  border-radius: 50%;
  box-shadow: 0 5px 12px rgb(0 0 0 / 20%);
  will-change: top, left, transform, opacity;
}

.lead-ball {
  top: 15.75%;
  left: 55.9%;
}

.clone-ball {
  top: 52.8%;
  left: 50%;
  opacity: 0;
}

.flight-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0;
}

.flight-path path {
  fill: none;
  stroke: rgb(255 255 255 / 64%);
  stroke-dasharray: 7 13;
  stroke-linecap: round;
  stroke-width: 2;
}

.impact-shadow {
  position: absolute;
  top: 65.5%;
  left: 66%;
  width: 44px;
  height: 12px;
  margin: -6px 0 0 -22px;
  background: rgb(8 47 27 / 48%);
  border-radius: 50%;
  opacity: 0;
}

.story-card.is-playing .scene-idea {
  animation: continuous-scene-idea var(--story-time) linear both;
}

.story-card.is-playing .scene-network {
  animation: continuous-scene-network var(--story-time) linear both;
}

.story-card.is-playing .scene-tee {
  animation: continuous-scene-tee var(--story-time) linear both;
}

.story-card.is-playing .scene-green {
  animation: continuous-scene-green var(--story-time) linear both;
}

.story-card.is-playing .final-flag {
  animation: final-flag-to-logo var(--story-time) cubic-bezier(.42, 0, .58, 1) both;
}

.story-card.is-playing .final-flag::before {
  animation: final-flag-cap var(--story-time) linear both;
}

.story-card.is-playing .flag-stick {
  animation: final-flag-stick var(--story-time) cubic-bezier(.42, 0, .58, 1) both;
}

.story-card.is-playing .flag-cloth {
  animation: final-flag-cloth var(--story-time) cubic-bezier(.42, 0, .58, 1) both;
}

.story-card.is-playing .flag-hole {
  animation: final-flag-hole var(--story-time) cubic-bezier(.42, 0, .58, 1) both;
}

.story-card.is-playing .lead-ball {
  animation: lead-ball-story var(--story-time) linear both;
}

.story-card.is-playing .continuity-layer {
  animation: continuity-camera var(--story-time) linear both;
}

.story-card.is-playing .clone-one {
  animation: clone-one-story var(--story-time) linear both;
}

.story-card.is-playing .clone-two {
  animation: clone-two-story var(--story-time) linear both;
}

.story-card.is-playing .clone-three {
  animation: clone-three-story var(--story-time) linear both;
}

.story-card.is-playing .clone-four {
  animation: clone-four-story var(--story-time) linear both;
}

.story-card.is-playing .flight-path {
  animation: continuous-flight-path var(--story-time) linear both;
}

.story-card.is-playing .impact-shadow {
  animation: continuous-impact var(--story-time) linear both;
}

.story-card.is-playing .brand-mark {
  animation: continuous-brand-mark var(--story-time) linear both;
}

.story-card.is-playing .brand-lockup {
  animation: continuous-brand-lockup var(--story-time) cubic-bezier(.2, .75, .25, 1) both;
}

.story-card.is-playing .brand-reveal::before {
  animation: continuous-brand-field var(--story-time) linear both;
}

.thought-ball,
.network-ball,
.gather-ball,
.tee-ball,
.landing-ball,
.shot-trail {
  visibility: hidden;
}

@keyframes continuous-scene-idea {
  0%, 17% { opacity: 1; }
  24%, 100% { opacity: 0; }
}

@keyframes continuous-scene-network {
  0%, 15% { opacity: 0; }
  23%, 50% { opacity: 1; }
  58%, 100% { opacity: 0; }
}

@keyframes continuous-scene-tee {
  0%, 45% { opacity: 0; }
  54%, 70% { opacity: 1; }
  78%, 100% { opacity: 0; }
}

@keyframes continuous-scene-green {
  0%, 67% { opacity: 0; transform: scale(.96); }
  76%, 90% { opacity: 1; transform: scale(1); }
  94% { opacity: 1; transform: scale(1.04); }
  97% { opacity: .72; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.15); }
}

@keyframes continuity-camera {
  0%, 97.4% { opacity: 1; }
  99%, 100% { opacity: 0; }
}

@keyframes lead-ball-story {
  0%, 12% {
    top: 15.75%;
    left: 55.9%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  19% {
    top: 52.8%;
    left: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(.8);
    animation-timing-function: cubic-bezier(.45, 0, .2, 1);
  }
  23% {
    top: 52.8%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
  }
  32%, 41% {
    top: 16.4%;
    left: 50.3%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation-timing-function: cubic-bezier(.25, .7, .3, 1);
  }
  55%, 61% {
    top: 78.3%;
    left: 23.7%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation-timing-function: cubic-bezier(.5, 0, .25, 1);
  }
  63% {
    top: 78.3%;
    left: 23.7%;
    transform: translate(-50%, -50%) scale(1.04);
  }
  65% {
    top: 54.5%;
    left: 28.2%;
    transform: translate(-50%, -50%) scale(.91);
  }
  66% {
    top: 45.5%;
    left: 30.4%;
    transform: translate(-50%, -50%) scale(.84);
  }
  67% {
    top: 38%;
    left: 32.6%;
    transform: translate(-50%, -50%) scale(.78);
  }
  69% {
    top: 26%;
    left: 37.1%;
    transform: translate(-50%, -50%) scale(.66);
  }
  71% {
    top: 20%;
    left: 41.6%;
    transform: translate(-50%, -50%) scale(.57);
  }
  72.5% {
    top: 18.5%;
    left: 45%;
    transform: translate(-50%, -50%) scale(.54);
  }
  74% {
    top: 20.5%;
    left: 48.4%;
    transform: translate(-50%, -50%) scale(.56);
  }
  76% {
    top: 28.5%;
    left: 52.8%;
    transform: translate(-50%, -50%) scale(.62);
  }
  78% {
    top: 38.5%;
    left: 57.2%;
    transform: translate(-50%, -50%) scale(.69);
  }
  80% {
    top: 50.5%;
    left: 61.6%;
    transform: translate(-50%, -50%) scale(.8);
  }
  82% {
    top: 63%;
    left: 66%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.18, .7);
    animation-timing-function: cubic-bezier(.15, .7, .2, 1);
  }
  84% {
    top: 55%;
    left: 66.6%;
    transform: translate(-50%, -50%) scale(.86, 1.06);
  }
  86% {
    top: 63%;
    left: 67%;
    transform: translate(-50%, -50%) scale(1.03, .78);
  }
  87.5% {
    top: 58.5%;
    left: 67.4%;
    transform: translate(-50%, -50%) scale(.9, 1.02);
  }
  89% {
    top: 63%;
    left: 67.8%;
    transform: translate(-50%, -50%) scale(1, .88);
  }
  89.5% {
    top: 63%;
    left: 68.5%;
    opacity: 1;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%) scale(.96);
    animation-timing-function: cubic-bezier(.42, 0, .58, 1);
  }
  96.4% {
    top: var(--match-ground-y);
    left: var(--match-ball-x);
    opacity: 1;
    width: clamp(9px, 1vw, 14px);
    height: clamp(9px, 1vw, 14px);
    transform: translate(-50%, -50%) scale(1);
  }
  97.4%, 100% {
    top: var(--match-ground-y);
    left: var(--match-ball-x);
    width: clamp(9px, 1vw, 14px);
    height: clamp(9px, 1vw, 14px);
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes final-flag-to-logo {
  0%, 67% {
    top: 29%;
    left: 64%;
    opacity: 0;
  }
  76%, 89.5% {
    top: 29%;
    left: 64%;
    opacity: 1;
  }
  96.4% {
    top: calc(var(--match-ground-y) - var(--match-pole-height));
    left: calc(var(--match-pole-x) - 12px);
    opacity: 1;
  }
  97.4%, 100% {
    top: calc(var(--match-ground-y) - var(--match-pole-height));
    left: calc(var(--match-pole-x) - 12px);
    opacity: 0;
  }
}

@keyframes final-flag-cap {
  0%, 89.5% { opacity: 0; transform: scale(.4); }
  95%, 96.4% { opacity: 1; transform: scale(.58); }
  97.4%, 100% { opacity: 0; transform: scale(.58); }
}

@keyframes final-flag-stick {
  0%, 89.5% { top: 0; left: 12px; width: 4px; height: 220px; }
  96.4%, 100% {
    top: 4px;
    left: 12px;
    width: clamp(2px, .18vw, 2.6px);
    height: calc(var(--match-pole-height) - 5px);
  }
}

@keyframes final-flag-cloth {
  0%, 89.5% {
    top: 0;
    left: 16px;
    width: 70px;
    height: 42px;
    background: var(--orange);
  }
  96.4%, 100% {
    top: 8px;
    left: 14px;
    width: var(--match-flag-width);
    height: var(--match-flag-height);
    background: var(--white);
  }
}

@keyframes final-flag-hole {
  0%, 89.5% {
    top: 214px;
    left: 2px;
    width: 24px;
    height: 9px;
    background: #143f28;
  }
  96.4%, 100% {
    top: calc(var(--match-pole-height) - 3px);
    left: calc(12px - clamp(13px, 1.4vw, 20px));
    width: clamp(26px, 2.8vw, 40px);
    height: clamp(5px, .5vw, 7px);
    background: rgb(255 255 255 / 32%);
  }
}

@keyframes clone-one-story {
  0%, 21% { top: 52.8%; left: 50%; opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  24% { opacity: 1; transform: translate(-50%, -50%) scale(.72); }
  32%, 41% { top: 23%; left: 85.6%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  55% { top: 78.3%; left: 23.7%; opacity: 1; transform: translate(-50%, -50%) scale(.92); }
  57%, 100% { top: 78.3%; left: 23.7%; opacity: 0; transform: translate(-50%, -50%) scale(.2); }
}

@keyframes clone-two-story {
  0%, 21% { top: 52.8%; left: 50%; opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  24% { opacity: 1; transform: translate(-50%, -50%) scale(.72); }
  32%, 41% { top: 81.3%; left: 88%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  55% { top: 78.3%; left: 23.7%; opacity: 1; transform: translate(-50%, -50%) scale(.92); }
  57%, 100% { top: 78.3%; left: 23.7%; opacity: 0; transform: translate(-50%, -50%) scale(.2); }
}

@keyframes clone-three-story {
  0%, 21% { top: 52.8%; left: 50%; opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  24% { opacity: 1; transform: translate(-50%, -50%) scale(.72); }
  32%, 41% { top: 81.1%; left: 13%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  55% { top: 78.3%; left: 23.7%; opacity: 1; transform: translate(-50%, -50%) scale(.92); }
  57%, 100% { top: 78.3%; left: 23.7%; opacity: 0; transform: translate(-50%, -50%) scale(.2); }
}

@keyframes clone-four-story {
  0%, 21% { top: 52.8%; left: 50%; opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  24% { opacity: 1; transform: translate(-50%, -50%) scale(.72); }
  32%, 41% { top: 26.9%; left: 16.1%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  55% { top: 78.3%; left: 23.7%; opacity: 1; transform: translate(-50%, -50%) scale(.92); }
  57%, 100% { top: 78.3%; left: 23.7%; opacity: 0; transform: translate(-50%, -50%) scale(.2); }
}

@keyframes continuous-flight-path {
  0%, 62.7% { opacity: 0; }
  66%, 76% { opacity: .72; }
  82%, 100% { opacity: 0; }
}

@keyframes continuous-impact {
  0%, 79% { opacity: 0; transform: scale(.15); }
  82% { opacity: .8; transform: scale(1.2); }
  84% { opacity: .3; transform: scale(.65); }
  86% { opacity: .58; transform: translateX(8px) scale(.8); }
  89% { opacity: .34; transform: translateX(12px) scale(.6); }
  92% { opacity: .22; transform: translateX(18px) scale(.45); }
  94%, 100% { opacity: 0; transform: translateX(18px) scale(.3); }
}

@keyframes continuous-brand-field {
  0%, 92.5% { opacity: 0; }
  94.5% { opacity: .1; }
  96.4% { opacity: .58; }
  98.5%, 100% { opacity: 1; }
}

@keyframes continuous-brand-mark {
  0%, 94.8% { opacity: 0; }
  96.4%, 100% { opacity: 1; }
}

@keyframes continuous-brand-lockup {
  0%, 96.8% { opacity: 0; }
  98.5% { opacity: 1; transform: scale(1.012); }
  100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1120px) {
  .page-shell {
    width: min(100% - 24px, 1480px);
    margin: 12px auto;
  }

  .hero {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .hero-copy {
    padding-right: 40px;
    padding-left: 40px;
  }

  h1 {
    font-size: clamp(70px, 8vw, 92px);
  }

  .story-stage {
    min-height: 600px;
  }

  .story-stats {
    grid-template-columns: 8px minmax(0, 1fr);
  }

  .stats-item {
    line-height: 1.4;
  }

  .stats-time {
    grid-column: 2;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .flow figcaption {
    max-width: 720px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: 100%;
    margin: 0;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 72px;
    padding: 0 20px;
  }

  .header-id {
    display: none;
  }

  .header-actions .header-golah {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .header-contact {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 13px;
    color: var(--green-dark);
    border: 1px solid var(--green-dark);
    border-radius: 10px;
    touch-action: manipulation;
  }

  .share-button {
    min-height: 44px;
    touch-action: manipulation;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 590px;
    padding: 72px 28px 64px;
  }

  h1 {
    font-size: clamp(70px, 22vw, 104px);
  }

  .hero-identity {
    margin-top: 36px;
  }

  .story-stage {
    min-height: 590px;
  }

  .story-footer {
    min-height: 86px;
    padding: 12px 20px;
  }

  .story-card {
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .stats-time {
    display: none;
  }

  .product-flows {
    padding: 30px 24px;
  }

  .flow {
    min-height: 0;
    padding: 36px 0;
  }

  .flow-canvas {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: 0;
    padding: 32px;
  }

  .flow-arrow {
    min-height: 46px;
    transform: rotate(90deg);
  }

  .line-chat {
    width: min(290px, 100%);
    justify-self: center;
  }

  .roster-sheet,
  .leaderboard {
    width: min(430px, 100%);
    justify-self: center;
  }

  .scorecard-stack {
    width: min(320px, 100%);
    justify-self: center;
  }

  .contact {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "links"
      "footer";
    gap: 24px;
    padding: 40px 28px 20px;
  }

  .contact-heading {
    display: block;
  }

  .contact-heading p {
    margin-top: 8px;
  }

  .contact-links {
    flex-wrap: wrap;
    gap: 12px 22px;
  }

  .site-footer {
    padding-top: 16px;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand {
    width: 78px;
  }

  .share-button {
    min-width: 58px;
    min-height: 44px;
    padding: 7px 14px;
  }

  .header-actions .header-contact {
    min-height: 44px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .hero-copy {
    min-height: 530px;
  }

  .role {
    margin-bottom: 20px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(66px, 21.5vw, 90px);
  }

  .hero-identity {
    margin-top: 32px;
    font-size: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .story-card {
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .story-stage {
    --match-pole-x: 47.06%;
    --match-ball-x: 51.7%;
    --match-ground-y: 51.12%;
    min-height: 510px;
  }

  .person {
    left: 3%;
    transform: scale(.82);
    transform-origin: bottom left;
  }

  .thought-main {
    top: 6.5%;
    left: 39.7%;
    width: 126px;
    height: 94px;
  }

  .idea-copy {
    right: 5%;
    bottom: 12%;
    font-size: 13px;
  }

  .phone {
    top: 26%;
    width: 156px;
    height: 276px;
  }

  .phone-hand {
    left: calc(50% + 28px);
  }

  .mini-message {
    max-width: 166px;
    font-size: 9px;
  }

  .message-one {
    top: 8%;
    left: 3%;
  }

  .message-two {
    top: 17%;
    right: 2%;
  }

  .message-three {
    right: 3%;
    bottom: 9%;
  }

  .putting-green {
    top: 18%;
    right: auto;
    left: 12%;
    width: 64%;
    height: 62%;
  }

  .final-flag {
    left: 64%;
  }

  .story-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
  }

  .story-stats {
    width: 100%;
    row-gap: 4px;
    font-size: 13px;
  }

  .story-stats strong {
    font-size: 17px;
  }

  .replay-button {
    align-self: flex-end;
    margin-top: -3px;
    padding: 4px 0;
  }

  .flow figcaption {
    font-size: 24px;
  }

  .flow-canvas {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .roster-sheet,
  .leaderboard {
    padding: 18px 15px;
  }

  .leaderboard-labels,
  .leaderboard li {
    grid-template-columns: 36px 1fr 38px 38px 38px;
    gap: 2px;
  }

  .contact h2 {
    font-size: 38px;
  }

  .site-footer span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scene-idea,
  .scene-network,
  .scene-tee,
  .continuity-layer,
  .final-flag {
    display: none;
  }

  .scene-green,
  .brand-reveal,
  .brand-lockup {
    opacity: 1;
    transform: none;
  }

  .brand-mark {
    display: none;
  }

  .brand-reveal {
    background: var(--green-dark);
  }

  .brand-reveal::before {
    opacity: 1;
  }
}
