:root {
  --hero-bg: #0c2a18;
  --hero-mid: #163d24;
  --hero-surface: #102e1c;
  --bg: #06180e;
  --bg-2: #0a2414;
  --bg-3: #12331e;
  --pastel-mint: #0e2a18;
  --pastel-lavender: #0c2416;
  --pastel-cream: #14361f;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.72);
  --muted: rgba(255, 255, 255, 0.52);
  --accent: #fac31a;
  --accent-bright: #ffd54a;
  --accent-deep: #d9a509;
  --accent-ink: #0a2414;
  --turf: #1b4a2c;
  --cyan: #82c07b;
  --volt: #82c07b;
  --line: rgba(130, 192, 123, 0.18);
  --shadow: rgba(0, 0, 0, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "Space Grotesk", ui-monospace, monospace;
  --nav-h: 80px;
  --radius-lg: 20px;
  --leaf: #82c07b;
  --leaf-deep: #5ea05a;
  --sun: #fac31a;

  --black: var(--bg);
  --black-2: var(--bg-2);
  --black-3: var(--bg-3);
  --ivory: var(--text);
  --ivory-dim: var(--text-dim);
  --gold: var(--accent);
  --gold-bright: var(--accent-bright);
  --gold-deep: var(--accent-deep);
  --green: #82c07b;
  --green-deep: #1a4a2a;
  --fairway: #163d24;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse 110% 70% at 50% -10%, rgba(130, 192, 123, 0.16), transparent 52%),
    linear-gradient(180deg, #0c2a18 0%, var(--bg) 28%, #04110a 100%);
  background-color: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: -0.02em;
  cursor: none;
}

body {
  overflow-x: hidden;
}

::selection {
  background: rgba(201, 162, 39, 0.28);
  color: var(--text);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.wrap {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--accent), var(--sun));
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.35);
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 80;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 12px;
  border-radius: 999px;
}

.skip:focus {
  top: 12px;
}

.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 70;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor {
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s, opacity 0.2s;
}

.cursor.is-down {
  width: 16px;
  height: 16px;
  background: rgba(201, 162, 39, 0.06);
}

.cursor.is-link {
  width: 28px;
  height: 28px;
  background: transparent;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-bright);
  box-shadow: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 18px;
}

.gold-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.35);
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 4.8vw, 4.35rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin: 0 0 28px;
  color: var(--text);
}

.display em,
.section-title em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  max-width: 38ch;
  color: var(--ivory-dim);
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 300;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}

.section {
  padding: 120px 0;
  position: relative;
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

.section.house,
.section.team,
.section.stack,
.section.craft,
.section.work,
.section.contact {
  background: var(--bg);
}

.section-head {
  margin-bottom: 64px;
}

.section-head.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
}

.section-aside {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  padding-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 4px 6px 4px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 600;
  gap: 14px;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.btn-gold {
  background: #fff;
  color: #0a2414;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.btn-gold::after {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #82c07b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2414' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.btn-gold:hover {
  background: #f4fbf4;
  color: #0a2414;
  box-shadow: 0 14px 32px rgba(130, 192, 123, 0.28);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(36, 48, 40, 0.16);
  color: var(--text);
  background: transparent;
  padding: 0 22px;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(201, 162, 39, 0.08);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.nav:not(.is-scrolled) .nav-brand,
.nav:not(.is-scrolled) .nav-links a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.86);
}

.nav:not(.is-scrolled) .nav-brand img {
  border-color: rgba(255, 255, 255, 0.18);
}

.nav:not(.is-scrolled) .nav-cta {
  background: #82c07b;
  border-color: transparent;
  color: #0a2414 !important;
  font-weight: 600;
}

.nav:not(.is-scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.2);
}

.nav:not(.is-scrolled) .nav-toggle i {
  background: #fff;
}

.nav:not(.is-scrolled) .nav-links a:hover {
  color: #fff;
}

.nav.is-scrolled {
  background: rgba(6, 24, 14, 0.88);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.nav.is-scrolled .nav-brand,
.nav.is-scrolled .nav-links a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.82);
}

.nav.is-scrolled .nav-links a:hover {
  color: #fff;
}

.nav.is-scrolled .nav-cta {
  background: #82c07b;
  border-color: transparent;
  color: #0a2414 !important;
  font-weight: 600;
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1220px, calc(100% - 40px));
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--text);
  z-index: 2;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 0 20px rgba(130, 192, 123, 0.28);
  background: #0a2414;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  grid-column: 2;
}

.nav-links a {
  color: var(--text-dim);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #0a2414 !important;
  background: #82c07b;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.nav-cta:hover {
  border-color: var(--accent);
  color: #0a2414 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  position: relative;
}

.nav-toggle i {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--gold);
  transition: transform 0.3s var(--ease), top 0.3s;
}

.nav-toggle i:first-child {
  top: 17px;
}

.nav-toggle i:last-child {
  top: 23px;
}

.nav.is-open .nav-toggle i:first-child {
  top: 20px;
  transform: rotate(40deg);
}

.nav.is-open .nav-toggle i:last-child {
  top: 20px;
  transform: rotate(-40deg);
}

.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 12px) 0 88px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 65% at 18% 48%, rgba(130, 192, 123, 0.38) 0%, transparent 58%),
    radial-gradient(ellipse 50% 40% at 88% 18%, rgba(250, 195, 26, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(8, 40, 20, 0.9) 0%, transparent 60%),
    linear-gradient(160deg, #1a4a2a 0%, #0c2a18 38%, #06180e 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(680px, 88vw);
  height: min(680px, 88vw);
  left: -8%;
  top: 48%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 192, 123, 0.42) 0%, rgba(10, 36, 20, 0.2) 48%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.hero .gold-dot {
  background: #fac31a;
  box-shadow: 0 0 10px rgba(250, 195, 26, 0.45);
}

.hero .display {
  margin-bottom: 28px;
  color: #fff;
}

.hero .btn-gold {
  background: #fff;
  color: #0a2414;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.hero .btn-gold::after {
  background: #82c07b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2414' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.hero .btn-gold:hover {
  background: #f4fbf4;
  color: #0a2414;
  box-shadow: 0 14px 32px rgba(130, 192, 123, 0.28);
}

.binary-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.12;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 55% at 20% 48%, rgba(130, 192, 123, 0.22), transparent 58%),
    radial-gradient(ellipse 40% 35% at 86% 78%, rgba(250, 195, 26, 0.08), transparent 52%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 95% 85% at 45% 45%, black 20%, transparent 78%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: start;
  width: 100%;
}

.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-height: 0;
  justify-content: flex-start;
  padding-top: 0;
  margin-top: -8px;
}

.hero-visual {
  position: relative;
  width: min(100%, 560px);
  min-height: 0;
  display: block;
}

.hero-visual-glow {
  position: absolute;
  inset: 10% 8%;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, rgba(130, 192, 123, 0.32) 0%, transparent 70%);
  filter: blur(28px);
}

.hero-portrait {
  position: relative;
  z-index: 2;
  margin: 0;
  width: 100%;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.hero-portrait img {
  width: 100%;
  height: auto;
  max-height: min(82vh, 720px);
  object-fit: contain;
  object-position: center top;
  display: block;
}

/* --- static scene styling --- */

.scene-ring {
  fill: none;
  stroke: rgba(61, 92, 71, 0.12);
  stroke-width: 1;
}

.scene-ring--inner {
  stroke: rgba(61, 92, 71, 0.08);
  stroke-dasharray: 3 9;
}

.turf {
  fill: url(#gf-turf);
}

.turf-edge {
  fill: none;
  stroke: rgba(61, 92, 71, 0.22);
  stroke-width: 1.2;
}

.grass path {
  fill: none;
  stroke: rgba(61, 92, 71, 0.4);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.hole-cup {
  fill: #2a4033;
}

.hole-rim {
  fill: none;
  stroke: rgba(201, 162, 39, 0.7);
  stroke-width: 1.4;
}

.hole-pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  opacity: 0;
}

.sink-spark path {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0;
}

.flag-pole {
  fill: none;
  stroke: var(--green-deep);
  stroke-width: 2;
  stroke-linecap: round;
}

.flag-cloth {
  fill: var(--accent);
}

.golfer path,
.golfer circle {
  fill: none;
  stroke: var(--green-deep);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gf-shadow {
  fill: rgba(36, 48, 40, 0.18);
  stroke: none;
}

.gf-limb {
  stroke-width: 7;
}

.gf-torso {
  fill: rgba(61, 92, 71, 0.18);
  stroke-width: 6.5;
}

.gf-skull {
  fill: rgba(61, 92, 71, 0.18);
  stroke-width: 5.5;
}

.gf-cap {
  fill: var(--accent);
  stroke-width: 2.4;
}

.gf-neck {
  stroke-width: 5;
}

.gf-shoe {
  stroke-width: 8;
}

.gf-arm {
  stroke-width: 6;
}

.gf-arm--back {
  stroke: rgba(42, 64, 51, 0.55);
  stroke-width: 5.5;
}

.gf-hands {
  fill: var(--accent);
  stroke-width: 2;
}

.gf-shaft {
  stroke: url(#gf-shaft);
  stroke-width: 3.4;
}

.gf-clubhead {
  fill: var(--accent-bright);
  stroke-width: 1.6;
}

.impact-puff circle {
  fill: rgba(201, 162, 39, 0.45);
  opacity: 0;
}

.ball {
  fill: url(#gf-ball);
}

.ball-mark {
  fill: none;
  stroke: rgba(120, 90, 10, 0.65);
  stroke-width: 1.2;
  stroke-linecap: round;
}

.ball-shadow {
  fill: rgba(36, 48, 40, 0.22);
}

.ball-trail {
  fill: none;
  stroke: rgba(201, 162, 39, 0.55);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
}

/* --- one shared 9s timeline keeps every part in sync --- */

.gf-legs,
.gf-upper,
.gf-head,
.gf-arms,
.gf-club,
.grass-flick,
.impact-puff circle,
.ball-x,
.ball-y,
.ball-spin,
.ball-shadow,
.ball-trail,
.hole-pulse,
.sink-spark path,
.flag-cheer {
  transform-box: view-box;
  animation-duration: 9s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  will-change: transform, opacity;
}

.gf-legs {
  transform-origin: 151px 219px;
  animation-name: gf-legs;
}

.gf-upper {
  transform-origin: 151px 219px;
  animation-name: gf-upper;
}

.gf-head {
  transform-origin: 180px 152px;
  animation-name: gf-head;
}

.gf-arms {
  transform-origin: 170px 163px;
  animation-name: gf-arms;
}

.gf-club {
  transform-origin: 212px 211px;
  animation-name: gf-club;
}

.grass-flick {
  transform-origin: 240px 302px;
  animation-name: grass-flick;
}

.impact-puff circle {
  transform-origin: 240px 297px;
  animation-name: impact-puff;
}

.impact-puff circle:nth-child(2) {
  animation-delay: 0.06s;
}

.impact-puff circle:nth-child(3) {
  animation-delay: 0.12s;
}

.ball-x {
  animation-name: ball-x;
}

.ball-y {
  transform-origin: 240px 293px;
  animation-name: ball-y;
}

.ball-spin {
  transform-origin: 240px 293px;
  animation-name: ball-spin;
}

.ball-shadow {
  transform-origin: 240px 301px;
  animation-name: ball-shadow;
}

.ball-trail {
  animation-name: ball-trail;
}

.hole-pulse {
  transform-origin: 520px 301px;
  animation-name: hole-pulse;
}

.sink-spark path {
  transform-origin: 520px 297px;
  animation-name: sink-spark;
}

.flag-cheer {
  transform-origin: 520px 299px;
  animation-name: flag-cheer;
}

.flag-wave {
  transform-box: view-box;
  transform-origin: 521px 157px;
  animation: flag-wave 3.2s ease-in-out infinite;
}

/* address → backswing → impact (30%) → follow-through → reset */
@keyframes gf-arms {
  0%,
  16% {
    transform: rotate(0deg);
  }
  19% {
    transform: rotate(-8deg);
  }
  26% {
    transform: rotate(-44deg);
    animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.6);
  }
  28% {
    transform: rotate(-37deg);
    animation-timing-function: cubic-bezier(0.4, 0, 0.7, 1);
  }
  30% {
    transform: rotate(9deg);
  }
  33% {
    transform: rotate(-12deg);
  }
  36% {
    transform: rotate(-34deg);
  }
  62% {
    transform: rotate(-32deg);
  }
  72% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes gf-club {
  0%,
  16% {
    transform: rotate(0deg);
  }
  19% {
    transform: rotate(-22deg);
  }
  26% {
    transform: rotate(-118deg);
    animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.6);
  }
  28% {
    transform: rotate(-102deg);
    animation-timing-function: cubic-bezier(0.35, 0, 0.7, 1);
  }
  30% {
    transform: rotate(6deg);
  }
  33% {
    transform: rotate(104deg);
  }
  36% {
    transform: rotate(217deg);
  }
  62% {
    transform: rotate(214deg);
  }
  68% {
    transform: rotate(112deg);
  }
  72% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes gf-upper {
  0%,
  16% {
    transform: rotate(0deg);
  }
  26% {
    transform: rotate(-6deg);
  }
  30% {
    transform: rotate(2deg);
  }
  36% {
    transform: rotate(-7deg);
  }
  62% {
    transform: rotate(-6deg);
  }
  72% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes gf-legs {
  0%,
  16% {
    transform: rotate(0deg);
  }
  26% {
    transform: rotate(-1.6deg);
  }
  30% {
    transform: rotate(1.4deg);
  }
  36% {
    transform: rotate(3.4deg);
  }
  62% {
    transform: rotate(3deg);
  }
  72% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes gf-head {
  0%,
  26% {
    transform: rotate(0deg);
  }
  30% {
    transform: rotate(1deg);
  }
  36% {
    transform: rotate(-11deg);
  }
  62% {
    transform: rotate(-9deg);
  }
  70% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* flight arc, two bounces, roll, then drop in the cup */
@keyframes ball-x {
  0%,
  30% {
    transform: translateX(0);
  }
  44% {
    transform: translateX(230px);
  }
  48% {
    transform: translateX(256px);
  }
  51% {
    transform: translateX(270px);
  }
  56% {
    transform: translateX(280px);
  }
  90% {
    transform: translateX(280px);
  }
  90.01% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes ball-y {
  0%,
  30% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  33.5% {
    transform: translateY(-109px) scale(1);
  }
  37% {
    transform: translateY(-145px) scale(1);
  }
  40.5% {
    transform: translateY(-109px) scale(1);
  }
  44% {
    transform: translateY(0) scale(1);
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1);
  }
  46% {
    transform: translateY(-40px) scale(1);
    animation-timing-function: cubic-bezier(0.6, 0, 0.8, 0.4);
  }
  48% {
    transform: translateY(0) scale(1);
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1);
  }
  49.5% {
    transform: translateY(-14px) scale(1);
    animation-timing-function: cubic-bezier(0.6, 0, 0.8, 0.4);
  }
  51% {
    transform: translateY(0) scale(1);
  }
  56% {
    transform: translateY(1px) scale(1);
    opacity: 1;
  }
  57% {
    transform: translateY(2px) scale(1);
    animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.7);
  }
  59% {
    transform: translateY(17px) scale(0.6);
    opacity: 0;
  }
  90% {
    transform: translateY(17px) scale(0.6);
    opacity: 0;
  }
  90.01% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  96% {
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes ball-spin {
  0%,
  30% {
    transform: rotate(0deg);
  }
  56% {
    transform: rotate(1080deg);
  }
  59% {
    transform: rotate(1180deg);
  }
  90% {
    transform: rotate(1180deg);
  }
  90.01% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes ball-shadow {
  0%,
  30% {
    transform: scale(1);
    opacity: 0.4;
  }
  37% {
    transform: scale(0.5);
    opacity: 0.12;
  }
  44% {
    transform: scale(1);
    opacity: 0.4;
  }
  46% {
    transform: scale(0.78);
    opacity: 0.24;
  }
  48% {
    transform: scale(1);
    opacity: 0.4;
  }
  56% {
    transform: scale(1);
    opacity: 0.4;
  }
  58% {
    opacity: 0;
  }
  96% {
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0.4;
  }
}

@keyframes ball-trail {
  0%,
  30% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
  31% {
    opacity: 0.85;
  }
  44% {
    stroke-dashoffset: 0;
    opacity: 0.85;
  }
  54% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
  54.01% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
}

@keyframes impact-puff {
  0%,
  29.5% {
    transform: scale(0.3) translate(0, 0);
    opacity: 0;
  }
  30.5% {
    opacity: 0.7;
  }
  36% {
    transform: scale(2.1) translate(9px, -8px);
    opacity: 0;
  }
  100% {
    transform: scale(0.3) translate(0, 0);
    opacity: 0;
  }
}

@keyframes grass-flick {
  0%,
  29.5% {
    transform: rotate(0deg);
  }
  30.5% {
    transform: rotate(16deg);
  }
  34% {
    transform: rotate(-6deg);
  }
  38% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes hole-pulse {
  0%,
  58% {
    transform: scale(1);
    opacity: 0;
  }
  59% {
    opacity: 0.55;
  }
  66% {
    transform: scale(2.3);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes sink-spark {
  0%,
  58.5% {
    transform: scale(0.4);
    opacity: 0;
  }
  60% {
    opacity: 0.9;
  }
  65% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(0.4);
    opacity: 0;
  }
}

@keyframes flag-cheer {
  0%,
  58% {
    transform: rotate(0deg);
  }
  61% {
    transform: rotate(-2.6deg);
  }
  65% {
    transform: rotate(1.6deg);
  }
  70% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes flag-wave {
  0%,
  100% {
    transform: scaleX(1) skewY(0deg);
  }
  35% {
    transform: scaleX(0.9) skewY(3.5deg);
  }
  70% {
    transform: scaleX(0.96) skewY(-2deg);
  }
}

.hero-float {
  position: absolute;
  left: 4%;
  bottom: 6%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(10, 36, 20, 0.62);
  border: 1px solid rgba(130, 192, 123, 0.35);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.hero-float span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.hero-float strong {
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  color: #fac31a;
  line-height: 1;
}

.hero-spark {
  width: 80px;
  height: 26px;
  color: #82c07b;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 500;
}

.hero-lede {
  max-width: 46ch;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-deliver-kicker {
  margin: 34px 0 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: #82c07b;
}

.hero-deliver {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 26px;
  max-width: 54ch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-deliver li {
  display: flex;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-deliver span {
  color: #fac31a;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding-top: 3px;
}

.hero-deliver strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.hero-deliver em {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 36px;
  margin: 40px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats dt {
  margin: 0 0 6px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero-stats dd {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fac31a;
  line-height: 1;
}

.hero-rated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.hero-stars {
  color: #fac31a;
  letter-spacing: 1px;
  font-size: 0.82rem;
}

.hero-meta {
  display: none;
}

.hero-mark,
.logo-orbit,
.logo-ring,
.logo-plate,
.wordmark,
.wordmark-sub,
.scroll-hint {
  display: none;
}

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(232, 239, 232, 0.7);
  backdrop-filter: blur(8px);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 14px 0;
  white-space: nowrap;
}

.ticker-track span {
  padding-right: 32px;
}

.house-grid {
  display: grid;
  grid-template-columns: minmax(0, 76ch);
  gap: 48px;
}

.house-story p {
  color: var(--ivory-dim);
  line-height: 1.85;
  font-size: 1.05rem;
  font-weight: 300;
}

.house-story a {
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 162, 39, 0.4);
}

.house-panel {
  background:
    linear-gradient(145deg, rgba(201, 162, 39, 0.12), transparent 45%),
    rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px var(--shadow);
}

.panel-kicker {
  margin: 0 0 20px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold);
}

.house-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.house-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
}

.house-list span {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.78rem;
  padding-top: 3px;
}

.house-list strong {
  display: block;
  margin-bottom: 4px;
}

.house-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.5;
}

.case {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 88px;
  perspective: 1000px;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.case-flip {
  grid-template-columns: 0.95fr 1.05fr;
}

.case-flip .case-visual {
  order: 2;
}

.case-visual {
  min-height: 420px;
  border-radius: 28px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease);
  background: radial-gradient(circle at 30% 20%, rgba(201, 162, 39, 0.14), transparent 36%), var(--bg-2);
}

.case-glow {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 55%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22), transparent 70%);
}

.case-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 8px 0 16px;
}

.case-index {
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin: 0;
}

.case-copy p {
  color: var(--ivory-dim);
  line-height: 1.8;
  font-weight: 300;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.tags li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.loykor-art,
.fariwing-art {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.loykor-art {
  background-image:
    radial-gradient(circle at 18% 28%, rgba(201, 162, 39, 0.9) 0 2px, transparent 2.6px),
    radial-gradient(circle at 72% 22%, rgba(201, 162, 39, 0.7) 0 2px, transparent 2.6px),
    radial-gradient(circle at 80% 68%, rgba(201, 162, 39, 0.8) 0 2px, transparent 2.6px),
    radial-gradient(circle at 30% 74%, rgba(201, 162, 39, 0.7) 0 2px, transparent 2.6px),
    linear-gradient(115deg, transparent 0 46%, rgba(201, 162, 39, 0.18) 46.5%, transparent 47%),
    linear-gradient(200deg, transparent 0 54%, rgba(201, 162, 39, 0.14) 54.5%, transparent 55%);
}

.hex {
  position: absolute;
  width: 140px;
  height: 140px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.07);
  animation: float 6s ease-in-out infinite;
}

.hex:nth-child(1) {
  left: 18%;
  top: 18%;
}

.hex:nth-child(2) {
  right: 16%;
  top: 28%;
  width: 90px;
  height: 90px;
  animation-delay: -2s;
}

.hex:nth-child(3) {
  left: 38%;
  bottom: 16%;
  width: 70px;
  height: 70px;
  animation-delay: -3.5s;
}

.loykor-core,
.estate-label {
  text-align: center;
  z-index: 2;
}

.loykor-core p,
.estate-label p {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.28em;
  margin: 0;
  color: var(--gold-bright);
}

.loykor-core small,
.estate-label small {
  font-family: var(--font-mono);
  color: var(--muted);
  letter-spacing: 0.18em;
}

.estate {
  position: absolute;
  inset: 18%;
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr 1fr;
  gap: 10px;
  align-items: end;
}

.estate i {
  display: block;
  background: linear-gradient(to top, rgba(201, 162, 39, 0.08), rgba(201, 162, 39, 0.55));
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-bottom: none;
  animation: rise 5s var(--ease) infinite alternate;
}

.estate i:nth-child(1) { height: 48%; }
.estate i:nth-child(2) { height: 78%; animation-delay: -1s; }
.estate i:nth-child(3) { height: 36%; animation-delay: -2s; }
.estate i:nth-child(4) { height: 62%; animation-delay: -1.6s; }

.craft-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.craft-grid-six {
  grid-template-columns: repeat(3, 1fr);
}

.stat-strip {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.stat-strip div {
  display: grid;
  gap: 6px;
}

.stat-strip strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--gold-bright);
  font-weight: 500;
  line-height: 1;
}

.stat-strip span {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience {
  margin-top: 48px;
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.05), transparent 50%);
}

.experience-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 12px;
  font-weight: 500;
}

.experience-lede {
  color: var(--ivory-dim);
  max-width: 62ch;
  line-height: 1.7;
  margin: 0 0 28px;
  font-weight: 300;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portfolio-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.06), rgba(201, 162, 39, 0.04));
}

.portfolio-metrics div {
  display: grid;
  gap: 4px;
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid var(--line);
}

.portfolio-metrics div:last-child {
  border-right: none;
}

.portfolio-metrics strong {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--accent-bright);
  font-weight: 500;
  line-height: 1;
}

.portfolio-metrics span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 88px;
}

.portfolio-tile {
  --tile-accent: var(--accent);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 24px 22px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, rgba(201, 162, 39, 0.08) 0%, transparent 42%),
    var(--bg-3);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.portfolio-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tile-accent), transparent 85%);
}

.portfolio-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 24px 48px var(--shadow), 0 0 40px rgba(201, 162, 39, 0.08);
}

.portfolio-tile--lead {
  grid-column: span 2;
  min-height: 300px;
}

.portfolio-tile--property,
.portfolio-tile--logistics,
.portfolio-tile--retail,
.portfolio-tile--telecom,
.portfolio-tile--health {
  --tile-accent: var(--accent);
}

.portfolio-tile__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(201, 162, 39, 0.03) 3px,
    rgba(201, 162, 39, 0.03) 4px
  );
  mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
  opacity: 0.6;
}

.portfolio-tile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.portfolio-tile__index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--tile-accent);
}

.portfolio-tile__sector {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(26, 47, 36, 0.05);
}

.portfolio-tile__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  margin: 0 0 12px;
  font-weight: 500;
  line-height: 1.1;
}

.portfolio-tile__lede {
  position: relative;
  z-index: 1;
  flex: 1;
  color: var(--ivory-dim);
  line-height: 1.65;
  font-weight: 400;
  font-size: 0.95rem;
  margin: 0 0 18px;
}

.portfolio-tile .tags {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.house-products {
  margin-top: 24px;
}

.house-product-grid {
  display: grid;
  gap: 48px;
  margin-top: 28px;
}

.case.compact {
  margin-bottom: 0;
}

.case.compact .case-visual,
.case.compact .loykor-art,
.case.compact .fariwing-art {
  min-height: 320px;
}

.portfolio-card,
.team-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  box-shadow: 0 8px 28px var(--shadow);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.portfolio-card:hover,
.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.portfolio-card h4,
.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 6px 0 12px;
  font-weight: 500;
}

.portfolio-card p,
.team-card p {
  color: var(--ivory-dim);
  line-height: 1.7;
  font-weight: 300;
  margin: 0 0 16px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.team-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  box-shadow: 0 0 24px rgba(201, 162, 39, 0.18);
  background: rgba(201, 162, 39, 0.06);
}

.team-mark--design {
  border-color: rgba(201, 162, 39, 0.35);
  color: var(--accent-deep);
  box-shadow: none;
  background: rgba(201, 162, 39, 0.06);
}

.team-photo {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 0 18px;
  border-radius: 50%;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.team-photo--cyber {
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: 0 8px 20px rgba(36, 48, 40, 0.08);
  background: radial-gradient(circle at 30% 20%, rgba(201, 162, 39, 0.12), transparent 55%);
}

.team-photo--cyber::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 20, 20, 0.08) 100%);
}

.team-photo--cyber::after {
  display: none;
}

.team-photo--cyber img {
  filter: contrast(1.06) saturate(1.12) brightness(0.95);
}

.team-card--featured {
  background: linear-gradient(
    165deg,
    rgba(201, 162, 39, 0.1) 0%,
    rgba(201, 162, 39, 0.06) 38%,
    transparent 72%
  );
}

.team-photo--akasha {
  width: 88px;
  height: 88px;
  border: 2px solid rgba(130, 192, 123, 0.55);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.team-photo--akasha img {
  object-position: center 28%;
  filter: contrast(1.04) saturate(1.05);
}

.team-photo--qa {
  border: 2px solid rgba(250, 195, 26, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  background: linear-gradient(145deg, var(--fairway), var(--bg-3));
}

.team-photo--qa img {
  filter: contrast(1.04) saturate(1.05);
}

.team-card--qa {
  background: linear-gradient(
    165deg,
    rgba(201, 162, 39, 0.08) 0%,
    rgba(201, 162, 39, 0.06) 45%,
    transparent 72%
  );
}

.qa-spotlight {
  margin-top: 48px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(201, 162, 39, 0.08), rgba(201, 162, 39, 0.06)),
    var(--bg-3);
  box-shadow: 0 16px 40px var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.qa-spotlight__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 500;
}

.qa-spotlight__copy p:last-of-type {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.75;
  font-weight: 400;
}

.qa-spotlight__tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.qa-spotlight__tracks li {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.qa-spotlight__tracks strong {
  display: block;
  color: var(--accent-deep);
  font-size: 0.92rem;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.qa-spotlight__tracks span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

@keyframes cyber-scan {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(100%);
  }
}

.team {
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

.experience-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(26, 47, 36, 0.06);
}

.experience-grid strong {
  display: block;
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.experience-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.stack {
  padding-top: 40px;
}

.stack-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.stack-col {
  padding: 28px 20px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.stack-col:last-child {
  border-right: none;
}

.stack-label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.stack-items {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
  color: var(--ivory);
  font-weight: 500;
}

.contact-phone {
  margin: 28px 0 0;
}

.contact-phone a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}

.footer-phone {
  margin-top: 14px !important;
}

.footer-phone a {
  color: var(--gold) !important;
}

.craft-card {
  min-height: 280px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s, box-shadow 0.4s;
}

.craft-grid-six .craft-card:nth-child(3n + 1) {
  background: var(--pastel-mint);
}

.craft-grid-six .craft-card:nth-child(3n + 2) {
  background: var(--pastel-lavender);
}

.craft-grid-six .craft-card:nth-child(3n) {
  background: var(--pastel-cream);
}

.craft-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.12), transparent);
}

.craft-card span {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.4rem;
}

.craft-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 24px 0 12px;
}

.craft-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.contact {
  padding-bottom: 140px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-copy p {
  color: var(--ivory-dim);
  line-height: 1.8;
  font-weight: 300;
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 10px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-3);
  box-shadow: 0 20px 50px var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px;
  outline: none;
  color: var(--ivory);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form select {
  color-scheme: dark;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--gold);
  font-size: 0.92rem;
}

.form-status.is-error {
  color: #e08a7a;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  background: var(--bg-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.footer-mark {
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}

.footer-tag,
.footer-grid p {
  color: var(--muted);
  margin: 0;
}

.footer-label {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--gold);
  margin: 0 0 12px !important;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 8px;
  color: var(--ivory-dim);
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
}

.lost {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
}

.lost-inner {
  padding: 80px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: none;
}

.reveal.is-in {
  animation: rise-in 0.9s var(--ease) forwards;
}

.hero .reveal {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes drip {
  0%,
  100% {
    transform: scaleY(0.4);
    transform-origin: top;
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes rise {
  from {
    transform: scaleY(0.92);
    transform-origin: bottom;
  }
  to {
    transform: scaleY(1.08);
    transform-origin: bottom;
  }
}

@keyframes putt {
  0% {
    left: 10%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  72% {
    left: 76%;
    opacity: 1;
  }
  100% {
    left: 88%;
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  html,
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-dot,
  .grain {
    display: none !important;
  }

  .wrap {
    width: min(1180px, calc(100% - 32px));
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: calc(var(--nav-h) + 20px) 0 40px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
  }

  .hero-copy {
    order: -1;
    width: 100%;
  }

  .hero-stage {
    order: 2;
    width: 100%;
  }

  .hero-visual {
    width: min(420px, 92vw);
    margin: 0 auto;
    min-height: 0;
    height: auto;
  }

  .hero-portrait img {
    max-height: 52vh;
  }

  .hero-stats {
    gap: 24px;
    margin-top: 28px;
  }

  .hero-deliver {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav-inner {
    display: flex;
    justify-content: space-between;
  }

  .nav-toggle {
    margin-left: auto;
    z-index: 3;
  }

  .binary-field {
    opacity: 0.16;
  }

  .display {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
    line-height: 0.95;
  }

  .hero-actions {
    margin: 4px 0 12px;
  }

  .house-grid,
  .case,
  .case-flip,
  .contact-grid,
  .section-head.split,
  .craft-grid,
  .experience-grid,
  .portfolio-grid,
  .footer-grid,
  .craft-grid-six,
  .stat-strip,
  .stack-board,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .stack-col {
    padding: 22px 16px 22px 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .stack-col:nth-child(4n) {
    border-right: 1px solid var(--line);
  }

  .stack-col:nth-child(2n) {
    border-right: none;
    padding-right: 0;
  }

  .stack-col:nth-child(n + 5) {
    border-bottom: 1px solid var(--line);
  }

  .stack-col:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .case-flip .case-visual {
    order: 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    background: #0a2414;
    border-bottom: 1px solid var(--line);
    grid-column: auto;
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav.is-open .nav-links a {
    color: var(--text) !important;
  }

  .nav-cta,
  .nav.is-open .nav-cta {
    position: static;
    transform: none;
    text-align: center;
    width: 100%;
  }

  .portfolio-tile--lead {
    grid-column: span 1;
  }

  .section-head.split {
    gap: 20px;
  }

  .section-aside {
    max-width: none;
  }

  .qa-spotlight {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(1180px, calc(100% - 20px));
  }

  :root {
    --nav-h: 68px;
  }

  .hero {
    padding-bottom: 32px;
  }

  .logo-orbit {
    width: min(220px, 85vw);
  }

  .logo-ring,
  .logo-ring-slow {
    animation: none;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
  }

  .house-panel,
  .team-card,
  .craft-card,
  .portfolio-tile,
  .contact-form {
    border-radius: 14px;
  }

  .portfolio-tile {
    min-height: auto;
  }

  .portfolio-tile--lead {
    min-height: auto;
  }

  .ticker {
    display: none;
  }

  .portfolio-metrics {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .portfolio-metrics div {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
  }

  .portfolio-metrics div:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .stack-col,
  .stack-col:nth-child(2n),
  .stack-col:nth-child(4n) {
    border-right: none;
    padding-right: 0;
    padding-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .stack-col:last-child {
    border-bottom: none;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
    width: 100%;
  }

  .contact-form {
    padding: 20px 16px;
  }

  .contact-phone a {
    font-size: clamp(1.25rem, 6vw, 1.6rem);
    word-break: break-word;
  }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
  }

  .ticker-track span {
    font-size: 0.72rem;
  }

  .cursor,
  .cursor-dot {
    display: none !important;
  }

  .section {
    padding: 56px 0;
  }

  .team-card {
    padding: 20px 18px;
  }

  .section-head.split {
    gap: 16px;
  }

  .section-aside {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .craft-grid-six {
    grid-template-columns: 1fr;
  }

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

@media (pointer: coarse) {
  html,
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-dot {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .team-photo--cyber::after {
    opacity: 0.35;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
