/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }

/* ─── Tokens ─────────────────────────────────────────── */
:root {
  --cream:   #F8F5EF;
  --paper:   #FFFDFB;
  --text:    #1A1917;
  --muted:   #6A6860;
  --light:   #A09C94;
  --border:  #E0D9CE;
  --green:   #2B5C2E;
  --green-light: #3E7A41;
  --sand:    #C4A96A;
  --tag-bg:  #EDE8DE;
  --tag-text:#5A5347;
  --white:   #ffffff;
  --shadow:  0 2px 20px rgba(0,0,0,0.08);

  --font-serif: 'Lora', Georgia, serif;
  --font-sans:  'Inter', -apple-system, sans-serif;
}

/* ─── Base ───────────────────────────────────────────── */
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--green-light); }

/* ─── Nav bar ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(248,245,239,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}
.nav.scrolled .nav-brand { color: var(--text); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a,
.nav-links button {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover,
.nav-links button:hover { color: var(--white); }
.nav.scrolled .nav-links a,
.nav.scrolled .nav-links button { color: var(--muted); }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links button:hover { color: var(--text); }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.88);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(10,10,8,0.88) 0%, rgba(10,10,8,0.45) 40%, rgba(10,10,8,0.10) 70%, transparent 100%),
    linear-gradient(to right, rgba(10,10,8,0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 56px 64px;
  max-width: 820px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 12px;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 28px;
}

.hero-meta {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  right: 56px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: nudge 2.5s ease-in-out infinite;
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ─── Section wrapper ────────────────────────────────── */
.section {
  padding: 80px 56px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 60px;
}

/* ─── Photo strip ────────────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3px;
  max-height: 420px;
  overflow: hidden;
}

.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-strip img:hover { transform: scale(1.03); }

.photo-strip-item { overflow: hidden; }

/* ─── Persona sections ───────────────────────────────── */
.personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.persona {
  padding: 48px 40px 48px 0;
  border-right: 1px solid var(--border);
}
.persona:last-child { border-right: none; padding-right: 0; padding-left: 40px; }
.persona:not(:first-child):not(:last-child) { padding-left: 40px; }

.persona-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

/* ─── Tags ───────────────────────────────────────────── */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.tag {
  font-size: 0.75rem;
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.01em;
  line-height: 1.7;
  white-space: nowrap;
}

.tag a {
  color: var(--tag-text);
  text-decoration: none;
}
.tag a:hover { color: var(--green); }

/* ─── Bullets ────────────────────────────────────────── */
.bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.bullets li {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}
.bullets li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--sand);
}

/* ─── Portrait inset ─────────────────────────────────── */
.portrait-wrap {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 64px 56px;
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.portrait {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 4px solid var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.portrait-text {
  max-width: 600px;
}

.portrait-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 12px;
}

.portrait-sub {
  font-size: 0.875rem;
  color: var(--light);
}

/* ─── Full-width image break ─────────────────────────── */
.img-break {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* ─── Page footer / CTA ──────────────────────────────── */
.footer {
  background: #26231D;
  padding: 64px 56px 52px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.footer-sub {
  font-size: 0.9375rem;
  margin-top: 10px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  font-family: var(--font-serif);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 6px;
}

.footer-links a,
.footer-links button {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--white);
}

/* ─── What has my attention page ─────────────────────── */
.wham-nav {
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
}

.wham-nav-brand {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.wham-nav-back {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wham-nav-back:hover { color: var(--text); }

.wham-hero {
  position: relative;
  height: 55vh;
  min-height: 300px;
  overflow: hidden;
}

.wham-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  filter: brightness(0.75);
}

.wham-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,8,0.65) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 48px 56px;
}

.wham-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.wham-updated {
  font-size: 0.875rem;
  color: var(--light);
  padding: 32px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}

.article {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

.article-section {
  margin-bottom: 56px;
}

.article-section:last-child { margin-bottom: 0; }

.article-h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sand);
  display: inline-block;
}

.article-body p {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 18px;
}
.article-body p:last-child { margin-bottom: 0; }

.article-body a {
  color: var(--green);
  font-weight: 500;
}

.article-photo {
  width: 100%;
  border-radius: 4px;
  max-height: 280px;
  object-fit: cover;
  margin: 40px 0;
  box-shadow: var(--shadow);
}

.wham-footer {
  background: #26231D;
  padding: 56px 56px 44px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.wham-footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.wham-footer a:hover { color: white; }
.wham-footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding-bottom: 4px; font-size: 0.9375rem; }

/* ─── Contact modal ──────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,8,0.5);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--paper);
  border-radius: 6px;
  padding: 40px 36px 36px;
  width: 100%;
  max-width: 460px;
  position: relative;
  box-shadow: 0 16px 60px rgba(0,0,0,0.18);
}

.modal-close {
  position: absolute;
  top: 18px; right: 22px;
  background: none; border: none;
  font-size: 1.125rem;
  cursor: pointer;
  color: var(--light);
  padding: 4px;
  line-height: 1;
}
.modal-close:hover { color: var(--text); }

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 9px 13px;
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  border: none;
  border-radius: 3px;
  padding: 11px 16px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s;
  letter-spacing: 0.01em;
}
.form-submit:hover { background: var(--green-light); }

.form-success {
  display: none;
  font-size: 0.9375rem;
  color: var(--muted);
  text-align: center;
  padding: 20px 0 8px;
  font-style: italic;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .personas {
    grid-template-columns: 1fr;
  }
  .persona {
    padding: 36px 0 !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }
  .persona:last-child { border-bottom: none; }

  .photo-strip {
    grid-template-columns: 1fr 1fr;
    max-height: 300px;
  }
  .photo-strip-item:last-child { display: none; }

  .portrait-wrap {
    flex-direction: column;
    text-align: center;
    padding: 48px 32px;
  }

  .section { padding: 56px 32px; }
  .hero-content { padding: 0 32px 48px; }
  .hero-scroll { right: 32px; }
  .footer { padding: 40px 32px; }
  .wham-hero-overlay { padding: 32px; }
  .wham-footer { padding: 32px; }
  .article { padding: 0 24px 80px; }
  .nav { padding: 14px 24px; }
  .wham-nav { padding: 18px 24px; }
}

@media (max-width: 600px) {
  .nav-links { gap: 16px; }
  .nav-links a,
  .nav-links button { font-size: 0.8125rem; }

  .photo-strip {
    grid-template-columns: 1fr;
    max-height: 260px;
  }
  .photo-strip-item:nth-child(2),
  .photo-strip-item:last-child { display: none; }

  .portrait { width: 150px; height: 150px; }
  .portrait-quote { font-size: 1.1rem; }

  .section { padding: 44px 20px; }
  .hero-content { padding: 0 20px 40px; }
  .hero-scroll { display: none; }
  .footer { padding: 40px 20px 32px; flex-direction: column; gap: 24px; }
  .footer-links { align-items: flex-start; }
  .wham-hero-overlay { padding: 24px 20px; }
  .wham-footer { padding: 40px 20px 32px; flex-direction: column; }
  .wham-footer-links { align-items: flex-start; }
  .article { padding: 0 20px 60px; }
  .nav { padding: 14px 20px; }
  .wham-nav { padding: 16px 20px; }
  .modal { padding: 28px 20px 24px; }
}
