/*
Theme Name: GovTech Australia
Theme URI: https://govtech.au
Author: GovTech Australia
Description: Official theme for GovTech Australia - sovereign tech advocacy
Version: 1.0.0
License: Private
Text Domain: govtech
*/

/* ============================================================
   DESIGN SYSTEM
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&family=DM+Mono:wght@400;500&display=swap');

:root {
  --black:       #0a0a0a;
  --white:       #f5f2ec;
  --gold:        #c8a96e;
  --gold-light:  #e2c992;
  --gold-dark:   #8a6e3a;
  --slate:       #1a1e26;
  --slate-mid:   #252b36;
  --slate-light: #3a4150;
  --text-muted:  #8a9ab0;
  --border:      rgba(200,169,110,0.2);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --max-w: 1140px;
  --nav-h: 72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--slate);
  color: var(--white);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 0;
}

.section--dark  { background: var(--black); }
.section--slate { background: var(--slate); }
.section--mid   { background: var(--slate-mid); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.display-xl {
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.95;
  color: var(--white);
}

.display-lg {
  font-size: clamp(40px, 6vw, 80px);
  color: var(--white);
}

.display-md {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--white);
}

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.body-lg {
  font-size: 19px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--text-muted);
}

.body-md {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text-muted);
}

/* ============================================================
   GOLD ACCENT LINE
   ============================================================ */

.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo img {
  height: 38px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s;
}

.site-nav a:hover,
.site-nav a.current-menu-item { color: var(--gold); }

.site-nav a:hover::after,
.site-nav a.current-menu-item::after { width: 100%; }

.nav-cta {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--black) !important;
  background: var(--gold);
  padding: 10px 20px;
  transition: background 0.2s, color 0.2s !important;
}

.nav-cta:hover { background: var(--gold-light) !important; }
.nav-cta::after { display: none !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn-gold {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--black);
}

.btn-outline {
  color: var(--gold);
  background: transparent;
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-white {
  color: var(--white);
  background: transparent;
  border-color: rgba(245,242,236,0.4);
}

.btn-white:hover {
  background: var(--white);
  color: var(--black);
}

/* ============================================================
   HERO - HOME
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(200,169,110,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(200,169,110,0.04) 0%, transparent 60%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.hero__eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(72px, 11vw, 156px);
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 16px;
}

.hero__headline .accent { color: var(--gold); }

.hero__subhead {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.0;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero__body {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero__scroll span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ============================================================
   MISSION STRIP
   ============================================================ */

.mission-strip {
  background: var(--gold);
  padding: 20px 0;
  overflow: hidden;
}

.mission-strip__track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.mission-strip__item {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--black);
  padding: 0 48px;
  white-space: nowrap;
}

.mission-strip__dot {
  color: rgba(10,10,10,0.3);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   MISSION / ABOUT BLOCK
   ============================================================ */

.mission {
  background: var(--black);
  padding: 112px 0;
}

.mission__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.mission__left {}

.mission__right {
  padding-top: 12px;
}

.mission__stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 56px;
}

.mission__stat {
  background: var(--slate-mid);
  padding: 32px 28px;
}

.mission__stat-number {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.mission__stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   SERVICES GRID
   ============================================================ */

.services {
  background: var(--slate);
  padding: 112px 0;
}

.section-header {
  margin-bottom: 72px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--slate-mid);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.service-card:hover { background: var(--slate-light); }
.service-card:hover::before { transform: scaleX(1); }

.service-card__number {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  margin-bottom: 24px;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.service-card__body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

.service-card__list {
  margin-top: 20px;
}

.service-card__list li {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  padding: 6px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.service-card__list li::before {
  content: '>';
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   GAP PROGRAM
   ============================================================ */

.gap-section {
  background: var(--black);
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}

.gap-section::before {
  content: 'GAP';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(200px, 25vw, 380px);
  color: rgba(200,169,110,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.gap__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.gap__benefits {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 40px;
}

.gap__benefit {
  display: flex;
  gap: 20px;
  background: var(--slate-mid);
  padding: 28px 32px;
  align-items: flex-start;
}

.gap__benefit-icon {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  flex-shrink: 0;
  padding-top: 2px;
}

.gap__benefit-text {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

.gap__benefit-text strong {
  color: var(--white);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gap__cta-block {
  background: var(--slate-mid);
  padding: 48px;
  border-top: 2px solid var(--gold);
}

.gap__cta-block h3 {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--white);
  margin-bottom: 16px;
}

.gap__cta-block p {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-section {
  background: var(--slate);
  padding: 112px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--slate-mid);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-light);
}

.urgent-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.urgent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  flex-shrink: 0;
  padding: 0;
}

.urgent-row label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
}

.contact__info {}

.contact__info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.contact__info-item:first-child { border-top: 1px solid var(--border); }

.contact__info-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact__info-value {
  font-size: 16px;
  font-weight: 300;
  color: var(--white);
}

/* ============================================================
   GAP FORM (application form)
   ============================================================ */

.gap__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer__brand img {
  height: 36px;
  width: auto;
  margin-bottom: 20px;
}

.footer__brand p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col ul li a {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__col ul li a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.footer__ack {
  font-size: 12px;
  font-weight: 300;
  color: rgba(138,154,176,0.6);
  line-height: 1.7;
  max-width: 560px;
}

.footer__legal {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.footer__legal a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(138,154,176,0.5);
  transition: color 0.2s;
}

.footer__legal a:hover { color: var(--text-muted); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */

.page-hero {
  background: var(--black);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(200,169,110,0.06) 0%, transparent 70%);
}

.page-hero__label {
  margin-bottom: 20px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 104px);
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 24px;
}

.page-hero__sub {
  font-size: 19px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.65;
}

/* ============================================================
   FORM SUCCESS
   ============================================================ */

.form-success {
  background: rgba(200,169,110,0.08);
  border: 1px solid var(--gold);
  padding: 24px 28px;
  display: none;
}

.form-success p {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .mission__grid, .gap__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .mission, .services, .gap-section, .contact-section, .site-footer { padding: 72px 0; }

  .site-nav { display: none; }
  .menu-toggle { display: flex; }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    padding: 48px 32px;
    gap: 32px;
    z-index: 99;
  }

  .site-nav.is-open a {
    font-size: 14px;
  }

  .site-nav.is-open .nav-cta {
    font-size: 13px !important;
    padding: 12px 24px;
  }

  .services__grid { grid-template-columns: 1fr; }
  .mission__stat-row { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  .gap-section::before { display: none; }
}
