/* Fongen Consulting — v2, April 2026 */

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

:root {
  --text: #1a1a1a;
  --text-mid: #3a3a3a;
  --text-secondary: #666;
  --text-muted: #999;
  --bg: #f8f7f5;
  --bg-warm: #f0eeeb;
  --border: #ddd9d3;
  --accent: #1A473E;
  --accent-mid: #4C7647;
  --ochre: #C8882A;
  --ochre-light: #f5e6cc;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-w: 1100px;
  --content-w: 660px;
}

html { scroll-behavior: smooth; }

body {
  font: 400 1.05rem/1.7 var(--sans);
  color: var(--text-mid);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Hero — split layout, portrait LEFT */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
  align-items: center;
  gap: 4rem;
}

.hero-portrait {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.hero-portrait img {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 4px;
}

.hero-content {
  padding: 2rem 0;
}

.hero-brand {
  font: 400 2.6rem/1.1 var(--serif);
  letter-spacing: 0.01em;
  color: var(--ochre);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font: 400 2.8rem/1.12 var(--serif);
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-services span {
  font: 500 0.8rem/1 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(26, 71, 62, 0.08);
  padding: 0.4rem 0.75rem;
  border-radius: 3px;
}

.intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 480px;
}

/* Main content */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* About */
.about {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.about-text {
  max-width: var(--content-w);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
  color: var(--text-mid);
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Section headings */
h2 {
  font: 400 2rem/1.2 var(--serif);
  color: var(--text);
  margin-bottom: 2rem;
}

/* Work */
.work {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.work-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
}

.work-item {
  padding-left: 1rem;
  border-left: 2px solid var(--ochre);
}

.work-item h3 {
  font: 500 1rem/1.4 var(--sans);
  color: var(--text);
  margin-bottom: 0.4rem;
}

.work-item p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Timeline */
.timeline-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.timeline {
  max-width: var(--content-w);
}

.timeline-entry {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.timeline-entry:last-child {
  border-bottom: none;
}

.year {
  font: 500 0.85rem/1.6 var(--sans);
  color: var(--text-muted);
  white-space: nowrap;
  padding-top: 0.15rem;
}

.timeline-entry strong {
  font: 500 1rem/1.4 var(--sans);
  color: var(--text);
  display: block;
  margin-bottom: 0.2rem;
}

.timeline-entry p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* Footer */
footer {
  margin-top: 5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  height: 72px;
  width: auto;
  opacity: 0.6;
}

.footer-contact {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--ochre);
}

/* Responsive */
@media (max-width: 800px) {
  nav { padding: 1.5rem 1.5rem; }
  .nav-logo { height: 56px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0 1.5rem;
    gap: 2rem;
  }

  .hero-portrait { justify-content: center; padding-top: 1rem; }

  .hero-portrait img {
    max-width: 280px;
    aspect-ratio: 1;
  }

  .hero-content { padding: 0 0 2rem; }

  .hero h1 { font-size: 2.2rem; }
  .intro { font-size: 1rem; }

  main { padding: 0 1.5rem; }

  .about, .work, .timeline-section { padding: 3rem 0; }

  .work-list { grid-template-columns: 1fr; gap: 1.5rem; }

  .timeline-entry {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 2rem 1.5rem;
  }

  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-portrait img { max-width: 220px; }
  .hero-services span { font-size: 0.75rem; }
}

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

@media print {
  nav, footer { display: none; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .hero { display: block; min-height: auto; }
  .hero-portrait { display: none; }
  main { max-width: 100%; padding: 0; }
}
