/* That's Grand AI — one-page coming soon.
   Logo: official home-pro-2 loop (brand/logo-animation-loop, old text masked)
   plus the approved embossed "that's GrandAI" wordmark. Not a redesign. */

@font-face {
  font-family: "Caveat";
  src: url("../assets/fonts/Caveat-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Black";
  src: url("../assets/fonts/ArchivoBlack-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1410;
  --grand: #26523e;
  --grand-deep: #1a3a2c;
  --gold: #7d6e51;
  --gold-soft: #c9b58a;
  --paper: #f4f1eb;
  --muted: #24302a;
  --thats: #b44a28;
  --focus: #26523e;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: only light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  overflow-x: hidden;
  color-scheme: only light;
  forced-color-adjust: none;
  -webkit-text-fill-color: var(--ink);
}

a {
  color: var(--grand);
  text-underline-offset: 0.15em;
}
a:hover { color: var(--grand-deep); }
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 20;
  background: var(--paper);
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  padding: 0.5rem 0.75rem;
}
.skip-link:focus { top: 0.75rem; }

.preview-banner {
  background: #1a3a2c;
  color: #f4f1eb;
  -webkit-text-fill-color: #f4f1eb;
  font-size: 0.8125rem;
  padding: 0.55rem 1.25rem;
  text-align: center;
}
.preview-banner a { color: #c9b58a; -webkit-text-fill-color: #c9b58a; }

/* --- Official logo stage (copied from site/css/home-pro-2.css, approved 10 Nov) --- */

.hero.hero-map {
  padding: 0 0 2.5rem;
  overflow: hidden;
}

.map-stage {
  --chrome: 8.75rem;
  --stage-h: min(calc(100vw * 9 / 16), calc(100dvh - var(--chrome)));
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: var(--stage-h);
  background: #080a0e;
  overflow: hidden;
}

.map-fit {
  position: relative;
  width: min(100%, calc(var(--stage-h) * 16 / 9));
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 100%;
  background: #080a0e;
  overflow: hidden;
  container-type: size;
}

.map-plane {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  transform: scale(calc(100cqi / 1280px));
  z-index: 1;
  pointer-events: none;
}

.map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  pointer-events: auto;
}

.map-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  background: #080a0e;
  pointer-events: none;
}

.map-poster {
  display: none;
  pointer-events: none;
}

.map-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36%;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(244, 241, 235, 0) 0%, rgba(244, 241, 235, 0.18) 45%, var(--paper) 100%);
}

.wordmark.map-lockup {
  position: absolute;
  z-index: 3;
  right: 2.1rem;
  bottom: 18%;
  margin: 0;
  display: inline-block;
  line-height: 1;
  text-align: left;
  color-scheme: only light;
  forced-color-adjust: none;
}

.wordmark.map-lockup .wm-3d {
  position: relative;
  display: inline-block;
}

.wordmark.map-lockup .wm-side,
.wordmark.map-lockup .wm-hi {
  position: absolute;
  left: 0;
  top: 0;
  user-select: none;
  pointer-events: none;
}

.wordmark.map-lockup .wm-face {
  position: relative;
  z-index: 3;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.wordmark.map-lockup .wm-hi { z-index: 2; }
.wordmark.map-lockup .wm-side { z-index: 1; }

.wordmark.map-lockup .wm-thats {
  display: block;
  font-family: Caveat, "Patrick Hand", cursive;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.01em;
  transform: rotate(-5deg);
  transform-origin: left bottom;
  line-height: 1;
  margin: 0 0 -0.12rem 0.2rem;
  font-size: clamp(1.35rem, 2.7vw, 2.15rem);
}

.wordmark.map-lockup .wm-thats .wm-face {
  background-image: linear-gradient(180deg, #e8784a 0%, #d4552a 52%, #b3411f 100%);
}

.wordmark.map-lockup .wm-thats .wm-hi {
  color: #f6c2ab;
  -webkit-text-fill-color: #f6c2ab;
  transform: translate(-1px, -1px);
}

.wordmark.map-lockup .wm-thats .wm-side {
  color: #3a140c;
  -webkit-text-fill-color: #3a140c;
  text-shadow:
    1px 1px 0 #3a140c,
    2px 2px 0 #2c0f09,
    3px 3px 0 #220b07,
    4px 4px 0 #1a0805,
    5px 5px 0 #140604,
    8px 8px 2px rgba(0, 0, 0, 0.45);
}

.wordmark.map-lockup .grandai {
  display: block;
  font-family: "Archivo Black", Inter, sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.92;
  white-space: nowrap;
  font-size: clamp(2.35rem, 5.4vw, 4.35rem);
}

.wordmark.map-lockup .wm-grand .wm-face {
  background-image: linear-gradient(180deg, #3d7a5c 0%, #26523e 48%, #1a3a2c 100%);
}

.wordmark.map-lockup .wm-grand .wm-hi {
  color: #b7e0c8;
  -webkit-text-fill-color: #b7e0c8;
  transform: translate(-1.2px, -1.2px);
}

.wordmark.map-lockup .wm-grand .wm-side {
  color: #0a1812;
  -webkit-text-fill-color: #0a1812;
  text-shadow:
    1px 1px 0 #10261c,
    2px 2px 0 #0e2118,
    3px 3px 0 #0c1c14,
    4px 4px 0 #0a1812,
    5px 5px 0 #08140f,
    8px 8px 2px rgba(0, 0, 0, 0.4);
}

.wordmark.map-lockup .wm-ai .wm-face {
  background-image: linear-gradient(180deg, #e8d9b0 0%, #c9b58a 32%, #7d6e51 72%, #5c4e38 100%);
}

.wordmark.map-lockup .wm-ai .wm-hi {
  color: #fff6dc;
  -webkit-text-fill-color: #fff6dc;
  transform: translate(-1.2px, -1.2px);
}

.wordmark.map-lockup .wm-ai .wm-side {
  color: #3a2e1c;
  -webkit-text-fill-color: #3a2e1c;
  text-shadow:
    1px 1px 0 #3a2e1c,
    2px 2px 0 #2e2416,
    3px 3px 0 #241c10,
    4px 4px 0 #1c160c,
    5px 5px 0 #16110a,
    8px 8px 2px rgba(0, 0, 0, 0.4);
}

.hero-copy-band {
  position: relative;
  z-index: 4;
  margin-top: -1.25rem;
  padding-top: 0.25rem;
  padding-bottom: 0.5rem;
}

.hero-copy {
  max-width: 42rem;
}

.kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  font-weight: 600;
}

.hero-copy h1 {
  margin: 0 0 0.85rem;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  max-width: 18ch;
}

.lead {
  margin: 0 0 1.15rem;
  font-size: 1.125rem;
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
  max-width: 38rem;
}

.coming {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 650;
  color: var(--grand);
  -webkit-text-fill-color: var(--grand);
}

.contact {
  margin: 0;
  font-size: 1.0625rem;
}
.contact a {
  font-weight: 600;
}

.site-footer {
  padding: 2rem 0 2.75rem;
  border-top: 1px solid rgba(38, 82, 62, 0.16);
  font-size: 0.9375rem;
}
.site-footer p { margin: 0 0 0.75rem; max-width: 50rem; }
.site-footer .disclaimer {
  font-weight: 500;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
}
.site-footer .legal {
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 720px) {
  .map-stage { --chrome: 11rem; }
  .wordmark.map-lockup {
    right: 1.15rem;
    bottom: 18%;
  }
  .wordmark.map-lockup .wm-thats { font-size: 1.15rem; }
  .wordmark.map-lockup .grandai { font-size: 1.95rem; }
  .wordmark.map-lockup .wm-thats .wm-side,
  .wordmark.map-lockup .wm-grand .wm-side,
  .wordmark.map-lockup .wm-ai .wm-side {
    text-shadow:
      1px 1px 0 currentColor,
      2px 2px 0 currentColor,
      3px 3px 0 currentColor,
      6px 6px 2px rgba(0, 0, 0, 0.4);
  }
  .wordmark.map-lockup .wm-hi { transform: translate(-1px, -1px); }
  .hero-copy-band { margin-top: -0.75rem; }
  .hero-copy h1 { max-width: none; }
}

@media (max-width: 500px) {
  .map-stage { --chrome: 12rem; }
  .wordmark.map-lockup {
    right: 0.85rem;
    bottom: 18%;
  }
  .wordmark.map-lockup .wm-thats { font-size: 1.05rem; }
  .wordmark.map-lockup .grandai { font-size: 1.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  .map-video { display: none; }
  .map-poster { display: block; }
}

@supports not (width: 1cqi) {
  .map-plane {
    inset: 0;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transform: none;
  }
  .map-art {
    object-fit: fill;
    object-position: 50% 50%;
  }
}
