/* ===========================
   Custom Properties
   =========================== */
:root {
  --bg:           #FAF9F5;
  --bg-alt:       #F0EAE0;
  --text:         #1A1A1A;
  --text-muted:   #6B665E;
  --accent:       #1C3D5A;
  --accent-hover: #142D44;
  --warm:         #B5622B;
  --border:       #DDD8CE;
  --white:        #FFFFFF;
  --shadow-sm:    0 1px 4px rgba(26, 20, 12, 0.07);
  --shadow-md:    0 4px 16px rgba(26, 20, 12, 0.10);
  --radius:       8px;
  --max-width:    1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 em {
  font-style: italic;
  color: var(--warm);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 2.5rem;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

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

.section {
  padding-block: 6rem;
}

.bg-alt {
  background-color: var(--bg-alt);
}

.eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.875rem;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8125rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  cursor: pointer;
}

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

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

.btn-ghost {
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

/* ===========================
   Site Header
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  padding-block: 1.125rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  gap: 2.25rem;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--text);
}

/* ===========================
   Hero
   =========================== */
.hero {
  padding-block: 7rem 6rem;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

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

.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.about-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.location {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.linkedin-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  transition: color 0.2s;
}

.linkedin-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ===========================
   Problems / Sound Familiar
   =========================== */
.problems h2 {
  margin-bottom: 2rem;
}

.problems-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2rem;
  max-width: 720px;
}

.problems-list li {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.5;
}

.problems-list li::before {
  content: '—';
  color: var(--warm);
  font-weight: 300;
  flex-shrink: 0;
}

.problems-closer {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ===========================
   Services
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-card h3 {
  color: var(--text);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
}

/* ===========================
   Accomplishments
   =========================== */
.accomplishments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.accomplishment-card {
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  border-left: 3px solid var(--warm);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.accomplishment-card h3 {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.625rem;
}

.accomplishment-card p {
  font-size: 0.9375rem;
}

.card-meta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.card-company {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.card-industry {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ===========================
   Experience / Companies
   =========================== */
.companies-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  margin-bottom: 1.75rem;
}

.companies-list li {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
}

.companies-list li:not(:last-child)::after {
  content: '\00a0\00a0·\00a0\00a0';
  color: var(--border);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
}

.target-clients {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===========================
   Contact
   =========================== */
.contact-inner {
  max-width: 560px;
}

.contact h2 {
  margin-bottom: 1rem;
}

.contact p {
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.contact-email {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.contact-email:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background-color: var(--text);
  padding-block: 2.25rem;
}

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

.footer-wordmark {
  color: var(--white);
  font-size: 1rem;
}

.footer-right {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-right span,
.footer-right a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-right a:hover {
  color: var(--white);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
  .section {
    padding-block: 4rem;
  }

  .hero {
    padding-block: 4rem 3.5rem;
  }

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

  .about-photo img {
    max-width: 220px;
  }

  .services-grid,
  .accomplishments-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 1.25rem;
  }

  .site-nav {
    display: none;
  }

  h2 {
    margin-bottom: 1.75rem;
  }
}
