/* Tamara Lovi — professional site */
:root {
  --bg: #f7f6f4;
  --ink: #17222b;
  --muted: #5b6772;
  --accent: #1d5c63;
  --accent-soft: #dce8e6;
  --gold: #b08d57;
  --card: #ffffff;
  --line: #e3e0da;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
  --content-max: min(3400px, 96vw);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5vw;
  background: rgba(247, 246, 244, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled { border-color: var(--line); }

.brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav { display: flex; gap: 1.75rem; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav a:hover { opacity: 1; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5vw 5rem;
}
.hero-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero-photo {
  display: flex;
  justify-content: center;
}
.hero-portrait {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1rem;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.lede {
  margin-top: 1.75rem;
  max-width: 36rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { box-shadow: 0 8px 20px rgba(23, 34, 43, 0.22); }

.btn-ghost {
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--accent-soft); }

/* Sections */
section {
  padding: 6rem 5vw;
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-head { margin-bottom: 3rem; }
.section-head h2,
.contact h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
  gap: 2.5rem;
}

.about-text p { margin-bottom: 1.25rem; }
.muted { color: var(--muted); }
.about-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.about-text a:hover { color: var(--gold); }
.about-text strong { color: var(--accent); }

.about-card { text-align: center; }
.portrait {
  display: block;
  width: 100%;
  max-width: 213px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-soft), #e9e2d3);
}
.caption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Focus grid */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.focus-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.25s;
}
.focus-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(23, 34, 43, 0.08);
}

.focus-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.focus-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  margin: 0.6rem 0 0.5rem;
}
.focus-card p {
  font-size: 0.98rem;
  color: var(--muted);
}

/* Leadership */
.leadership-quote {
  background: var(--ink);
  color: var(--bg);
  border-radius: 12px;
  padding: 3rem 3.5rem;
  margin-bottom: 2rem;
}
.leadership-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  font-style: italic;
}
.leadership-quote .attr {
  margin-top: 1rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.principle {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  font-size: 0.98rem;
  color: var(--muted);
}
.principle strong {
  color: var(--ink);
  font-size: 1.05rem;
}

/* Career */
.career-list {
  display: grid;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}
.career-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: baseline;
  transition: box-shadow 0.25s;
}
.career-item:hover { box-shadow: 0 8px 24px rgba(23, 34, 43, 0.07); }
.career-year {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.career-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}
.career-body p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 70ch;
}
@media (max-width: 640px) {
  .career-item { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* Contact */
.contact {
  text-align: center;
  padding-bottom: 8rem;
}
.contact .btn { margin-top: 1.75rem; }
.contact .muted { margin-top: 0.75rem; }

.socials {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.socials a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.socials a:hover { color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 5vw;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .leadership-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .focus-grid { grid-template-columns: 1fr; }
  .nav { gap: 1rem; }
  .leadership-quote { padding: 2rem 1.5rem; }
}

/* Large screens — scale type up so it reads well at 4K */
@media (min-width: 2200px) {
  html { font-size: 20px; }
}
@media (min-width: 3000px) {
  html { font-size: 24px; }
}
