/*
Theme Name: Think ETC
Theme URI: https://thinketc.com.au/
Author: OpenAI Codex
Description: Custom single-page theme for Think ETC.
Version: 1.0.0
*/

:root {
  --bg: #eef8ff;
  --bg-strong: #dceefe;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: #f8fcff;
  --text: #16324a;
  --muted: #58728b;
  --line: rgba(22, 50, 74, 0.11);
  --accent: #2e8fd1;
  --accent-strong: #1f6ea8;
  --accent-soft: #d9f0ff;
  --shadow: 0 24px 70px rgba(29, 71, 108, 0.12);
  --shadow-soft: 0 16px 38px rgba(29, 71, 108, 0.09);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(46, 143, 209, 0.2), transparent 30%),
    radial-gradient(circle at left center, rgba(150, 214, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #f8fdff 0%, var(--bg) 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 32px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(246, 251, 255, 0.84);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(29, 71, 108, 0.09);
}

.site-nav a,
.button,
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0;
}

.brand-logo {
  display: block;
  width: 172px;
  height: auto;
  border-radius: 4px;
}

.brand-logo-hero {
  width: min(308px, 54vw);
  filter: drop-shadow(0 8px 16px rgba(29, 71, 108, 0.06));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}

.site-nav a {
  font-size: 0.94rem;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #f8fffd;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(46, 143, 209, 0.22);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-strong);
  box-shadow: 0 14px 30px rgba(31, 110, 168, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.68);
  box-shadow: none;
}

.button-small {
  padding: 12px 16px;
  font-size: 0.92rem;
}

.section {
  padding: 64px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.95fr;
  gap: 32px;
  align-items: start;
  padding-top: 44px;
}

.hero-copy,
.hero-panel,
.thesis-panel,
.info-card,
.contact-card,
.contact-details {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 52px 50px 46px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(234, 247, 255, 0.84)),
    var(--surface);
}

.hero-panel {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  background:
    linear-gradient(160deg, rgba(111, 190, 242, 0.2), rgba(247, 252, 255, 0.92)),
    var(--surface);
}

.hero-visual,
.support-visual {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(22, 50, 74, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-visual img,
.support-visual img {
  width: 100%;
  height: auto;
}

.hero-visual img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.hero-brand-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 11.6ch;
  font-size: clamp(2.45rem, 4.85vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 60ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
  line-height: 1.76;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.stat-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(249, 253, 255, 0.9);
  border: 1px solid rgba(22, 50, 74, 0.08);
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  grid-auto-rows: 1fr;
}

.stat-grid article,
.sector-list span {
  padding: 20px;
  border: 1px solid rgba(22, 50, 74, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
}

.stat-grid article {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
}

.stat-grid span,
dt {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-grid strong {
  font-size: 1rem;
  line-height: 1.35;
}

.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.section-heading h2,
.thesis-panel h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3.55vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-copy p,
.thesis-panel p,
.info-card p,
.contact-card p,
.contact-details,
.launch-note {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.section-copy p:first-child,
.thesis-panel p:first-of-type {
  margin-top: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.support-visual {
  margin-top: 30px;
}

.support-visual img {
  aspect-ratio: 16 / 6.4;
  object-fit: cover;
}

.info-card {
  padding: 30px;
}

.info-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.sector-list span {
  font-weight: 700;
}

.thesis-panel {
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(117, 201, 255, 0.18), rgba(255, 255, 255, 0.72)),
    var(--surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  margin-top: 30px;
}

.contact-card,
.contact-details {
  padding: 32px;
}

dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

dd {
  margin: 0;
}

.contact-details a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.launch-note {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 6px 14px;
  border-top: 1px solid rgba(22, 50, 74, 0.08);
  color: var(--muted);
  font-size: 0.96rem;
}

.footer-brand {
  margin: 0;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .section-split,
  .contact-layout,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    max-width: none;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header,
  .hero-copy,
  .hero-panel,
  .thesis-panel,
  .info-card,
  .contact-card,
  .contact-details {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: flex-start;
  }

  .brand-logo {
    width: 154px;
  }

  .brand-logo-hero {
    width: min(270px, 72vw);
  }

  .section {
    padding: 40px 0;
  }

  h1 {
    font-size: clamp(2.7rem, 12vw, 4.35rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }
}
