/* ════════════════════════════════════════
   TPA.CSS — Turnpoint Advisory
   Shared stylesheet for all pages
   turnpointadvisory.com.au
════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --navy:    #1B2A4A;
  --gold:    #B8962E;
  --slate:   #F4F5F7;
  --grey:    #4A4F5C;
  --cool:    #D1D5DB;
  --white:   #FFFFFF;
  --f-serif: Georgia, 'Times New Roman', serif;
  --f-sans:  'DM Sans', sans-serif;
  --t:       0.18s ease;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--f-sans);
  color: var(--grey);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; }

/* ─── LAYOUT ─── */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 56px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--cool);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.nav-wordmark {
  font-family: var(--f-serif);
  font-size: 15px;
  color: var(--navy);
  letter-spacing: 0.03em;
  line-height: 1;
}

.nav-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--grey);
  text-decoration: none;
  transition: color var(--t);
}

.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 500; }

.nav-cta {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--navy);
  padding: 10px 22px;
  white-space: nowrap;
  transition: background var(--t);
  flex-shrink: 0;
}

.nav-cta:hover { background: var(--gold); }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.24s ease, opacity 0.24s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
.mob-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--cool);
  z-index: 599;
  flex-direction: column;
  padding: 8px 0 24px;
  box-shadow: 0 20px 48px rgba(27,42,74,0.1);
}

.mob-menu.open { display: flex; }

.mob-menu a {
  font-size: 15px;
  color: var(--grey);
  text-decoration: none;
  padding: 15px 28px;
  border-bottom: 1px solid var(--cool);
  font-weight: 400;
  transition: color var(--t), background var(--t);
}

.mob-menu a:hover { color: var(--navy); background: var(--slate); }

.mob-menu a:last-child {
  margin: 20px 28px 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: none;
  transition: background var(--t);
}

.mob-menu a:last-child:hover { background: var(--gold); }

/* ════════════════════════════════════════
   SHARED BUTTONS
════════════════════════════════════════ */
.btn-navy {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--navy);
  padding: 13px 26px;
  transition: background var(--t);
  display: inline-block;
  white-space: nowrap;
}

.btn-navy:hover { background: var(--gold); }

.btn-gold {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--gold);
  padding: 13px 26px;
  transition: background var(--t);
  display: inline-block;
  white-space: nowrap;
}

.btn-gold:hover { background: #9a7d26; }

.btn-cta {
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--navy);
  padding: 15px 30px;
  transition: background var(--t);
  display: inline-block;
  white-space: nowrap;
}

.btn-cta:hover { background: var(--gold); }

/* ════════════════════════════════════════
   SHARED SECTION ELEMENTS
════════════════════════════════════════ */
.cta-meta {
  display: block;
  font-size: 11px;
  color: var(--cool);
  letter-spacing: 0.06em;
  margin-top: 14px;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 32px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-name {
  font-family: var(--f-serif);
  font-size: 13px;
  color: rgba(255,255,255,0.28);
}

.footer-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-copy { font-size: 11px; color: rgba(255,255,255,0.18); }

/* ════════════════════════════════════════
   RESPONSIVE — 1060px
════════════════════════════════════════ */
@media (max-width: 1060px) {
  .wrap   { padding: 0 36px; }
  .nav    { padding: 0 36px; }
  .footer { padding: 32px 36px; }
}

/* ════════════════════════════════════════
   RESPONSIVE — 768px
════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav                  { padding: 0 24px; }
  .nav-links, .nav-cta  { display: none; }
  .hamburger            { display: flex; }
  .wrap                 { padding: 0 24px; }
  .footer               { flex-direction: column; gap: 14px; text-align: center; padding: 28px 24px; }
}
