/* ─── Light mode tokens ──────────────────────────────── */
:root {
  --bg:          #D8D8D5;
  --bg-raised:   #F0F0EE;
  --chrome:      #F0F0EE;
  --text:        #1A1A18;
  --text-2:      #3E3E3A;
  --muted:       #80807A;
  --accent:      #E8551A;
  --accent-h:    #FF6825;
  --border:      #C4C4C0;

  --well-bg:     #252220;
  --well-text:   #F0EDE8;
  --well-text-2: #B8B4AE;
  --well-muted:  #7A7872;
  --well-border: #38342F;
  --well-accent: #D4662A;

  --font-display: 'Barlow', sans-serif;
  --font:     'Spectral', serif;
  --font-sc:  'Alegreya SC', serif;
  --max:      1100px;
  --text-max: 680px;
  --gap:      clamp(1.5rem, 4vw, 3rem);
}

/* ─── Dark mode tokens ───────────────────────────────── */
[data-theme="dark"] {
  --bg:          #252220;
  --bg-raised:   #2E2B27;
  --chrome:      #1A1816;
  --text:        #F0EDE8;
  --text-2:      #C0BAB2;
  --muted:       #7A7470;
  --accent:      #E8671E;
  --accent-h:    #F07830;
  --border:      #3C3830;

  --well-bg:     #141210;
  --well-text:   #F0EDE8;
  --well-text-2: #B8B2AA;
  --well-muted:  #6A6460;
  --well-border: #252220;
  --well-accent: #E8671E;
}

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

html { font-size: 18px; -webkit-text-size-adjust: 100%; color-scheme: light dark; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.2s, color 0.2s;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-h); }
main { flex: 1; }

/* ─── Small caps ─────────────────────────────────────── */
.sc {
  font-family: var(--font-sc);
  letter-spacing: 0.03em;
  font-weight: 400;
}

/* ─── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--chrome);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  font-family: var(--font-sc);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text);
  white-space: nowrap;
  text-decoration: none;
}

.wordmark:hover { color: var(--accent); }

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

#main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

#main-nav a {
  font-family: var(--font-sc);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  transition: color 0.15s;
}

#main-nav a:hover,
#main-nav a.active { color: var(--text); }

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 4px;
  line-height: 1;
  transition: color 0.15s;
  flex-shrink: 0;
}

.theme-toggle:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.2s;
}

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem var(--gap);
  background: var(--chrome);
  transition: background 0.2s, border-color 0.2s;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
}

.footer-nav a {
  font-family: var(--font-sc);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav a:hover { color: var(--accent); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-icons {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 1rem;
}

.footer-icons a,
.footer-icons button { color: var(--muted); transition: color 0.15s; position: relative; }
.footer-icons a:hover,
.footer-icons button:hover { color: var(--accent); }

.icon-link {
  position: relative;
}

.icon-tip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-sc);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.15s;
}

.icon-link:hover .icon-tip { opacity: 1; }

/* ─── Kicker ─────────────────────────────────────────── */
.kicker {
  font-family: var(--font-sc);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent);
}

.kicker-well {
  font-family: var(--font-sc);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--well-accent);
}

.kicker-plain {
  font-family: var(--font-display);
  font-variant-caps: normal;
  letter-spacing: 0.05em;
}

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-h); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

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

.btn-ghost-well {
  background: transparent;
  color: var(--well-text);
  border: 1px solid var(--well-border);
}

.btn-ghost-well:hover { border-color: var(--well-accent); color: var(--well-accent); }

/* ─── Homepage hero ──────────────────────────────────── */
.home-lede {
  padding: clamp(3rem, 7vw, 5rem) var(--gap) clamp(2.5rem, 6vw, 4.5rem);
  max-width: var(--max);
  margin: 0 auto;
}

.home-lede .kicker { margin-bottom: 0.75rem; }

.home-provocation {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  font-family: var(--font-display);
  letter-spacing: 0;
  color: var(--text);
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.home-provocation em {
  font-style: normal;
  color: var(--accent);
}

.home-sub {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--text-2);
  max-width: 46ch;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.home-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ─── Services strip (well) ──────────────────────────── */
.services-strip {
  border-top: 1px solid var(--well-border);
  border-bottom: 1px solid var(--well-border);
  background: var(--well-bg);
}

.services-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-item {
  padding: 2.5rem 2rem 2.5rem 0;
  border-right: 1px solid var(--well-border);
  display: flex;
  flex-direction: column;
}

.service-desc { flex: 1; }

.service-item:first-child { padding-left: 0; }
.service-item:last-child { border-right: none; padding-left: 2rem; }
.service-item:nth-child(2) { padding-left: 2rem; }

.service-icon { font-size: 1.1rem; color: var(--well-accent); margin-bottom: 0.75rem; }

.service-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--well-text);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 0;
}

.service-desc { font-size: 0.85rem; color: var(--well-muted); line-height: 1.65; }

.service-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-sc);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--well-accent);
}

.service-link:hover { color: var(--accent-h); }

/* ─── About strip ────────────────────────────────────── */
.about-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--gap);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text .kicker { margin-bottom: 1rem; }

.about-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  font-family: var(--font-display);
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 46ch;
}

.about-text p:last-of-type { margin-bottom: 1.5rem; }

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  border-radius: 50%;
  width: min(280px, 100%);
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center top;
}

/* ─── Field Notes list ───────────────────────────────── */
.notes-list { display: grid; gap: 0; }

.note-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.note-item:last-child { border-bottom: 1px solid var(--border); }

.view-all-link {
  font-family: var(--font-sc);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-align: right;
  margin-top: 0.75rem;
}

.view-all-link a { color: var(--muted); }
.view-all-link a:hover { color: var(--accent); }

.note-date {
  font-family: var(--font-sc);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  padding-top: 0.25rem;
  text-align: right;
}

.note-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  font-family: var(--font-display);
  letter-spacing: 0;
  margin-bottom: 0.3rem;
}

.note-title a { color: var(--text); }
.note-title a:hover { color: var(--accent); }
.note-dek { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ─── Home notes section ─────────────────────────────── */
.home-notes {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--gap);
}

.home-notes-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.home-notes-header h2 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }

.see-all {
  font-family: var(--font-sc);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  white-space: nowrap;
}

.see-all:hover { color: var(--accent); }

/* ─── Page header (well) ─────────────────────────────── */
.page-header {
  background: var(--well-bg);
  border-bottom: 1px solid var(--well-border);
  padding: clamp(3rem, 7vw, 5rem) var(--gap) 2.5rem;
}

.page-header-inner { max-width: var(--max); margin: 0 auto; }
.page-header .kicker-well { margin-bottom: 0.75rem; }

.page-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  font-family: var(--font-display);
  letter-spacing: 0;
  color: var(--well-text);
  max-width: 20ch;
}

.page-dek {
  font-size: 1rem;
  color: var(--well-muted);
  margin-top: 0.75rem;
  max-width: 50ch;
  line-height: 1.6;
}

/* ─── Page body ──────────────────────────────────────── */
.page-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gap);
}

.page-body p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.8;
  max-width: var(--text-max);
  margin-bottom: 1.25rem;
}

.page-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0;
  color: var(--text);
  margin: 2.5rem 0 0.75rem;
  max-width: var(--text-max);
}

.page-body ul {
  max-width: var(--text-max);
  padding-left: 1.5rem;
  color: var(--text-2);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.page-body li { margin-bottom: 0.4rem; }
.page-body a:not(.btn) { color: var(--accent); }
.page-body a:not(.btn):hover { color: var(--accent-h); }
.btn { text-decoration: none; }

/* ─── Post article ───────────────────────────────────── */
.post-article {
  max-width: var(--text-max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--gap);
}

.post-kicker { margin-bottom: 0.75rem; }

.post-title {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  font-family: var(--font-display);
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.post-dek { font-size: 1rem; color: var(--muted); line-height: 1.55; margin-bottom: 1.25rem; }

.post-meta {
  font-family: var(--font-sc);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.post-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0;
  color: var(--text);
  margin: 2.5rem 0 0.75rem;
}

.post-body h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 2rem 0 0.5rem; }

.post-body p { color: var(--text-2); margin-bottom: 1.25rem; font-size: 0.95rem; line-height: 1.8; }

.post-body ul, .post-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-2);
  font-size: 0.95rem;
}

.post-body li { margin-bottom: 0.4rem; }

.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 2rem 0;
  color: var(--muted);
}

.post-body a { color: var(--accent); }
.post-body a:hover { color: var(--accent-h); }

.post-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }

.back-link {
  font-family: var(--font-sc);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.back-link:hover { color: var(--accent); }

/* ─── Field Notes index ──────────────────────────────── */
/* ─── Field Notes layout ──────────────────────────────── */
.fn-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--gap);
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 4rem;
  align-items: start;
}

.fn-main { min-width: 0; }

/* ─── Sidebar ─────────────────────────────────────────── */
.fn-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 2rem;
}

.sidebar-widget { display: flex; flex-direction: column; gap: 0.5rem; }

.sidebar-rss {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sc);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent);
  text-decoration: none;
}

.sidebar-rss:hover { color: var(--accent-h); }

.sidebar-heading {
  font-family: var(--font-sc);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.sidebar-category-list { list-style: none; padding: 0; display: grid; gap: 0.3rem; }

.sidebar-category-list a {
  font-size: 0.88rem;
  color: var(--text-2);
  text-decoration: none;
}

.sidebar-category-list a:hover { color: var(--accent); }

.sidebar-count { font-size: 0.78rem; color: var(--muted); margin-left: 0.2rem; }

/* ─── Archive accordion ───────────────────────────────── */
.archive-decade {
  border-top: 1px solid var(--border);
  padding: 0.2rem 0;
}

.archive-decade:last-child { border-bottom: 1px solid var(--border); }

.archive-decade-label,
.archive-year-label {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-sc);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-2);
  padding: 0.3rem 0;
  user-select: none;
}

.decade-suffix {
  font-family: var(--font-display);
  font-size: 0.65em;
  font-weight: 600;
  vertical-align: baseline;
}

.archive-decade-label::-webkit-details-marker,
.archive-year-label::-webkit-details-marker { display: none; }

.archive-decade-label:hover,
.archive-year-label:hover { color: var(--accent); }

.archive-year { padding-left: 0.75rem; }

.archive-year-label { font-weight: 500; color: var(--muted); }

.archive-month { padding-left: 0.75rem; margin-bottom: 0.5rem; }

.archive-month-name {
  font-family: var(--font-sc);
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.archive-post-list { list-style: none; padding: 0; display: grid; gap: 0.2rem; }

.archive-post-list a {
  font-size: 0.82rem;
  color: var(--text-2);
  text-decoration: none;
  line-height: 1.4;
}

.archive-post-list a:hover { color: var(--accent); }

.field-notes-index .kicker { margin-bottom: 0.5rem; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.section-dek { color: var(--muted); font-size: 0.95rem; margin-bottom: 3rem; }

/* ─── Testimonials (well) ────────────────────────────── */
.testimonials {
  background: var(--well-bg);
  border-top: 1px solid var(--well-border);
  border-bottom: 1px solid var(--well-border);
}

.testimonials-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gap);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.testimonial blockquote {
  font-size: 0.95rem;
  color: var(--well-text-2);
  line-height: 1.75;
  border-left: 2px solid var(--well-accent);
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.testimonial cite {
  font-family: var(--font-sc);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--well-muted);
  font-style: normal;
}

/* ─── Contact ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-form { display: grid; gap: 1.25rem; }
.form-group { display: grid; gap: 0.4rem; }

.form-group label {
  font-family: var(--font-sc);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 0.65rem 0.85rem;
  width: 100%;
  transition: border-color 0.15s, background 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--accent); }

.form-group textarea { resize: vertical; min-height: 120px; }

.contact-aside p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.contact-aside strong { color: var(--text); font-weight: 500; }

/* ─── About page ─────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-layout .about-image img {
  border-radius: 50%;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center top;
}

/* ─── Projects page ───────────────────────────────────── */
.project-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.project-item:last-child { border-bottom: none; }
.project-item h2 { margin-bottom: 1rem; }

.project-item blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
  color: var(--text-2);
  font-style: italic;
  margin: 1.25rem 0;
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ─── SefirahWatch ────────────────────────────────────── */
.sefirah-header {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.sefirah-icon img {
  width: 100%;
  border-radius: 22%;
}

.sefirah-header-text .page-dek {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.sefirah-support {
  font-size: 0.85rem;
  color: var(--well-text-2);
  margin-bottom: 1.25rem;
}

.sefirah-support a { color: var(--well-accent); }

.sefirah-actions { margin-bottom: 0.75rem; }

.sefirah-jumps {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

/* ─── Demo page ──────────────────────────────────────── */
.demo-page { max-width: var(--max); margin: 0 auto; padding: 3rem var(--gap); }

.demo-section { padding: 2.5rem 0; border-bottom: 1px solid var(--border); }
.demo-section:last-child { border-bottom: none; }

.demo-label {
  font-family: var(--font-sc);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.demo-swatches { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.swatch { width: 80px; display: grid; gap: 0.4rem; }
.swatch-color { height: 48px; border-radius: 4px; border: 1px solid var(--border); }
.swatch-name { font-size: 0.62rem; color: var(--muted); text-align: center; }

.demo-type-row { display: grid; gap: 1rem; }
.demo-buttons { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ─── Accordion ─────────────────────────────────────── */
.accordion { display: grid; gap: 0; }

.accordion-item {
  border-top: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: 1px solid var(--border);
}

.accordion-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}

.accordion-item summary::-webkit-details-marker { display: none; }

.accordion-item summary::after {
  content: '+';
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s;
}

.accordion-item[open] summary::after {
  content: '−';
}

.accordion-item summary:hover { color: var(--accent); }
.accordion-item summary:hover::after { color: var(--accent); }

.accordion-content {
  padding: 0 0 1.75rem 0;
  color: var(--text-2);
}

.accordion-content p { margin-bottom: 1rem; line-height: 1.7; }
.accordion-content p:last-child { margin-bottom: 0; }
.accordion-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.accordion-content li { margin-bottom: 0.4rem; line-height: 1.6; }
.accordion-content a { color: var(--accent); }
.accordion-content a:hover { color: var(--accent-h); }

.accordion-content blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
  color: var(--text-2);
  font-style: italic;
  margin: 1.25rem 0;
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }

  #main-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 58px;
    left: 0; right: 0;
    background: var(--chrome);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
  }

  #main-nav.open { display: flex; }
  #main-nav a { padding: 0.75rem var(--gap); width: 100%; }
  .site-header { position: relative; }

  .services-inner { grid-template-columns: 1fr; }
  .service-item { border-right: none; border-top: 1px solid var(--well-border); padding: 1.75rem 0; }
  .service-item:first-child { border-top: none; }
  .service-item:nth-child(2), .service-item:last-child { padding-left: 0; }

  .about-strip { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { max-width: 260px; }

  .note-item { grid-template-columns: 1fr; gap: 0.3rem; }
  .fn-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .fn-sidebar { position: static; }
  .note-date { padding-top: 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .testimonials-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-layout { grid-template-columns: 1fr; gap: 2rem; }
  .about-layout .about-image { max-width: 200px; }
  .sefirah-intro { grid-template-columns: 80px 1fr; gap: 1.5rem; }
  .home-notes-header { flex-direction: column; align-items: flex-start; }
}
