/* ================================
   Hayat's Companionship
   Palette drawn from the homes this work happens in:
   tea, dates, olive leaves, late-afternoon light.
   ================================ */
:root {
  --paper: #FBF9F4;      /* warm paper, barely tinted */
  --ink: #2C2A25;        /* deep warm charcoal = never pure black */
  --ink-soft: #57534A;   /* secondary text */
  --pine: #47543A;      /* olive green pulled from the logo lettering */       /* accent: olive/pine green */
  --pine-dark: #3E422B;
  --heading: #33382A;    /* olive-inked headings to match the logo */
  --date: #8A6647;       /* date-brown, used sparingly */
  --hairline: #E5E0D5;
  --tint: #F3F0E8;       /* slightly deeper ground for alternating blocks */
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--heading);
}

h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 0.9rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }

p { max-width: 62ch; }
p + p { margin-top: 1rem; }

a { color: var(--pine); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 3px;
}

/* === Header === */
header {
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}
.header-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.wordmark {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
}
.wordmark span { color: var(--pine); }
nav a {
  text-decoration: none;
  color: var(--ink-soft);
  margin-left: 1.4rem;
  font-size: 1.25rem;
}
nav a:hover, nav a[aria-current="page"] { color: var(--pine-dark); text-decoration: underline; text-underline-offset: 4px; }

/* === Layout === */
main { max-width: 980px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 3rem 0; border-bottom: 1px solid var(--hairline); }
section:last-of-type { border-bottom: none; }

/* === Hero === */
.hero { padding: 3.5rem 0 3rem; }
.hero .lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-top: 1.1rem;
}
.hero-name-note {
  margin-top: 1.1rem;
  color: var(--date);
  font-size: 1rem;
}

.cta-row { margin-top: 1.8rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.05rem;
  border: 1px solid var(--pine-dark);
}
.btn-solid { background: var(--pine); color: #FDFCF9; }
.btn-solid:hover { background: var(--pine-dark); }
.btn-ghost { color: var(--pine-dark); background: transparent; }
.btn-ghost:hover { background: var(--tint); }

/* === Founder block === */
.founder {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
}
.founder-photo {
  width: 320px;
  height: 380px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
@media (max-width: 640px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo { width: 100%; height: 260px; }
}

/* === Visit list === */
.visit-list { list-style: none; margin-top: 1.2rem; }
.visit-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--hairline);
  max-width: 62ch;
}
.visit-list li strong {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 500;
  display: block;
}

/* === Credentials === */
.tinted {
  background: var(--tint);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  border: 1px solid var(--hairline);
}
.cred-list { list-style: none; }
.cred-list li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.9rem;
  max-width: 62ch;
}
.cred-list li::before {
  content: "\00B7";
  position: absolute;
  left: 0;
  color: var(--pine);
}
.paperwork-line {
  margin-top: 1.4rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* === Contact page === */
.contact-block {
  margin-top: 1.6rem;
  padding: 1.6rem 1.75rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  max-width: 560px;
}
.contact-block h3 { color: var(--pine-dark); }
.contact-detail {
  font-size: 1.25rem;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  margin: 0.4rem 0 0.6rem;
  word-break: break-all;
}
.small-note { font-size: 0.95rem; color: var(--ink-soft); }

/* === Footer === */
footer {
  border-top: 1px solid var(--hairline);
  margin-top: 2rem;
  padding: 1.75rem 1.25rem 2.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.footer-inner { max-width: 980px; margin: 0 auto; }

/* Header logo */
.logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.logo-img { height: 240px; width: auto; display: block; }
@media (max-width: 640px) { .logo-img { height: 168px; } }

/* Visit accordion */
.visit-accordion { margin-top: 1.3rem; max-width: 62ch; }
.visit-accordion details {
  border-top: 1px solid var(--hairline);
}
.visit-accordion details:last-of-type { border-bottom: 1px solid var(--hairline); }
.visit-accordion summary {
  cursor: pointer;
  padding: 0.9rem 0.25rem;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.15rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.visit-accordion summary::-webkit-details-marker { display: none; }
.visit-accordion summary::after {
  content: "+";
  color: var(--pine);
  font-size: 1.3rem;
  font-family: "Source Sans 3", sans-serif;
}
.visit-accordion details[open] summary::after { content: "\2212"; }
.visit-accordion summary:hover { color: var(--pine-dark); }
.visit-accordion details p {
  padding: 0 0.25rem 1rem;
  color: var(--ink-soft);
}
.visit-close { margin-top: 1.4rem; }
