/* ============================================
   SOLARA STRATEGIC ADVISORY — SHARED STYLES
   ============================================ */

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

:root {
  --cream: #FAF6F0;
  --terracotta: #B5451B;
  --terracotta-screen: #C4714A;
  --teal: #2E7D7A;
  --teal-screen: #1E7A8C;
  --forest: #3A5244;
  --gold: #C9A84C;
  --ink: #1E1A17;
  --parchment: #F0E8D8;

  --card-bg: #F3EDE3;
  --border-subtle: rgba(30, 26, 23, 0.1);

  /* Type: Vollkorn is reserved for the wordmark only. Lora carries all headers. Inclusive Sans carries all body copy. */
  --font-wordmark: 'Vollkorn', Georgia, serif;
  --font-headers: 'Lora', Georgia, serif;
  --font-body: 'Inclusive Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1100px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 19px;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ============================================
   NAVIGATION
   ============================================ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--cream);
  border-bottom: 1px solid var(--border-subtle);
}

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

.nav-wordmark {
  font-family: var(--font-wordmark);
  font-weight: 700;
  font-style: italic;
  font-size: 32px;
  white-space: nowrap;
}

.nav-wordmark .solara {
  color: var(--terracotta);
}

.nav-wordmark .strategic {
  color: var(--teal);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
  stroke: var(--ink);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: var(--cream);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links.is-open {
    max-height: 320px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-subtle);
    border-left: 3px solid transparent;
  }

  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    border-bottom-color: var(--border-subtle);
    border-left-color: var(--terracotta);
    background-color: var(--parchment);
  }

  .nav-toggle {
    display: block;
  }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3 {
  font-family: var(--font-headers);
  font-weight: 700;
  line-height: 1.2;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(26px, 4vw, 42px);
  font-style: italic;
}

h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--teal);
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
  color: var(--terracotta);
  margin-bottom: 10px;
}

p {
  margin-bottom: 18px;
  max-width: 65ch;
}

.no-max {
  max-width: none;
}

.lede {
  font-size: 20px;
  color: var(--ink);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
}

.btn-primary {
  background-color: var(--terracotta);
  color: var(--cream);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(181, 69, 27, 0.28);
}

.btn-outline {
  background-color: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
}

.btn-outline:hover {
  background-color: var(--terracotta);
  color: var(--cream);
}

.btn-teal {
  background-color: var(--teal);
  color: var(--cream);
}

.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 125, 122, 0.28);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }
}

.section-tight {
  padding: 48px 0;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.hero-subtext {
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-subtext {
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 52ch;
}

.spiral-decor {
  position: absolute;
  opacity: 0.9;
  pointer-events: none;
}

.spiral-decor.hero-spiral {
  right: -80px;
  top: -60px;
  width: 420px;
  height: 420px;
}

@media (max-width: 900px) {
  .spiral-decor.hero-spiral {
    opacity: 0.4;
    width: 280px;
    height: 280px;
    right: -60px;
    top: -20px;
  }
}

/* ============================================
   CARDS / GENERIC
   ============================================ */

.card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 32px;
}

/* ============================================
   SCENARIO GRID (Services — Are You Experiencing This)
   ============================================ */

.scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
}

@media (max-width: 700px) {
  .scenario-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.scenario-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.scenario-diamond {
  flex-shrink: 0;
  margin-top: 4px;
}

.scenario-diamond svg {
  width: 20px;
  height: 20px;
}

.scenario-text {
  font-size: 19px;
  font-weight: 500;
}

/* ============================================
   METHODOLOGY STEPS
   ============================================ */

.method-grid {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.method-grid .method-step {
  flex: 1;
}

.method-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
}

.method-arrow svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 900px) {
  .method-grid {
    flex-wrap: wrap;
  }

  .method-grid .method-step {
    flex: 1 1 calc(50% - 8px);
    min-width: 220px;
  }

  .method-arrow {
    display: none;
  }
}

@media (max-width: 560px) {
  .method-grid .method-step {
    flex: 1 1 100%;
  }
}

.method-step {
  background-color: var(--card-bg);
  border-radius: 14px;
  padding: 28px 22px;
}

.method-step h3 {
  font-style: italic;
  font-size: 24px;
}

.method-step p {
  font-size: 19px;
  margin-bottom: 0;
}

/* ============================================
   ENGAGEMENT TYPES — numbered list
   ============================================ */

.engagement-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.engagement-row {
  font-family: var(--font-body);
  font-size: 19px;
  max-width: none;
  margin-bottom: 0;
}

.engagement-row strong {
  color: var(--ink);
  font-weight: 700;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial {
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 24px;
  margin-bottom: 28px;
}

.testimonial p {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
}

.testimonial cite {
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
  color: var(--teal);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a svg {
  width: 16px;
  height: 16px;
}

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

/* ============================================
   BACK TO TOP
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--terracotta);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.15s ease;
  z-index: 90;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

/* ============================================
   FORM
   ============================================ */

.contact-form {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 36px;
}

.form-row {
  display: flex;
  gap: 16px;
}

@media (max-width: 560px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.form-group {
  flex: 1;
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

label .optional {
  text-transform: none;
  font-weight: 400;
  color: #8a8074;
  letter-spacing: 0;
}

input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background-color: var(--cream);
  color: var(--ink);
}

input::placeholder, textarea::placeholder {
  color: #a89e8f;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.conditional-field {
  display: none;
  margin-top: -6px;
  margin-bottom: 20px;
}

.conditional-field.is-visible {
  display: block;
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

@media (max-width: 800px) {
  .connect-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.talk-directly {
  font-family: var(--font-headers);
  font-weight: 700;
  font-style: normal;
  color: var(--ink);
  font-size: 22px;
  margin-bottom: 16px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.callout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 700px) {
  .callout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.callout-grid p {
  font-size: 19px;
}

.challenge-shift-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 700px) {
  .challenge-shift-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.about-hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

@media (max-width: 800px) {
  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-headshot {
    max-width: 240px;
    margin: 0 auto;
  }
}

.about-headshot img {
  width: 100%;
}

.about-lede {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 23px;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 24px;
}

.result-list {
  list-style: none;
  margin: 24px 0;
}

.result-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 19px;
}

.result-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--terracotta);
}

.origin-block {
  background-color: var(--parchment);
  border-radius: 20px;
  padding: 48px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .origin-block {
    padding: 32px 24px;
  }
}

.origin-block h2 {
  font-style: normal;
}

.origin-block p {
  max-width: none;
  font-size: 19px;
}

/* ============================================
   UTILITY
   ============================================ */

.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: 48px;
}

.divider-line {
  width: 100px;
  height: 2px;
  background-color: var(--gold);
  border: none;
  margin: 20px 0 28px;
}

.who-this-is-for {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
