/* styles.css: WayneTech landing. Dark, monolithic, engineered. One gold accent. */
:root {
  --bg: #0a0a0b;
  --panel: #101013;
  --text: #f4f5f6;
  --muted: #8b9198;
  --faint: #5a5f66;
  --line: rgba(255, 255, 255, 0.09);
  --gold: #c2a15a;
  --wrap: 1080px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* schematic undertones */
.grid-field {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 80%);
  opacity: .5;
}
.vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 40%, rgba(0,0,0,.65) 100%);
}

/* layout shell */
header, main, footer { position: relative; z-index: 1; }
.topbar, main > section, footer {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 32px;
}
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 26px;
  font-family: "Space Grotesk", sans-serif;
}
.mark-sm { font-weight: 700; letter-spacing: .28em; font-size: .82rem; }
.coord { color: var(--faint); font-size: .7rem; letter-spacing: .18em; }

/* hero */
.hero { padding-top: 13vh; padding-bottom: 15vh; }
.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase; letter-spacing: .46em;
  font-size: .74rem; color: var(--muted); margin-bottom: 30px;
  padding-left: .1em;
}
.wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(3.6rem, 15vw, 12rem);
  line-height: .92; letter-spacing: -.02em;
  background: linear-gradient(180deg, #ffffff 0%, #c6c9cd 62%, #8c9096 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 22px; position: relative; width: fit-content;
}
.wordmark::after {
  content: ""; position: absolute; left: 4px; bottom: 6px;
  width: 108px; height: 2px; background: var(--gold);
  box-shadow: 0 0 18px rgba(194,161,90,.5);
}
.lead {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400; font-size: clamp(1.35rem, 3.4vw, 2.1rem);
  color: #e7e9ea; margin-top: 34px; letter-spacing: -.01em;
}
.mission { max-width: 46ch; color: var(--muted); margin-top: 26px; font-size: 1.02rem; }
.place {
  margin-top: 30px; color: var(--faint);
  font-family: "Space Grotesk", sans-serif; letter-spacing: .04em; font-size: .96rem;
}

/* divisions */
.divisions { padding-block: 8vh; }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 8px; gap: 20px;
}
.section-head .label {
  font-family: "Space Grotesk", sans-serif; text-transform: uppercase;
  letter-spacing: .34em; font-size: .78rem; color: var(--text);
}
.section-head .note { color: var(--faint); font-size: .86rem; text-align: right; }
.division {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 28px;
  padding: 34px 8px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: background .4s var(--ease), padding-left .4s var(--ease);
}
a.division:hover { background: linear-gradient(90deg, rgba(194,161,90,.05), transparent 70%); padding-left: 20px; }
.idx {
  font-family: "Space Grotesk", sans-serif; font-size: 1rem; color: var(--faint);
  letter-spacing: .1em; transition: color .4s var(--ease);
}
a.division:hover .idx { color: var(--gold); }
.d-name { font-family: "Space Grotesk", sans-serif; font-weight: 500; font-size: 1.6rem; display: block; }
.d-desc { color: var(--muted); font-size: .98rem; }
.d-meta { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.status {
  font-family: "Space Grotesk", sans-serif; text-transform: uppercase;
  font-size: .68rem; letter-spacing: .2em; color: var(--faint);
}
.status.active { color: var(--gold); }
.status.active::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); margin-right: 8px; vertical-align: middle;
  box-shadow: 0 0 10px rgba(194,161,90,.8);
}
.d-url { color: var(--faint); font-size: .82rem; letter-spacing: .04em; }
.division.soon { opacity: .62; }

/* contact */
.contact { padding-block: 14vh; text-align: center; }
.c-line { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.4rem, 4vw, 2.4rem); color: #e7e9ea; }
.c-mail {
  display: inline-block; margin-top: 18px; color: var(--text);
  font-size: 1.15rem; text-decoration: none; letter-spacing: .02em;
  border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .3s, color .3s;
}
.c-mail:hover { color: var(--gold); border-color: var(--gold); }

/* footer */
footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 34px; border-top: 1px solid var(--line);
  color: var(--faint); font-size: .8rem; letter-spacing: .06em;
}

/* motion: slow reveal on load */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .95s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }

/* responsive */
@media (max-width: 620px) {
  .topbar { padding-block: 20px; }
  .coord { display: none; }
  .division { grid-template-columns: 40px 1fr; gap: 16px; }
  .d-meta { grid-column: 2; align-items: flex-start; text-align: left; flex-direction: row; gap: 14px; margin-top: 4px; }
  .section-head { flex-direction: column; gap: 6px; }
  .section-head .note { text-align: left; }
  footer { flex-direction: column; gap: 10px; }
}
