@font-face { font-family: 'Formic'; font-weight: 500; font-display: swap; src: url('formic-500.woff2') format('woff2'); }
@font-face { font-family: 'Formic'; font-weight: 600; font-display: swap; src: url('formic-600.woff2') format('woff2'); }
@font-face { font-family: 'Formic'; font-weight: 700; font-display: swap; src: url('formic-700.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Variable'; font-weight: 200 1000; font-display: swap; src: url('nunito-latin-wght-normal.woff2') format('woff2'); }

:root {
  --font-body: 'Nunito Variable', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Formic', 'Nunito Variable', 'Segoe UI', system-ui, sans-serif;
  /* The studio's colours are the Ant Colonies Online page's: dark soil, warm gold and leaf green. */
  --ground: #100d0a;
  --card: #18130e;
  --card-edge: #3b2d1f;
  --text: #fff0d6;
  --muted: #d8c7ab;
  --quiet: #a59176;
  --gold: #e6bd72;
  --leaf: #5d7d2c;
  --leaf-light: #8aa44a;
  --leaf-dark: #435c1d;
  --leaf-ink: #bcd47f;
  --rust-ink: #ec9474;
  /* NeonRep's card uses the app's Miami colours (src/constants/theme.ts in the workout-tracker repo). */
  --miami-night: #120b24;
  --miami-violet: #231633;
  --miami-pink: #ff70d5;
  --miami-aqua: #53f5ed;
  --miami-text: #fff3fc;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--text);
  font: 15px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
  background: var(--ground);
}
a { color: var(--gold); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.page {
  min-height: 100svh;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 12%, #30211670, transparent 55%),
    repeating-radial-gradient(ellipse at 23% 80%, #ba946004 0 1px, transparent 1px 5px), var(--ground);
}

/* The top: the studio's logo and what the studio does. */
.hero { width: min(760px, 100%); margin: 0 auto; padding: 36px 16px 0; text-align: center; }
.logo { width: min(560px, 100%); margin: 0 auto; }
.logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 18px #000); }
.coming-soon {
  margin: 26px 0 8px; font-family: var(--font-display); font-size: clamp(21px, 2.6vw, 28px); font-weight: 700;
  letter-spacing: 0.03em; color: var(--gold); text-shadow: 0 2px 14px #000;
}
.tagline { max-width: 30em; margin: 0 auto; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* The two projects, side by side on a wide screen and one above the other on a phone. */
.projects { width: min(1000px, 100%); margin: 48px auto 0; padding: 0 16px; }
.section-title {
  margin: 0 0 16px; text-align: center; font-family: var(--font-display); font-size: 15px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--quiet);
}
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--card-edge); border-radius: 16px;
  box-shadow: 0 14px 30px #00000066;
}
.card-art { position: relative; height: 180px; }
.card-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.card-title { margin: 0; font-family: var(--font-display); font-size: 23px; font-weight: 700; letter-spacing: -0.01em; }
.card-text { margin: 0; color: var(--muted); font-size: 15.5px; }
.tag {
  align-self: flex-start; padding: 3px 10px; border: 1px solid; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.tag-colonies { color: var(--leaf-ink); border-color: var(--leaf); }
.tag-neonrep { color: var(--miami-aqua); border-color: #53f5ed80; }
.card-link { margin-top: auto; padding-top: 6px; font-weight: 800; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* NeonRep's picture is drawn here, from the app's own Miami skyline and palms (assets/images/miami-*.svg). */
.neon-art {
  background: radial-gradient(ellipse at 76% 36%, #ff70d538, transparent 58%),
    linear-gradient(var(--miami-violet), var(--miami-night));
  border-bottom: 1px solid #69426f;
}
.neon-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.neon-skyline { color: var(--miami-aqua); opacity: 0.4; }
.neon-sunset { color: var(--miami-pink); opacity: 0.75; }
.neon-palms { color: var(--miami-pink); opacity: 0.9; }
.neon-word {
  position: absolute; left: 22px; top: 32%; margin: 0;
  font-family: var(--font-body); font-size: clamp(36px, 10vw, 46px); font-weight: 900; line-height: 1;
  color: var(--miami-text); letter-spacing: 0.01em;
  text-shadow: 0 0 4px var(--miami-pink), 0 0 14px var(--miami-pink), 0 0 32px #ff70d599;
  animation: neon-hum 9s linear infinite;
}
.neon-word span { text-shadow: 0 0 4px var(--miami-aqua), 0 0 14px var(--miami-aqua), 0 0 32px #53f5ed99; }
/* Like a real neon sign, it flickers twice now and then. */
@keyframes neon-hum {
  0%, 61%, 63%, 65%, 100% { opacity: 1; }
  62%, 64% { opacity: 0.55; }
}

/* The two forms, the sign-up and the contact form. Netlify keeps what people send. */
.form-box { width: min(440px, 100%); margin: 52px auto 0; padding: 0 16px; text-align: center; }
.form-title { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text); }
.form-intro { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.form { margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.form > label { color: var(--muted); font-size: 14px; }
/* A box with its label above it, in the contact form. */
.form > .field { display: flex; flex-direction: column; gap: 5px; text-align: left; }
.form input[type="email"], .form input[type="text"], .form textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 16px; background: #100d09; color: var(--text);
  border: 1px solid #8b6942; border-radius: 9px; padding: 12px 14px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #ad9879; }
.form input[type="email"]:focus, .form input[type="text"]:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.consent { display: flex; gap: 10px; align-items: flex-start; text-align: left; color: #b5a084; font-size: 13px; line-height: 1.45; cursor: pointer; }
.consent input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--leaf-light); cursor: pointer; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.button {
  width: 100%; border: 2px solid var(--leaf-dark); border-bottom-width: 4px; border-radius: 14px; padding: 11px 22px;
  background: linear-gradient(var(--leaf-light), var(--leaf)); color: #fbf8ea; text-shadow: 0 1px 0 #2f420f80;
  font: 600 18px var(--font-display); cursor: pointer; transition: transform 0.08s, box-shadow 0.15s;
}
.button:hover:not(:disabled) { box-shadow: inset 0 0 0 999px #ffffff1c; }
.button:active:not(:disabled) { transform: translateY(1px); border-bottom-width: 2px; margin-top: 2px; }
.button:disabled { opacity: 0.5; cursor: default; }
.button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.status { min-height: 1.5em; margin: 10px 0 0; font-size: 14px; }
.status:focus { outline: none; }
.status.bad { color: var(--rust-ink); }
.status.done { margin-top: 20px; color: var(--leaf-ink); font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.fine-print { margin: 0; color: var(--quiet); font-size: 12px; line-height: 1.5; }

.footer { margin: 56px auto 0; padding: 22px 16px 32px; border-top: 1px solid #2a2017; text-align: center; color: var(--quiet); font-size: 14px; }
.footer p { margin: 4px 0; }

@media (prefers-reduced-motion: reduce) {
  .neon-word { animation: none; }
}

/* The language menu, top right. It's a plain list of links to the page in each language, so it works without
   JavaScript; the script on each page only closes it when you click somewhere else. */
.page { position: relative; }
.lang { position: absolute; top: 12px; right: 16px; z-index: 2; font-size: 14px; text-align: left; }
.lang summary {
  display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer;
  padding: 6px 12px; border: 1px solid var(--card-edge); border-radius: 999px; background: #18130ecc; color: var(--muted);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: '▾'; font-size: 11px; }
.lang details[open] summary::after { content: '▴'; }
.lang summary:hover { color: var(--text); }
.lang summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lang summary svg { width: 15px; height: 15px; }
.lang ul {
  position: absolute; right: 0; min-width: 190px; margin: 6px 0 0; padding: 6px; list-style: none;
  background: var(--card); border: 1px solid var(--card-edge); border-radius: 12px; box-shadow: 0 10px 24px #000000aa;
}
.lang a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.lang a:hover, .lang a:focus-visible { background: #2a2017; }
.lang a[aria-current] { color: var(--gold); font-weight: 800; }

/* NeonRep's app icon beside its name, as an app store shows it. */
.card-head { display: flex; align-items: center; gap: 12px; }
.app-icon { flex: none; width: 48px; height: 48px; border-radius: 11px; box-shadow: 0 0 0 1px #69426f, 0 4px 14px #ff70d533; }
