/* =========================================================
   Genevieve Sage — Professional Website
   Style: Senior NZ Professional | Calm, Credible, Authoritative
   ========================================================= */

/* --- Variables --- */
:root {
  --navy:        #1B2A4A;
  --navy-mid:    #2D4070;
  --navy-light:  #3D5490;
  --gold:        #A8894A;
  --gold-light:  #C4A96A;
  --white:       #FFFFFF;
  --off-white:   #F6F5F1;
  --text:        #2C2C2C;
  --text-mid:    #4A4A4A;
  --text-light:  #6B6B6B;
  --border:      #DDD9CF;
  --border-light:#EDEAE3;
  --link:        #2D4070;
  --link-hover:  #A8894A;

  --font-serif:  'Georgia', 'Times New Roman', serif;
  --font-sans:   -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --max-width:   1100px;
  --section-gap: 4rem;
  --transition:  0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
  text-decoration-color: rgba(168,137,74,0.6);
  text-underline-offset: 3px;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: normal;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: 2.8rem; letter-spacing: -0.01em; }
h2 { font-size: 1.65rem; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--text-mid);
}

p:last-child {
  margin-bottom: 0;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navigation --- */
.site-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-brand a {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-brand a:hover {
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  gap: 0;
}

.nav-links li a {
  display: block;
  padding: 0 1.1rem;
  height: 70px;
  line-height: 70px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  transition: color var(--transition), background var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--white);
  background: rgba(255,255,255,0.13);
  text-decoration: none;
}

.nav-links li a.active {
  border-bottom: 3px solid var(--gold);
  margin-bottom: -3px;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: var(--navy);
  padding: 3.5rem 0 3rem;
  margin-bottom: var(--section-gap);
}

.page-header .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-header .page-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}


.page-header h1 {
  color: var(--white);
  font-size: 2.2rem;
}

.page-header .page-subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* --- Section utilities --- */
.section {
  padding: var(--section-gap) 0;
}

.section--shaded {
  background: var(--off-white);
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}


.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem 0 1.75rem;
}

/* --- Home: Hero --- */
.hero {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 75% 50%, rgba(45,64,112,0.55) 0%, transparent 65%);
  padding: 5rem 0 5rem;
  position: relative;
  overflow: visible;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1000px;
}

.hero-text .name {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero-text .tagline {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.hero-text .tagline-item {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.hero-text .tagline-item::before {
  content: '//';
  margin-right: 0.55em;
  color: rgba(168, 137, 74, 0.45);
  letter-spacing: 0;
  font-weight: 400;
}

.hero-text .tagline-dividers {
  display: none;
}

/* Portrait photo */
.hero-portrait {
  width: 260px;
  flex-shrink: 0;
}

.hero-portrait-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 2px solid rgba(168, 137, 74, 0.6);
}

/* --- Home: Intro / Credentials --- */
.home-intro {
  padding: 4.5rem 0;
}

.home-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.intro-col {
  display: flex;
  flex-direction: column;
}

/* --- What I Bring --- */
.what-i-bring {
  padding: var(--section-gap) 0;
  background: var(--off-white);
}

.bring-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.bring-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.bring-item:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(27,42,74,0.07);
}

.bring-item h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.35;
}

/* --- Home: Approach --- */
.home-approach {
  padding: var(--section-gap) 0;
}

.approach-inner {
  max-width: 750px;
}

/* --- Home: Current Focus --- */
.current-focus {
  background: var(--navy);
  padding: var(--section-gap) 0;
}

.current-focus .section-label { color: var(--gold); }

.current-focus h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.current-focus .divider {
  background: var(--gold);
}

.current-focus p {
  color: rgba(255,255,255,0.75);
}

.focus-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
  margin-top: 1.75rem;
}

.focus-list li {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  padding-left: 1.25rem;
  position: relative;
}

.focus-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* --- Home: CTA strip --- */
.home-cta {
  padding: 4rem 0;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.home-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.home-cta h2 {
  margin-bottom: 0.5rem;
}

.home-cta-text {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
}

.home-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  flex-shrink: 0;
}

.cta-btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.cta-btn:hover {
  background: var(--navy-mid);
  color: var(--white);
  text-decoration: none;
}

.cta-link {
  font-size: 0.875rem;
  color: var(--text-mid);
  text-decoration: none;
  transition: color var(--transition);
}

.cta-link:hover {
  color: var(--gold);
  text-decoration: none;
}

@media (max-width: 700px) {
  .home-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-cta-actions {
    align-items: flex-start;
  }
}

/* --- About page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.about-aside {
  position: sticky;
  top: 90px;
}

.about-portrait-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.memberships-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 1.75rem 2rem;
  margin-top: 1.75rem;
}

.memberships-box h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.memberships-box ul li {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.4;
}

.memberships-box ul li:last-child {
  border-bottom: none;
}

.about-content .content-section {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-light);
}

.about-content .content-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.about-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* --- Experience page --- */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.role {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}

.role:first-child {
  padding-top: 0;
}

.role:last-child {
  border-bottom: none;
}

.role-meta {
  position: sticky;
  top: 90px;
}

.role-org {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.role-org--sub {
  margin-top: 0.3rem;
}

.role-dates {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-light);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 0.2rem 0.65rem;
  margin-top: 0.6rem;
}

.role-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.role-summary {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 0;
  line-height: 1.6;
  margin-top: 0.75rem;
}

.role-bullets {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.role-bullets li {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.role-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.role-detail {
  display: flex;
  flex-direction: column;
}

/* --- Governance page --- */
.governance-content {
  max-width: 780px;
}

.governance-section {
  padding-bottom: 2.75rem;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid var(--border-light);
}

.governance-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.governance-section h2 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.bullet-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bullet-list li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.65;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.closing-statement {
  background: rgba(27,42,74,0.06);
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--gold);
  padding: 2rem 2.25rem;
  margin-top: 3rem;
}

.closing-statement p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  font-style: italic;
  margin: 0;
  line-height: 1.75;
}

/* --- Insights page --- */
.insights-intro {
  max-width: 620px;
  margin-bottom: 3.5rem;
}

.insights-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.insight-card {
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.insight-card:hover {
  border-color: var(--gold);
}

.insight-card-header {
  padding: 2rem 2.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.insight-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.insight-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.insight-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}

.insight-toggle {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--off-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.3rem;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.insight-toggle:hover {
  background: var(--off-white);
  border-color: var(--gold);
  transform: scale(1.08);
}

.insight-toggle.open {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: none;
}

.insight-toggle:focus,
.insight-card-header:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.insight-body {
  display: none;
  padding: 0 2.5rem 2.5rem;
  border-top: 1px solid var(--border-light);
}

.insight-body.open {
  display: block;
}

.insight-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.insight-body h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin: 2rem 0 0.5rem;
  font-weight: 600;
}

.insight-body ul {
  margin: 0 0 1.25rem 0;
  padding-left: 1.4rem;
}

.insight-body ul li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 0.35rem;
}

.insight-body ul ul {
  margin-top: 0.35rem;
  margin-bottom: 0;
}

/* --- Contact page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--off-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}

.contact-item:hover .contact-icon {
  background: rgba(168,137,74,0.08);
  border-color: var(--gold);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy);
  fill: none;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-item-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-item-value {
  font-size: 0.95rem;
  color: var(--text-mid);
}

.contact-item-value a {
  color: var(--navy);
}

.contact-welcome {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 2rem 2.25rem;
  margin-top: 2.5rem;
}

.contact-welcome h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.contact-welcome p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.contact-welcome ul {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-welcome ul li {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding-left: 1rem;
  position: relative;
}

.contact-welcome ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  padding: 3rem 0;
  border-top: 3px solid var(--gold);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-name {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.footer-tag {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: right;
}

.footer-nav {
  gap: 0.6rem;
}

.footer-nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

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

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* --- Nav stagger animation --- */
@keyframes navItemIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes navItemOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-6px); }
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.5rem; }

  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 0 1rem;
    z-index: 99;
  }
  .nav-links.open li {
    animation: navItemIn 0.28s ease-out both;
  }
  .nav-links.closing li {
    animation: navItemOut 0.2s ease-in both;
  }
  .nav-links.open li a {
    height: auto;
    line-height: 1;
    padding: 0.85rem 2rem;
  }
  .nav-toggle { display: flex; }

  .hero-inner { flex-direction: row; align-items: center; gap: 2rem; }
  .hero-text { min-width: 0; }
  .hero-portrait { width: 160px; flex-shrink: 0; }
  .hero-text .name { font-size: 2.4rem; white-space: nowrap; }
  .hero-text .tagline-item { font-size: 0.72rem; letter-spacing: 0.07em; }

  .home-intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .bring-grid { grid-template-columns: 1fr 1fr; }
  .focus-list { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-aside { position: static; }
  .about-portrait-img { max-width: 280px; }

  .role { grid-template-columns: 1fr; gap: 0.75rem; }
  .role-meta { position: static; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .footer-nav { text-align: left; }
}

@media (max-width: 600px) {
  html { font-size: 15px; }
  .container { padding: 0 1.25rem; }
  .bring-grid { grid-template-columns: 1fr; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-portrait { width: 160px; align-self: flex-start; margin: 0 auto; }
  .hero-text .name { font-size: 2.4rem; }
  .page-header h1 { font-size: 1.8rem; }
  .insight-card-header { flex-direction: column; gap: 0.75rem; }
  .divider { height: 2px; }
}

/* --- Utility --- */
.mt-body { margin-top: 1.25rem; }

/* --- Contact: Response note box --- */
.contact-response-note {
  margin-top: 1.5rem;
  padding: 1.75rem 2.25rem;
  background: var(--off-white);
  border: 1px solid var(--border);
}

.contact-response-note .section-label {
  margin-bottom: 0.5rem;
}

.contact-response-note p {
  font-size: 0.875rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.7;
}

/* --- Suppress underline on nav/footer links --- */
.site-nav a:hover,
.site-footer a:hover,
.footer-nav a:hover,
.nav-brand a:hover {
  text-decoration: none;
}
