/* Superscreens Australia — site styles */

:root {
  --bg: #070b14;
  --bg-2: #0c1322;
  --panel: #101a2e;
  --line: #1d2a44;
  --text: #e8edf5;
  --muted: #9aa8bd;
  --accent: #4f8ad8;
  --accent-deep: #3b6eb6;
  --max: 1180px;
  --radius: 10px;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #7fb0ee; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .display {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.4rem; }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.lead { font-size: 1.2rem; color: var(--muted); max-width: 46em; }

section { padding: 84px 0; }
section.tight { padding: 56px 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand img { height: 44px; width: auto; }

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

.site-nav a {
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

.site-nav .btn { border-bottom: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--accent-deep);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }

.btn.ghost {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn.ghost:hover { background: var(--accent); color: #fff; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,11,20,0.25) 0%, rgba(7,11,20,0.55) 55%, var(--bg) 100%);
}

/* stronger scrim for heroes over busy/bright imagery, keeps text legible */
.hero.scrim::after {
  background:
    linear-gradient(90deg, rgba(7,11,20,0.75) 0%, rgba(7,11,20,0.4) 60%, rgba(7,11,20,0.25) 100%),
    linear-gradient(180deg, rgba(7,11,20,0.5) 0%, rgba(7,11,20,0.65) 60%, var(--bg) 100%);
}

.hero .wrap { position: relative; z-index: 1; padding-bottom: 72px; padding-top: 120px; }

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  max-width: 12em;
}

.hero h1 .accent { color: var(--accent); }

.hero .lead { margin-top: 1rem; color: #c4d0e2; }

.hero .actions { margin-top: 2rem; display: flex; gap: 16px; flex-wrap: wrap; }

.hero.short { min-height: 46vh; }

/* ---------- cards / grids ---------- */

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
}

.card:hover { transform: translateY(-4px); border-color: var(--accent-deep); }

.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

.card .body { padding: 22px 24px 26px; flex: 1; }

.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .more {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

a.card { color: inherit; }

/* ---------- split feature rows ---------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.feature:first-of-type { border-top: none; }

.feature img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

.feature.flip .media { order: 2; }

.feature h3 { font-size: 1.9rem; margin-bottom: 0.7rem; }
.feature p { color: var(--muted); }
.feature p + p { margin-top: 0.8rem; }

/* ---------- stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats .num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stats .label { color: var(--muted); margin-top: 6px; font-size: 0.95rem; }

/* ---------- testimonials ---------- */

.quote {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 30px;
}

.quote p { font-size: 1.02rem; color: var(--text); font-style: italic; }

.quote footer { margin-top: 1.1rem; color: var(--muted); font-size: 0.95rem; font-style: normal; }
.quote footer strong { color: var(--text); display: block; font-style: normal; }

/* ---------- venue marquee ---------- */

.venues {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
}

.venues span,
.venues a {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 20px;
}

.venues a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- tech specs ---------- */

.spec-block { margin-top: 48px; scroll-margin-top: 96px; }
.spec-block h3 { font-size: 1.7rem; color: var(--accent); margin-bottom: 16px; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

table.specs {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  font-size: 0.95rem;
  min-width: 760px;
}

table.specs th, table.specs td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.specs thead th {
  font-family: var(--font-head);
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bg-2);
  color: var(--text);
  white-space: nowrap;
}

table.specs tbody th {
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  background: rgba(12, 19, 34, 0.5);
}

table.specs tbody tr:last-child th,
table.specs tbody tr:last-child td { border-bottom: none; }

table.specs td { color: var(--text); }

/* ---------- client portal ---------- */

.portal-card .logo-slot {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #16263f 0%, #0c1322 100%);
  border-bottom: 1px solid var(--line);
}

.portal-card .logo-slot img { max-height: 60%; max-width: 70%; object-fit: contain; }

.portal-card .monogram {
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.portal-card .url {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------- contact ---------- */

.contact-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}

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

label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin: 18px 0 6px;
}

input, textarea, select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, #16263f 0%, var(--accent-deep) 100%);
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta-band p { color: #cdd9ea; }
.cta-band .btn { background: #fff; color: #16263f; }
.cta-band .btn:hover { background: var(--bg); color: #fff; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 56px 0 32px;
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.site-footer img { height: 40px; margin-bottom: 14px; }

.site-footer h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 10px;
  font-size: 1rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

.site-footer .legal {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .media { order: 0; }
  .site-footer .cols { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  form .row { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; width: 100%; }
  .hero .wrap { padding-top: 90px; }
  .cta-band { padding: 36px 28px; }
}
