:root {
  --gg-ink: #1c2430;
  --gg-muted: #5c6b73;
  --gg-paper: #f4f7f8;
  --gg-card: #ffffff;
  --gg-line: #d5dee2;
  --gg-teal: #0e7f8c;
  --gg-teal-deep: #0b5f69;
  --gg-gold: #e2b227;
  --gg-gold-ink: #3d2e08;
  --gg-shadow: 0 16px 40px rgba(28, 36, 48, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--gg-paper);
  color: var(--gg-ink);
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 0.9em; }

a { color: var(--gg-teal-deep); }
a:hover { color: var(--gg-ink); }

img { max-width: 100%; height: auto; }

.gg-skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gg-ink);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.gg-skip:focus { top: 12px; }

.gg-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 247, 248, 0.94);
  border-bottom: 1px solid var(--gg-line);
  backdrop-filter: blur(10px);
}

.gg-header-inner,
.gg-footer-inner,
.gg-hero,
.gg-beta-inner,
.gg-section,
.gg-close,
.gg-page-hero,
.gg-form,
.gg-split {
  width: min(1080px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.gg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.gg-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--gg-ink);
  text-decoration: none;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 680;
}

.gg-brand img {
  display: block;
  width: auto;
  height: 72px;
  border-radius: 0;
}

.gg-nav {
  display: flex;
  gap: 8px;
}

.gg-nav a {
  color: var(--gg-ink);
  text-decoration: none;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.gg-nav a:hover,
.gg-nav a[aria-current="page"] {
  background: #e4eef0;
}

.gg-main { flex: 1; }

.gg-kicker {
  margin: 0 0 0.4em;
  color: var(--gg-teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gg-lead {
  font-size: 1.25rem;
  color: var(--gg-muted);
  max-width: 38rem;
}

.gg-hero,
.gg-page-hero {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 36px 0 20px;
}

.gg-404 {
  justify-items: start;
  padding-bottom: 64px;
}

.gg-404-art {
  display: block;
  width: min(720px, 100%);
  height: auto;
}

.gg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.2rem;
}

.gg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--gg-teal);
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.gg-button:hover {
  background: var(--gg-teal-deep);
  color: white;
}

.gg-button--ghost {
  background: transparent;
  color: var(--gg-ink);
  border: 1px solid var(--gg-line);
}

.gg-button--ghost:hover {
  background: white;
  color: var(--gg-ink);
}

.gg-beta {
  padding: 12px 0 28px;
}

.gg-beta-inner {
  background: #fff8e4;
  color: var(--gg-gold-ink);
  border: 1px solid #efd48a;
  border-radius: 20px;
  padding: 24px 22px;
}

.gg-beta-inner .gg-kicker { color: #8a6410; }
.gg-beta-inner a { color: var(--gg-gold-ink); font-weight: 700; }
.gg-beta-later { margin-bottom: 0; }

.gg-beta,
.gg-split,
.gg-close,
.gg-section {
  scroll-margin-top: 112px;
}

.gg-section { padding: 28px 0 12px; }
.gg-section--muted { padding-bottom: 36px; }

.gg-section-head { max-width: 40rem; margin-bottom: 18px; }
.gg-section-head p { color: var(--gg-muted); }

.gg-cards {
  display: grid;
  gap: 14px;
}

.gg-card {
  display: block;
  background: var(--gg-card);
  border: 1px solid var(--gg-line);
  border-radius: 18px;
  padding: 18px 18px 8px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--gg-shadow);
}

.gg-card:hover { border-color: #9ec9d0; }
.gg-card p { color: var(--gg-muted); }

.gg-shots {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.gg-split {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 18px 0 28px;
}

.gg-split p:last-child { margin-bottom: 0; }

.gg-crests,
.gg-faces {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gg-crests {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gg-crest {
  background: var(--gg-card);
  border: 1px solid var(--gg-line);
  border-top: 4px solid var(--gg-team, var(--gg-teal));
  border-radius: 18px;
  padding: 12px 12px 14px;
  text-align: center;
  box-shadow: var(--gg-shadow);
}

.gg-crest img {
  display: block;
  width: min(148px, 100%);
  height: auto;
  margin: 0 auto 4px;
}

.gg-crest span,
.gg-face span {
  display: block;
  font-weight: 700;
}

.gg-faces {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 10px;
}

.gg-face { text-align: center; }

.gg-face img {
  display: block;
  width: min(96px, 100%);
  height: auto;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: #12161c;
}

.gg-face span {
  font-size: 0.92rem;
  line-height: 1.2;
}

.gg-shot { margin: 0; }

.gg-shot img,
.gg-shot-placeholder {
  width: 100%;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--gg-line);
  box-shadow: var(--gg-shadow);
}

.gg-shot--phone {
  width: min(280px, 100%);
  justify-self: center;
}

.gg-shot.is-missing {
  width: min(360px, 100%);
}

.gg-shot--phone img,
.gg-shot--phone .gg-shot-placeholder {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.gg-shot--wide img,
.gg-shot--wide .gg-shot-placeholder {
  aspect-ratio: 16 / 10;
}

.gg-shot.is-missing .gg-shot-placeholder {
  aspect-ratio: auto;
  min-height: 0;
  justify-content: flex-start;
}

.gg-shot-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(244, 247, 248, 0.2), rgba(28, 36, 48, 0.04)),
    repeating-linear-gradient(135deg, #f7fbfb, #f7fbfb 12px, #eef5f6 12px, #eef5f6 13px);
  color: var(--gg-ink);
  overflow: auto;
}

.gg-shot-kicker {
  color: var(--gg-teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gg-shot-placeholder p {
  margin: 0;
  font-size: 0.98rem;
}

.gg-shot-placeholder code {
  font-size: 0.78rem;
  color: var(--gg-muted);
  word-break: break-all;
}

.gg-close {
  padding: 12px 0 64px;
}

.gg-policy {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0 64px;
}

.gg-policy h2 {
  margin-top: 1.5em;
  font-size: 1.6rem;
}

.gg-policy ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.gg-policy li { margin: 0.2em 0; }

.gg-policy a { font-weight: 700; }

.gg-form {
  max-width: 640px;
  padding: 8px 0 64px;
}

.gg-field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.gg-field label { font-weight: 700; }

.gg-field input,
.gg-field textarea {
  width: 100%;
  font: inherit;
  color: var(--gg-ink);
  background: white;
  border: 1px solid var(--gg-line);
  border-radius: 14px;
  padding: 12px 14px;
}

.gg-field textarea {
  min-height: 160px;
  resize: vertical;
}

.gg-captcha img {
  display: block;
  border-radius: 10px;
  background: white;
}

.gg-captcha input {
  max-width: 10rem;
  letter-spacing: 0.18em;
}

.gg-field input:focus,
.gg-field textarea:focus {
  outline: 2px solid var(--gg-teal);
  border-color: var(--gg-teal);
}

.gg-form-note {
  background: #fff1f0;
  border: 1px solid #e7b4b0;
  color: #6d201c;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 16px;
}

.gg-form-note.is-success {
  background: #eef8f1;
  border-color: #b7dcc2;
  color: #1d4a2e;
}

button.gg-button {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.gg-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gg-footer {
  margin-top: auto;
  border-top: 1px solid var(--gg-line);
  background: white;
}

.gg-footer-inner {
  padding: 22px 0 28px;
}

.gg-footer p { margin: 0 0 8px; color: var(--gg-muted); }
.gg-footer strong { color: var(--gg-ink); }
.gg-footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.gg-footer-links a { font-weight: 700; text-decoration: none; }

@media (max-width: 520px) {
  .gg-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
  }

  .gg-nav { margin-left: -8px; }
}

@media (min-width: 800px) {
  .gg-brand img { height: 88px; }

  .gg-section > .gg-crests {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gg-section > .gg-faces {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .gg-hero {
    grid-template-columns: 1.2fr 0.8fr;
    padding-top: 64px;
  }

  .gg-hero .gg-shot {
    justify-self: end;
  }

  .gg-cards { grid-template-columns: 1fr 1fr; }
  .gg-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }

  .gg-split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    padding: 28px 0 36px;
  }

  .gg-split--flip > :first-child { order: 2; }
}

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