/* Selah Head Spa — shared stylesheet for the static rebuild.
   One file, no framework. Palette and typography follow the live site:
   warm ivory background, deep charcoal text, bronze (#8b7355) accent,
   Cormorant Garamond / Garamond serif display type. */

:root {
  --ink: #2d2d2d;
  --ink-soft: #444;
  --accent: #8b7355;
  --bg: #f8f3ed;
  --bg-soft: #efe9df;
  --line: #e3dccd;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.7;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Garamond, Georgia, serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

main { display: block; }

.page-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.06);
}
.header-inner {
  /* old header content spans ~1355px at 1920 viewport (logo x272 → last link x1627):
     a ~1400px container, wider than the 1200px content column */
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
/* old header logo renders 48px tall (new was 52px) */
.logo img { height: 48px; width: auto; }
/* old nav links sit ~55px apart (new was ~31px) */
.site-nav { display: flex; gap: 55px; }
.site-nav a {
  color: rgb(102, 99, 75);
  text-decoration: none;
  /* old navBar values: 'Lucida Sans Unicode' 18px weight 500 */
  font-family: 'Lucida Sans Unicode', 'Lucida Grande', 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.site-nav a:hover { color: var(--accent); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 1.25rem;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- hero (home, video background) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding: 7rem 1.25rem;
}
.hero .section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 28, 22, 0.38);
  z-index: -1;
}
.hero h1 {
  color: #fff;
  font-size: 2.75rem;
  letter-spacing: 0.12em;
  margin: 0.5rem 0;
}
.hero h2 { color: #fff; font-size: 1.5rem; letter-spacing: 0.06em; }
.hero a {
  display: inline-block;
  margin-top: 1.5rem;
  background: rgb(230, 227, 207);
  color: var(--ink);
  padding: 0.7rem 1.6rem;
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 0.14em;
  box-shadow: 0 0.5rem 0.75rem rgba(0, 0, 0, 0.12);
}

/* ---------- manifesto (home) — values copied verbatim from the old site's custom block ---------- */
.selah-manifesto-wrapper {
  background-color: transparent;
  padding: 0 20px;
  text-align: center;
  font-family: Garamond, serif;
  color: #2d2d2d;
  overflow: hidden;
}
.selah-manifesto-container { max-width: 850px; margin: 0 auto; padding: 30px 0; }
.selah-manifesto-header h1 {
  font-family: Garamond, serif;
  font-size: 15px; font-weight: 300; letter-spacing: 5px;
  text-transform: uppercase; color: #8b7355; margin-bottom: 12px;
}
.selah-manifesto-header h2 {
  font-family: Garamond, serif;
  font-size: 36px; font-weight: 400; line-height: 1.1;
  letter-spacing: 1px; color: #1a1a1a; margin: 0; font-style: italic;
}
.selah-pause-divider {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, #8b7355, transparent);
  margin: 25px auto;
}
.selah-manifesto-content {
  font-family: Garamond, serif;
  font-size: 20px; line-height: 1.5; color: #333;
}
.selah-manifesto-content p { margin-bottom: 15px; }
/* scroll-reveal, as on the old site (JS adds .reveal); guarded by .js so no-JS stays readable */
.js .selah-manifesto-content p {
  opacity: 0; transform: translateY(10px); transition: all 1s ease-out;
}
.selah-manifesto-content p.reveal { opacity: 1; transform: translateY(0); }
.selah-word {
  font-family: Garamond, serif;
  font-weight: bold; color: #000; letter-spacing: 3px;
  display: block; margin-bottom: 8px; font-style: normal;
}
@media (prefers-color-scheme: dark) {
  .selah-manifesto-header h2 { color: #fff; }
  .selah-manifesto-content { color: #ccc; }
  .selah-word { color: #fff; }
}

/* ---------- home service cards — values copied verbatim from the old site's custom block ---------- */
.services-title { text-align: center; font-size: 2.4rem; margin-top: 0; }
.service-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px 20px;
  background-color: transparent;
  max-width: 1100px;
  margin: 0 auto;
  font-family: "EB Garamond", "Garamond", serif;
}
.service-box {
  text-align: center;
  flex: 0 1 calc(33.33% - 30px);
  min-width: 250px;
  max-width: 320px;
  margin-bottom: 20px;
}
.service-box h3 {
  font-size: 24px;
  font-weight: normal;
  margin: 0 0 20px;
  color: #000;
  font-family: "EB Garamond", "Garamond", serif;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.service-box img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
/* scroll fade-in, as on the old site (JS adds .fade-in); guarded by .js */
.js .service-box img {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.service-box img.fade-in { opacity: 1; transform: translateY(0); }
.service-box a {
  display: inline-block;
  padding: 12px 28px;
  background-color: #4a4741;
  color: white !important;
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  line-height: 18px;
  font-weight: normal;
  font-family: "EB Garamond", "Garamond", serif;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.service-box a:hover {
  background-color: #8b7355;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
@media screen and (max-width: 1024px) {
  .service-box { flex: 0 1 calc(50% - 30px); }
}
@media screen and (max-width: 650px) {
  .service-section { flex-direction: column; align-items: center; gap: 40px; }
  .service-box { flex: 1 1 auto; max-width: 100%; }
  .service-box h3 { min-height: auto; }
}
@media (prefers-color-scheme: dark) {
  .service-box h3 { color: #fff; }
  .service-box a { background-color: #ffffff33; color: #fff; }
}

/* ---------- FAQ (home) — values copied verbatim from the old site's custom block ---------- */
/* old FAQ section has no extra horizontal padding: the outer container's own 0 20px governs */
.faq-section { padding-left: 0; padding-right: 0; }
.faq-section h2 { text-align: center; }
.faq-outer-container {
  font-family: 'Garamond', serif;
  color: #333;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  background-color: transparent;
}
.faq-content-wrapper {
  display: flex;
  gap: 60px;
  align-items: stretch;
}
.faq-list-container {
  flex: 1;
  min-width: 0;
  border-top: 1px solid #e0e0e0;
  background-color: transparent;
}
.faq-item {
  border-bottom: 1px solid #e0e0e0;
  background-color: transparent;
}
.faq-question {
  width: 100%;
  padding: 24px 10px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: 'Garamond', serif;
  transition: color 0.3s ease;
  gap: 15px;
  color: var(--ink);
}
.faq-question h3 {
  margin: 0;
  font-size: 22px;
  color: #2d2d2d;
  font-weight: 400;
  line-height: 1.3;
  font-family: 'Garamond', serif;
}
.faq-question:hover { background-color: transparent; color: #000; }
.faq-icon {
  font-size: 16px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  color: #999;
}
/* Old site collapses answers with a max-height transition; collapse only when JS is
   active (class toggled by JS), so no-JS readers still see the answers. */
.js .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: transparent;
}
.faq-answer p {
  padding: 0 10px 28px 10px;
  margin: 0;
  line-height: 1.75;
  font-size: 16px;
  color: #4f4f4f;
  font-family: 'Garamond', serif;
}
.js .faq-item.active .faq-answer { max-height: 600px; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: #000; }
.faq-image-container {
  flex: 0 0 420px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
}
.faq-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (prefers-color-scheme: dark) {
  .faq-question h3 { color: #fff; }
  .faq-answer p { color: #ccc; }
  .faq-item, .faq-list-container { border-color: #333; }
  .faq-question:hover { background-color: transparent; }
}
@media screen and (max-width: 900px) {
  .faq-content-wrapper { flex-direction: column; gap: 30px; }
  .faq-image-container { flex: 0 0 auto; width: 100%; height: 350px; order: -1; }
}
@media screen and (max-width: 768px) {
  .faq-question h3 { font-size: 20px; }
}

/* ---------- services page (editorial layout) — values copied verbatim from the old site's custom block ---------- */
/* old site forces Garamond across this whole block */
.selah-main-container,
.selah-main-container *,
.selah-editorial-section h2,
.selah-editorial-section h3,
.service-item-price,
.editorial-cta {
  font-family: 'Garamond', serif !important;
}
.selah-main-container { max-width: 1200px; margin: 0 auto; padding: 40px 0; background: transparent; }
.selah-editorial-section { position: relative; margin-bottom: 80px; padding: 60px 10px 0; }
.selah-editorial-section:last-of-type { margin-bottom: 20px; }
.section-number {
  position: absolute; top: 20px; left: 10px;
  font-size: 16px; letter-spacing: 3px; color: #888;
  text-transform: uppercase; display: block !important; z-index: 99;
}
.editorial-row { display: flex; gap: 60px; align-items: flex-start; }
.editorial-row.reverse-layout { flex-direction: row-reverse; }
.editorial-visual { flex: 1; position: sticky; top: 40px; display: flex; flex-direction: column; }
.editorial-visual video, .editorial-visual img {
  width: 100%; border-radius: 2px;
  box-shadow: 10px 10px 0 rgba(45, 45, 45, 0.03);
}
.editorial-visual h2 {
  font-size: 36px; text-transform: uppercase; letter-spacing: 3px;
  margin: 25px 0 0; color: var(--ink);
  border-bottom: 1px solid #eee; padding-bottom: 10px; font-weight: 400;
}
.editorial-text { flex: 1.2; padding-top: 5px; }
.service-item-detailed { margin-bottom: 40px; padding-left: 20px; border-left: 1px solid var(--accent); }
.service-item-detailed h3 { font-size: 24px; margin: 0 0 10px; font-weight: 400; line-height: 1.3; color: #1a1a1a; }
.service-item-detailed h3 span { display: block; font-size: 18px; color: #555; margin-top: 6px; font-weight: normal; }
.service-item-price {
  font-size: 24px; color: var(--accent); font-weight: 600;
  margin-bottom: 15px; display: block; letter-spacing: 0.5px; line-height: 1.4;
}
.service-item-description { font-size: 16px; line-height: 1.8; color: var(--ink-soft); text-align: justify; }
.editorial-cta {
  display: block; width: 100%; max-width: 260px; text-align: center;
  background: var(--ink); color: #fff !important; padding: 16px;
  text-decoration: none; letter-spacing: 2px; margin-top: 30px;
  transition: background 0.3s; border-radius: 2px;
  font-size: 14px; text-transform: uppercase; font-weight: bold;
  /* old site has no global border-box: the CTA renders content-box (292x48 measured) */
  box-sizing: content-box; line-height: 16px;
}
.editorial-cta:hover { background: var(--accent); }

/* ---------- buttons ---------- */
.btn, .button {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.8rem;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  border-radius: 2px;
}
.btn:hover, .button:hover { background: var(--accent); color: #fff; }

/* ---------- full-width image banners (home contact, services top) ---------- */
.contact-banner, .services-banner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.contact-banner { min-height: 500px; }
.services-banner { min-height: 460px; }
.contact-banner .banner-bg, .services-banner .banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* old site has NO dark overlay on these banners — the images are light, text styles below */
.banner-content { position: relative; z-index: 2; padding: 4rem 1.25rem; }
.services-banner .banner-content h1 {
  font-size: 44px; color: #161616; letter-spacing: normal;
}
/* contact banner headings — old values: eyebrow 18px white ls .1em lh 1.875; title 34px white ls .1em lh 1.5 */
.contact-banner .banner-eyebrow {
  font-size: 18px; color: #fff; letter-spacing: 0.1em; line-height: 1.875;
}
.contact-banner .banner-title {
  font-size: 34px; color: #fff; letter-spacing: 0.1em; line-height: 1.5;
}
/* banner buttons — old site: platform .button wrapper, visual style on the inner span
   (bg #faf5ed, span padding 1rem 1.75rem, radius .5rem, soft shadow, Cormorant Garamond) */
.banner-content .button {
  background: transparent;
  padding: 0;
  font-family: 'Cormorant Garamond', Garamond, serif;
  text-transform: none;
  max-width: 100%;
  text-align: center;
  cursor: pointer;
}
.banner-content .button > span {
  display: inline-block;
  padding: 1rem 1.75rem;
  border-radius: 0.5rem;
  background-color: #faf5ed;
  box-shadow: rgba(0, 0, 0, 0.1) 0 0.5rem 0.75rem;
  transition: filter 0.66s;
}
.banner-content .button > span:hover { filter: brightness(0.85); }
.banner-content .button:hover { background: transparent; }
.services-banner .button { font-size: 20px; letter-spacing: normal; }
.services-banner .button > span { color: #2d2d2d; }
.contact-banner .button { font-size: 18px; letter-spacing: 0.1em; }
.contact-banner .button > span { color: #494848; }
.services-banner + .page-section { padding-top: 1rem; }

/* ---------- blog ---------- */
.blog-index h1 { text-align: center; font-size: 2.4rem; }
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.post-card {
  display: flex;
  flex-direction: column;
}
.post-card img { width: 100%; height: 200px; object-fit: cover; }
.post-card h2 { font-size: 1.35rem; margin: 0.9rem 0 0.3rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-date { color: #888; font-size: 0.9rem; margin: 0.2rem 0 0.6rem; display: flex; align-items: center; gap: 0.5rem; }
.post-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: inline-block; }
.post-card .excerpt { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.read-more { letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.82rem; text-decoration: none; }

.post { max-width: 860px; margin: 0 auto; padding: 3rem 1.25rem; }
.post h1 { font-size: 2.3rem; text-align: center; }
.post .post-date { justify-content: center; }
.post-cover { width: 100%; border-radius: 2px; margin: 1.5rem 0; }
.post-content { color: var(--ink-soft); }
.post-content h1, .post-content h2 { color: var(--ink); margin-top: 2rem; }
.post-content .lede { font-size: 1.12rem; color: var(--ink); }
.post-content img { margin: 1.5rem auto; border-radius: 2px; }
.post-cta { text-align: center; margin-top: 3rem; }

/* ---------- footer — old values: bg #f8f3ed, paddingTop 30 / paddingBottom 40,
   Times New Roman 18px #2d2d2d, headings 26px bold #494848, line-height 1.725 ---------- */
.site-footer {
  background: #f8f3ed;
  margin-top: 0;
  padding: 30px 1.25rem 40px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 18px;
  color: #2d2d2d;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.site-footer h2 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 26px;
  font-weight: 700;
  color: #494848;
  margin-top: 0;
}
/* old footer paragraphs have margin 0 — row pitch equals line-height (31px) exactly */
.site-footer p { line-height: 1.725; margin: 0; }
.site-footer a { color: #2d2d2d; }
.site-footer a:hover { color: var(--accent); }
.footer-social a { display: inline-block; margin-right: 1.1rem; letter-spacing: 0.08em; }
/* copyright: full-width, centered, at the very bottom of the footer (Steven 2026-11-21).
   Selector needs .site-footer prefix — plain .copyright loses to the .site-footer p margin:0 rule. */
.site-footer .copyright {
  width: 100%;
  max-width: none;
  margin: 6rem 0 0;
  padding: 0;
  color: #888;
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- responsive ---------- */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .hero { padding: 4.5rem 1rem; }
  .hero h1 { font-size: 2rem; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    box-shadow: 0 0.5rem 0.75rem rgba(0, 0, 0, 0.08);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.55rem 0; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .editorial-row, .editorial-row.reverse-layout { flex-direction: column !important; gap: 20px; }
  .editorial-visual { position: static; width: 100%; }
  .editorial-visual h2 { font-size: 28px; margin-top: 15px; }
  .service-item-detailed h3 { font-size: 21px; }
  .service-item-price { font-size: 22px; }
  .selah-editorial-section { padding: 30px 5px 0 5px; margin-bottom: 50px; }
  .selah-editorial-section:last-of-type { margin-bottom: 15px; }
  .section-number { top: 5px; }
  .selah-manifesto-header h2 { font-size: 28px; }
  .selah-manifesto-content { font-size: 18px; }
  .contact-banner { min-height: 380px; }
  .services-banner { min-height: 320px; }
}
/* ---------- round 3: promo bar, webfonts, blog tidy-ups ---------- */

/* announcement bar (all pages, above header) — copied verbatim from the old site's custom block */
.announcement-bar {
  background-color: #f8f3ed;
  color: #494848;
  font-family: Garamond, serif;
  text-align: center;
  padding: 12px 20px;
  font-size: 24px;
  line-height: 1.4;
}
.announcement-bar .phone-number {
  font-weight: bold;
  color: #494848;
}
@media screen and (max-width: 600px) {
  .announcement-bar { font-size: 18px; }
}

/* blog body text in the old site's sans (Mulish); display type stays Cormorant/Georgia */
.post-content, .post-card .excerpt { font-family: 'Mulish', Arial, sans-serif; }
.post-content { font-size: 1.02rem; }

/* footer logo: the image has ~10% transparent padding — old element box is ~192px
   (48% of its ~400px column), which renders ~172px of visible glyph */
.footer-brand img { width: 192px; max-width: 100%; height: auto; }
@media (max-width: 640px) { .footer-brand img { width: 48%; } }
.footer-inner { gap: 1.5rem; }

/* blog pages sit on WHITE (old platform blog chrome), unlike the ivory content pages */
.blog-main { background: #fff; }

/* breadcrumbs + blog toolbar/search — old platform blog chrome is Lucida Sans */
.breadcrumb {
  font-family: 'Lucida Sans Unicode', 'Lucida Grande', 'Segoe UI', Arial, sans-serif;
  font-size: 16px; color: #888;
}
.breadcrumb a { color: #666; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: #1a1a1a; font-weight: 600; }
.post .breadcrumb { margin-bottom: 1.25rem; }
.blog-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 0.5rem;
}
/* centered gold logo (blog section avatar) above the post grid on the old blog index.
   This PNG is only ~69% glyph — old renders ~180px visible, so the element box is ~260px,
   and it must be margin-auto centered (global img is block-level, text-align won't center it). */
.blog-avatar { text-align: center; margin: 1.5rem auto 2rem; }
.blog-avatar img { width: 190px; height: auto; display: block; margin: 0 auto; }
.blog-search-wrap { position: relative; display: flex; gap: 0.5rem; align-items: stretch; }
.post-search {
  font-family: 'Lucida Sans Unicode', 'Lucida Grande', 'Segoe UI', Arial, sans-serif;
  font-size: 0.95rem; height: 40px;
  padding: 0.5rem 0.8rem; border: 1px solid #ddd; border-radius: 6px;
  background: #fff; color: var(--ink); min-width: 300px;
}
.post-search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.sort-btn {
  width: 40px; height: 40px; flex: 0 0 40px;
  background: #fff; border: 1px solid #ddd; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: #555;
}
.sort-btn:hover { border-color: #bbb; }
.sort-menu {
  position: absolute; right: 0; top: 46px; z-index: 30;
  background: #fff; border: 1px solid #ddd; border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); padding: 0.3rem; min-width: 160px;
}
.sort-menu button {
  display: block; width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: 'Lucida Sans Unicode', 'Lucida Grande', 'Segoe UI', Arial, sans-serif;
  font-size: 0.9rem; color: var(--ink); padding: 0.45rem 0.6rem; border-radius: 4px;
}
.sort-menu button:hover { background: #f4efe7; }

/* blog index: compact 4-column grid, one-line titles, 3-line excerpts */
.blog-index .post-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.post-card { min-width: 0; }
.post-card img { height: auto; aspect-ratio: 4 / 3; }
.post-card h2 {
  font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
  font-size: 16px; font-weight: 500; min-width: 0;
  margin: 10px 0 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.post-card h2 a { color: #0a0a0a; }
.post-card .excerpt {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px; line-height: 20px; color: #4d4d4d;
  margin: 12px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-meta {
  border-top: 1px solid #e5e7eb;
  margin-top: 18px; padding-top: 12px;
  text-align: right;
  font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
  font-size: 13px; color: #737373;
}
/* Old blog index has no big visible page title (breadcrumb + search only) — keep the h1 for structure/SEO but visually hide it. */
.blog-index h1 {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.read-time { white-space: nowrap; }

/* share row + other posts (post pages) */
.share-row {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: 'Mulish', Arial, sans-serif;
}
.share-label {
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 0.85rem; color: var(--ink);
}
.share-row a {
  font-size: 0.92rem; text-decoration: none;
  border: 1px solid var(--accent); border-radius: 999px; padding: 0.3rem 0.9rem;
}
.share-row a:hover { background: var(--accent); color: #fff; }
.other-posts { margin-top: 3rem; }
.other-posts > h2 { text-align: center; font-size: 1.9rem; }
.other-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }

/* home: tighter manifesto -> services rhythm */
.manifesto-section { padding-bottom: 1rem; }

/* home services: background video behind the whole block, as on the old site
   (container background video + poster, paddingTop 65 / paddingBottom 66) */
.services-bg { position: relative; overflow: hidden; }
.services-bg .section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.services-home {
  position: relative;
  z-index: 1;
  padding-top: 65px;
  padding-bottom: 66px;
}

@media (max-width: 1100px) {
  .blog-index .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .other-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .blog-index .post-grid { grid-template-columns: 1fr; }
  .post-search { width: 100%; }
}
