/* ============================================================
   12X CLARITY — SHARED STYLESHEET
   12xclarity.com.au | Australian Market
   ============================================================ */

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

:root {
  --navy:    #0d1b2a;
  --navy2:   #112236;
  --navy3:   #162d45;
  --gold:    #c9a84c;
  --gold2:   #e8c96a;
  --white:   #f5f5f0;
  --grey:    #8a9bb0;
  --slate:   #1e3048;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold2); }

/* ── NAVIGATION ─────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: normal;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--grey);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 20px;
  font-size: 0.8rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--gold2) !important; color: var(--navy) !important; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://assets.zyrosite.com/cdn-cgi/image/format=auto,w=1920,fit=crop/mjE7nVobNqFXZWWR/chatgpt-image-mar-9-2026-10_02_14-am-xJV2GCCB8A8p9gwL.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,42,0.3) 0%, rgba(13,27,42,0.5) 60%, rgba(13,27,42,0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 40px 24px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--white);
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-clarifier {
  font-size: 0.95rem;
  color: var(--grey);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 36px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--gold2); color: var(--navy); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  padding: 13px 32px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 16px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover { border-color: var(--gold); color: var(--gold2); }

/* ── PROOF STRIP ─────────────────────────────────────────── */
.proof-strip {
  background: var(--slate);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.proof-item {
  padding: 28px 48px;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,0.1);
}

.proof-item:last-child { border-right: none; }

.proof-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.proof-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ── SECTIONS ────────────────────────────────────────────── */
.section {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-full {
  padding: 80px 40px;
  background: var(--navy2);
}

.section-full .section { padding: 0; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.section-body {
  color: var(--grey);
  max-width: 680px;
  line-height: 1.8;
}

.section-body p { margin-bottom: 1.2em; }

.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 24px 0;
}

/* ── PROBLEM SECTION ─────────────────────────────────────── */
.problem-section {
  padding: 80px 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.problem-lines p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--grey);
  line-height: 1.9;
  margin-bottom: 0.5em;
}

.problem-lines .em-line {
  color: var(--white);
  font-weight: 600;
}

.problem-lines .gold-line {
  color: var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1em;
}

/* ── CARDS ───────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: var(--slate);
  border: 1px solid rgba(201,168,76,0.12);
  padding: 32px;
  transition: border-color 0.2s;
}

.card:hover { border-color: rgba(201,168,76,0.4); }

.card-number {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 12px;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.card-body {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.7;
}

/* ── ABOUT / ARCHITECT STRIP ─────────────────────────────── */
.about-strip {
  padding: 80px 40px;
  background: var(--navy3);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-bio h2 {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.about-bio h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.about-bio p {
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 1em;
  font-size: 0.95rem;
}

.about-bio .bio-links {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.about-bio .bio-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding-bottom: 2px;
}

.testimonials-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.testimonial-card {
  background: var(--slate);
  border-left: 3px solid var(--gold);
  padding: 24px;
  margin-bottom: 20px;
}

.testimonial-card.secondary {
  border-left-color: rgba(201,168,76,0.3);
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.testimonial-attr {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── ENGAGEMENTS TABLE ───────────────────────────────────── */
.engagement-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.engagement-table th {
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.engagement-table td {
  padding: 20px 16px;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: var(--grey);
}

.engagement-table tr:hover td { background: rgba(201,168,76,0.03); }

.engagement-name {
  color: var(--white);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.engagement-price {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 800;
}

/* ── ARTIFACTS LIST ──────────────────────────────────────── */
.artifacts-list {
  list-style: none;
  margin-top: 32px;
}

.artifacts-list li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.artifact-num {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  min-width: 32px;
  padding-top: 3px;
}

.artifact-name {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.artifact-desc {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ── THE ARCHITECT PAGE ──────────────────────────────────── */
.architect-hero {
  padding: 100px 40px 60px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.stat-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.1);
  margin: 48px 0;
}

.stat-block {
  background: var(--slate);
  padding: 32px 24px;
  text-align: center;
}

.stat-big {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.industry-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.industry-table th {
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 10px 16px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.industry-table td {
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.88rem;
  color: var(--grey);
}

.industry-table td:first-child { color: var(--white); font-weight: 600; }

.philosophy-block {
  background: var(--slate);
  border-left: 4px solid var(--gold);
  padding: 32px 40px;
  margin: 40px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.7;
}

/* ── ESSAYS PAGE ─────────────────────────────────────────── */
.essays-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.essay-card {
  border-top: 2px solid rgba(201,168,76,0.3);
  padding-top: 24px;
  transition: border-color 0.2s;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.essay-card:hover { border-top-color: var(--gold); }
.essay-card:hover .essay-title { color: var(--gold2); }

.essay-date {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.essay-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.essay-excerpt {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 14px;
}

.essay-read {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  padding: 80px 40px;
  text-align: center;
  background: var(--navy2);
  border-top: 1px solid rgba(201,168,76,0.1);
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--grey);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 48px 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--grey);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}

.footer-links a:hover { color: var(--gold); }

.footer-contact {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.8;
  text-align: right;
}

.footer-contact a { color: var(--gold); }

.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--grey);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  /* ── brighter grey so light-blue text is readable on mobile ── */
  :root { --grey: #b8c8d8; }

  .site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero-title { font-size: 3rem; }
  .proof-item { padding: 20px 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid { grid-template-columns: 1fr; }
  .stat-blocks { grid-template-columns: repeat(2, 1fr); }
  .section, .section-full { padding: 60px 24px; }
  .footer-inner { flex-direction: column; }
  .footer-contact { text-align: left; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* ── larger body text on mobile ── */
  body { font-size: 16px; }
  .card-body { font-size: 1rem; line-height: 1.75; }
  .engage-desc { font-size: 1rem; line-height: 1.7; }
  .engage-name { font-size: 1.1rem; }
  .proof-label { font-size: 0.8rem; letter-spacing: 0.1em; }
  .section-body { font-size: 1rem; }
  .hero-clarifier { font-size: 1rem; }
  .engage-credit { font-size: 0.9rem; }
}

/* ── BACK TO TOP BUTTON ──────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background 0.2s;
  z-index: 999;
  line-height: 1;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold2); }

/* ── MOBILE HAMBURGER NAV ────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
}
.nav-mobile-open .nav-links {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--navy2);
  padding: 16px 24px 24px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  gap: 16px;
  z-index: 99;
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .site-nav { position: relative; }
}

/* ── STATS SOURCE LINE ───────────────────────────────────── */
.stats-source {
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--grey);
  opacity: 0.45;
  padding: 8px 40px 14px;
  background: var(--slate);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

/* ── ENGAGEMENT LIST (home page editorial) ───────────────── */
.engage-list {
  margin-top: 40px;
  border-top: 1px solid rgba(201,168,76,0.2);
}

.engage-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 0 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.engage-num {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  padding-top: 4px;
}

.engage-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.engage-desc {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.65;
}

.engage-duration {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
  white-space: nowrap;
  padding-top: 5px;
}

.engage-credit {
  margin-top: 28px;
  font-size: 0.82rem;
  color: var(--grey);
  opacity: 0.75;
  font-style: italic;
}
.engage-meta {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--grey);
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.privacy-note {
  font-size: 0.75rem;
  color: var(--grey);
  margin-top: 16px;
  opacity: 0.8;
}
.invest-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding-bottom: 1px;
  font-size: 0.78rem;
  transition: color 0.2s, border-bottom-color 0.2s;
}
.invest-link:hover {
  color: var(--gold2);
  border-bottom-color: var(--gold);
}

@media (max-width: 600px) {
  .engage-item { grid-template-columns: 32px 1fr; }
  .engage-duration { display: none; }
}
