/* The Autonomous Golf Course — Case Study 02 */

.gc-page main { position: relative; z-index: 1; overflow-x: clip; }
.gc-page .footer { position: relative; z-index: 1; }

body.site.gc-page {
  background-color: #070b14;
  background-image:
    radial-gradient(ellipse 34% 46% at 0% 58%, rgba(255, 51, 153, 0.16), transparent 62%),
    radial-gradient(ellipse 36% 50% at 100% 38%, rgba(0, 255, 255, 0.13), transparent 64%),
    radial-gradient(ellipse 28% 36% at 100% 78%, rgba(255, 51, 153, 0.1), transparent 70%),
    linear-gradient(rgba(232, 236, 244, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 236, 244, 0.03) 1px, transparent 1px);
  background-size: auto, auto, auto, 56px 56px, 56px 56px;
}

.gc-kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-cyan);
  font-synthesis: none;
  margin: 0 0 var(--space-5);
}
.gc-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0 auto var(--space-6);
  max-width: 100%;
  font-size: clamp(1.2rem, 2.7vw, 2.45rem);
}
.gc-lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--color-text);
  font-size: clamp(1.02rem, 1.15vw, 1.28rem);
  line-height: 1.6;
}
.gc-break { display: block; }
.gc-wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}
.gc-panel {
  background:
    linear-gradient(180deg, rgba(8, 12, 24, 0.94), rgba(5, 8, 16, 0.96)) padding-box,
    linear-gradient(120deg, #FF3399, #FF9900 46%, #00FFFF) border-box;
  border: 1px solid transparent;
  border-radius: 10px;
}

/* Hero */
.gc-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-height) + 28px) 0 36px;
  text-align: center;
  overflow: hidden;
}
.gc-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.78) 0%, rgba(5, 8, 16, 0.42) 22%, rgba(5, 8, 16, 0.18) 46%, rgba(5, 8, 16, 0.55) 72%, rgba(5, 8, 16, 0.92) 100%),
    url("../assets/golf-course-case-study-bg.jpg") center 42% / cover no-repeat;
  z-index: 0;
}
.gc-hero-copy,
.gc-stats { position: relative; z-index: 1; }
.gc-hero-copy {
  margin-top: clamp(12px, 4vh, 48px);
  margin-bottom: auto;
  padding-bottom: var(--space-8);
}
.gc-hero h1 {
  font-size: clamp(1.15rem, 2.85vw, 2.55rem);
  letter-spacing: 0.035em;
}
.gc-hero .gc-lead { margin-bottom: 0; }

.gc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}
.gc-stat {
  padding: var(--space-6) var(--space-4) var(--space-5);
  text-align: center;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
}
.gc-stat strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  font-size: clamp(1.45rem, 2.3vw, 2.35rem);
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1.1;
}
.gc-unit {
  color: var(--color-cyan);
  font-size: 0.78em;
}
.gc-stat span {
  color: #d5dbe8;
  font-size: var(--text-sm);
  line-height: 1.4;
}

/* The round */
.gc-section {
  position: relative;
  padding: var(--space-20) 0;
}
.gc-section .gc-kicker,
.gc-section .gc-title,
.gc-section .gc-lead { text-align: center; }
.gc-fleet-label {
  margin: var(--space-16) 0 var(--space-6);
  text-align: left;
  letter-spacing: 0.16em;
}
.gc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}
.gc-card {
  padding: var(--space-6);
  min-height: 230px;
}
.gc-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(8, 12, 24, 0.94), rgba(5, 8, 16, 0.96)) padding-box,
    linear-gradient(160deg, #00FFFF, #FF3399) border-box;
}
.gc-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(8, 12, 24, 0.94), rgba(5, 8, 16, 0.96)) padding-box,
    linear-gradient(200deg, #00FFFF, rgba(255, 51, 153, 0.55)) border-box;
}
.gc-card-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--color-cyan);
  margin-bottom: var(--space-4);
}
.gc-card-icon svg { width: 28px; height: 28px; display: block; }
.gc-card h3 {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  margin: 0 0 var(--space-3);
  text-transform: uppercase;
}
.gc-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.gc-banner {
  margin-top: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.45;
  text-align: left;
}
.gc-banner img { width: 28px; height: 28px; flex-shrink: 0; }
.gc-banner p { margin: 0; }

/* Architecture */
.gc-arch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: var(--space-6);
  align-items: center;
  margin-top: var(--space-10);
}
.gc-diagram {
  display: grid;
  grid-template-columns: minmax(118px, 168px) 78px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 0;
  min-height: 460px;
}
.gc-col-label {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-cyan);
  font-weight: 400;
  font-synthesis: none;
}
.gc-tools {
  grid-column: 1;
  grid-row: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.gc-tools li {
  border: 1px solid rgba(0, 255, 255, 0.7);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  background: rgba(7, 11, 20, 0.82);
  font-synthesis: none;
  line-height: 1.35;
}
.gc-wires {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  width: 100%;
  height: 100%;
}
.gc-wires svg { width: 100%; height: 100%; display: block; }
.gc-wires i {
  position: absolute;
  right: -3px;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-radius: 50%;
  background: #00FFFF;
  box-shadow: 0 0 8px #00FFFF;
}
.gc-wires i:nth-child(2) { top: 10%; }
.gc-wires i:nth-child(3) { top: 37%; }
.gc-wires i:nth-child(4) { top: 64%; }
.gc-wires i:nth-child(5) { top: 90%; }
.gc-layers {
  grid-column: 3;
  grid-row: 2;
  list-style: none;
  margin: 0;
  padding: 0 0 0 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.gc-layer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 68px;
  padding: 12px 18px 12px 14px;
  background:
    linear-gradient(90deg, rgba(22, 8, 24, 0.96), rgba(8, 12, 22, 0.94)) padding-box,
    linear-gradient(90deg, #FF3399, rgba(255, 51, 153, 0.2)) border-box;
  border: 1px solid transparent;
  clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 88%);
  font-family: var(--font-display);
  font-size: clamp(0.62rem, 0.95vw, 0.78rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.35;
  filter: drop-shadow(0 0 8px rgba(255, 51, 153, 0.45));
}
.gc-layer img { width: 22px; height: 22px; flex-shrink: 0; }

.gc-super { padding: var(--space-5) var(--space-5) var(--space-6); }
.gc-super-label {
  margin: 0 0 var(--space-4);
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-cyan);
  font-weight: 400;
  font-synthesis: none;
}
.gc-phone {
  width: min(230px, 100%);
  margin: 0 auto;
  border: 2px solid rgba(232, 236, 244, 0.55);
  border-radius: 28px;
  padding: 12px 12px 16px;
  background: #070b16;
  box-shadow: inset 0 0 0 1px rgba(0, 255, 255, 0.16), 0 0 24px rgba(255, 51, 153, 0.12);
}
.gc-phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.62rem;
  color: rgba(232, 236, 244, 0.7);
  padding: 0 6px 8px;
  font-family: var(--font-body);
}
.gc-phone-status svg { width: 52px; height: 12px; display: block; }
.gc-phone-card {
  border: 1px solid rgba(255, 51, 153, 0.75);
  border-radius: 10px;
  padding: 12px 10px 12px;
  text-align: center;
  background: rgba(20, 10, 28, 0.85);
}
.gc-phone-card p { margin: 0; }
.gc-phone-kicker {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.gc-phone-q {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  letter-spacing: 0.03em;
  margin-top: 6px !important;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.35;
}
.gc-phone-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.gc-approve,
.gc-hold {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 6px;
  font-synthesis: none;
}
.gc-approve { background: #FF3399; color: #fff; }
.gc-hold {
  border: 1px solid var(--color-cyan);
  color: var(--color-cyan);
}
.gc-wave { width: 100%; height: 36px; margin-top: 14px; display: block; }
.gc-voice {
  margin: 8px 0 0 !important;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.gc-phone-cap {
  margin: var(--space-4) 0 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.45;
}

/* Numbers + deployment */
.gc-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: var(--space-5);
  align-items: stretch;
}
.gc-numbers,
.gc-deploy { padding: var(--space-6); }
.gc-numbers .gc-kicker,
.gc-deploy .gc-kicker {
  text-align: left;
  letter-spacing: 0.14em;
  margin-bottom: var(--space-5);
}
.gc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.gc-table th {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-cyan);
  text-align: left;
  padding: 0 8px 12px;
}
.gc-table tbody th {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text);
  padding: 12px 8px;
}
.gc-table th:nth-child(2),
.gc-table th:nth-child(3),
.gc-table td:nth-child(2),
.gc-table td:nth-child(3) { text-align: center; }
.gc-table td {
  padding: 12px 8px;
  border-top: 1px solid rgba(232, 236, 244, 0.1);
  color: var(--color-text);
}
.gc-table td:nth-child(3) { color: var(--color-cyan); }
.gc-note {
  margin: var(--space-5) 0 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.gc-time {
  list-style: none;
  margin: 0;
  padding: 4px 0 0 28px;
  display: grid;
  gap: var(--space-6);
}
.gc-time li { position: relative; }
.gc-time li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 4px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: #FF3399;
  box-shadow: 0 0 10px rgba(255, 51, 153, 0.85);
}
.gc-time li::after {
  content: "";
  position: absolute;
  left: -23px;
  top: 18px;
  bottom: -32px;
  width: 2px;
  background: linear-gradient(#FF3399, rgba(0, 255, 255, 0.85));
}
.gc-time li:last-child::after { display: none; }
.gc-time strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.gc-time span { color: var(--color-text-muted); font-size: var(--text-sm); }

.gc-cta {
  margin-top: var(--space-5);
  padding: var(--space-10) var(--space-6);
  text-align: center;
}
.gc-cta h2 {
  font-size: clamp(0.92rem, 1.45vw, 1.35rem);
  letter-spacing: 0.06em;
  margin: 0 0 var(--space-6);
  max-width: none;
  color: var(--color-cyan);
}
.gc-cta .btn { min-width: min(100%, 340px); }
.gc-back {
  display: inline-block;
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-cyan);
  font-synthesis: none;
}
.gc-back:hover { color: var(--color-pink); }
.gc-sources {
  margin: var(--space-6) auto 0;
  max-width: 820px;
  text-align: center;
  color: var(--color-text-faint);
  font-size: 0.78rem;
  line-height: 1.55;
}
.gc-sources a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gc-sources a:hover { color: var(--color-cyan); }

@media (max-width: 900px) {
  .gc-wrap { width: min(1120px, calc(100% - 32px)); }
  .gc-cards,
  .gc-split,
  .gc-arch { grid-template-columns: 1fr; }
  .gc-hero { min-height: auto; padding-top: calc(var(--nav-height) + 28px); padding-bottom: 28px; }
  .gc-hero-copy { margin-bottom: var(--space-8); }
  .gc-hero h1 { max-width: none; }
  .gc-diagram {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: var(--space-4);
  }
  .gc-wires { display: none; }
  .gc-col-label,
  .gc-tools,
  .gc-layers { grid-column: 1; grid-row: auto; }
  .gc-tools { gap: 10px; }
  .gc-layer { clip-path: none; border-radius: 8px; }
  .gc-fleet-label { text-align: center; }
  .gc-title { letter-spacing: 0.04em; }
  .gc-super { max-width: 420px; margin: 0 auto; width: 100%; }
}

@media (max-width: 860px) {
  .gc-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .gc-break { display: inline; }
  .gc-banner { align-items: flex-start; justify-content: flex-start; }
}

@media (max-width: 560px) {
  .gc-stats { grid-template-columns: 1fr 1fr; }
  .gc-stat { min-height: 124px; padding: var(--space-4) var(--space-3); }
  .gc-table th:nth-child(1),
  .gc-table td:first-child,
  .gc-table tbody th { width: 40%; }
  .gc-table th,
  .gc-table td { padding-left: 4px; padding-right: 4px; }
  .gc-cta { padding: var(--space-8) var(--space-4); }
}

@media (prefers-reduced-motion: reduce) {
  body.site.gc-page { background-attachment: scroll; }
}
