/* Sheltertop Consulting LLC — shared stylesheet */

:root {
  --navy: #262322;
  --navy-light: #3d3835;
  --charcoal: #201d1c;
  --paper: #ffffff;
  --white: #ffffff;
  --gold: #1f4d3e;
  --gray: #6b6459;
  --gray-light: #e8e5df;
  --gold-on-dark: #5fbf9e;
  --max-width: 1120px;
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.25rem; }

p {
  margin: 0 0 1em;
  color: var(--gray);
}

a {
  color: var(--navy);
}

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

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

/* Header / Nav */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.nav-brand {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.nav-brand span {
  color: var(--gold);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 500;
}

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

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: #163d31;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 100px 0 90px;
}

.hero h1 {
  color: var(--white);
  max-width: 640px;
}

.hero p.lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 560px;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.hero .eyebrow,
.page-header .eyebrow,
.cta-banner .eyebrow {
  color: var(--gold-on-dark);
}

/* Page header (non-home) */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 10px;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-tight-bottom {
  padding-bottom: 24px;
}

.section-tight-top {
  padding-top: 24px;
}

.section-header {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Cards / grid */
.grid {
  display: grid;
  gap: 32px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 32px;
}

.card .icon {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: var(--gold);
}

.card .icon svg {
  width: 100%;
  height: 100%;
}

/* Phase cards (What we do) */
.phase-card h3 {
  min-height: 3.2rem;
  margin-bottom: 20px;
}

.phase-item {
  margin-bottom: 18px;
}

.phase-item:last-child {
  margin-bottom: 0;
}

.phase-item h4 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 0 4px;
}

.phase-item p {
  margin: 0;
  font-size: 0.92rem;
}

/* CTA banner */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 28px;
}

/* Values / list */
.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.value-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-light);
  color: var(--gray);
}

.value-list li:last-child {
  border-bottom: none;
}

.value-list-icons li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.value-text {
  flex: 1;
}

.value-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  color: var(--gold);
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-list strong {
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

/* Contact form */
.contact-layout {
  max-width: 640px;
}

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

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

.contact-info-item {
  margin-bottom: 24px;
}

.contact-email-block {
  margin-top: 12px;
  margin-bottom: 0;
}

.contact-info-item h3 {
  margin-bottom: 4px;
}

/* Founder photo */
.founder-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.story-grid {
  align-items: center;
  margin-bottom: 48px;
}

.founder-photo-side {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* Flow chart */
.flow-chart {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.flow-step {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.flow-step h3 {
  min-height: 3.2rem;
  margin-bottom: 8px;
}

.flow-step p {
  margin: 0;
  font-size: 0.92rem;
}

.flow-num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 14px;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Case studies */
.case-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}

.case-tag {
  display: inline-block;
  background: var(--paper);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.case-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  margin-bottom: 16px;
}

.case-title-row h3 {
  margin: 0;
  text-align: left;
}

.case-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.case-icon svg {
  width: 100%;
  height: 100%;
}

.case-field {
  margin-bottom: 14px;
}

.case-field h4 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.6px;
  color: var(--gold);
  margin: 0 0 4px;
}

.case-field p {
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 40px 0;
  font-size: 0.9rem;
}

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

.footer-inner a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 2.1rem; }
  .flow-chart {
    flex-direction: column;
  }
  .flow-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    display: none;
    border-bottom: 1px solid var(--gray-light);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    border-top: 1px solid var(--gray-light);
  }
  .nav-toggle {
    display: flex;
  }
  .hero {
    padding: 64px 0;
  }
}
