/* Sara Ruebelt Therapy: public site design system.
   Palette comes from her own material: the black tree logo, the greens of the Davis photos,
   and a lapis blue (Persian tile) for actions. Type: Newsreader for reading, IBM Plex Sans for UI. */

:root {
  --paper: #f3f1ea;
  --paper-2: #e9e5d9;
  --ink: #1f2b26;
  --ink-2: #4a5852;
  --pine: #2f4b3f;
  --pine-2: #3e6353;
  --sage: #b6c3b5;
  --sage-2: #dde4da;
  --lapis: #2a4b86;
  --lapis-2: #1f3a6b;
  --rule: #cfd3c9;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --farsi: "Vazirmatn", "Noto Naskh Arabic", Tahoma, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  font-feature-settings: "kern", "liga", "onum";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lapis); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--lapis-2); }
:focus-visible { outline: 3px solid var(--lapis); outline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-variation-settings: "opsz" 60; font-weight: 300; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.125rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-2); }
.small { font-size: 0.95rem; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
[lang="fa"], .farsi { font-family: var(--farsi); }

/* buttons and links */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.9em 1.3em;
  background: var(--lapis);
  color: #fff;
  border: 1px solid var(--lapis);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--lapis-2); color: #fff; }
.btn-quiet { background: transparent; color: var(--lapis); }
.btn-quiet:hover { background: rgba(42, 75, 134, 0.08); color: var(--lapis-2); }
.link-plain { font-family: var(--sans); font-size: 0.95rem; }
.link-arrow { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 1.5rem 0 1rem; }

/* header */
.site-head { border-bottom: 1px solid var(--rule); background: var(--paper); position: relative; z-index: 10; }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; flex-shrink: 0; }
.brand-tree { width: 54px; height: auto; }
.brand-name { display: block; font-size: 1.35rem; line-height: 1.1; }
.brand-sub { display: block; white-space: nowrap; font-family: var(--sans); font-size: 0.72rem; color: var(--ink-2); margin-top: 3px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 15px; }
.nav a { white-space: nowrap; font-family: var(--sans); font-size: 0.92rem; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--pine); }
.btn-head { white-space: nowrap; }
.nav-m { display: none; }
@media (max-width: 1100px) {
  .nav, .btn-head { display: none; }
  .nav-m { display: block; position: relative; }
  .nav-m summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--rule); border-radius: var(--radius); }
  .nav-m summary::-webkit-details-marker { display: none; }
  .nav-m summary span { display: block; width: 20px; height: 2px; background: var(--ink); }
  .nav-m ul { list-style: none; margin: 0; padding: 12px 0; position: absolute; right: 0; top: 52px; min-width: 260px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(31, 43, 38, 0.12); }
  .nav-m li a { display: block; padding: 10px 18px; font-family: var(--sans); font-size: 1rem; color: var(--ink); text-decoration: none; }
  .nav-m li a.btn { margin: 10px 18px 4px; color: #fff; text-align: center; }
  .nav-m li a[aria-current="page"] { color: var(--pine); }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 5vw, 64px); }
.hero::before {
  /* the tree, large and quiet, bleeding off the right edge */
  content: ""; position: absolute; right: -8%; top: -4%; width: min(62vw, 880px); aspect-ratio: 1675 / 1055;
  background: var(--sage); opacity: 0.55;
  -webkit-mask: url(/img/tree.png) center / contain no-repeat; mask: url(/img/tree.png) center / contain no-repeat;
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.hero-copy h1 { max-width: 19ch; margin-bottom: 0.6em; font-size: clamp(1.9rem, 3.9vw, 2.9rem); line-height: 1.12; }
.hero-copy p { max-width: 54ch; font-size: 1.2rem; }
.hero-detail { font-family: var(--sans); font-size: 0.92rem !important; color: var(--ink-2); }
.hero-figure { margin: 0; justify-self: end; width: 100%; max-width: 440px; }
.hero-figure img { width: 100%; aspect-ratio: 16 / 15; object-fit: cover; border-radius: var(--radius); }
.hero-figure figcaption { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-2); margin-top: 10px; }
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 100%; order: -1; }
  .hero-figure img { aspect-ratio: 4 / 3; }
  .hero::before { width: 120vw; right: -40%; top: 30%; opacity: 0.4; }
}

/* sections */
.section { padding: clamp(40px, 6vw, 80px) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-tint { background: var(--paper-2); }
.split { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 1.5rem; }
.split h2 { margin: 0; }
.split p { margin: 0; font-family: var(--sans); font-size: 0.95rem; }

/* specialties list on home */
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 5vw, 64px); border-top: 1px solid var(--rule); }
.spec-list li { border-bottom: 1px solid var(--rule); }
.spec-list a { display: block; padding: 22px 0; color: var(--ink); text-decoration: none; }
.spec-list a:hover .spec-title { color: var(--lapis); }
.spec-title { display: block; font-size: 1.45rem; line-height: 1.2; margin-bottom: 6px; }
.spec-sum { display: block; color: var(--ink-2); font-size: 1.02rem; }
@media (max-width: 720px) { .spec-list { grid-template-columns: 1fr; } }

/* approach */
.section-approach { background: var(--pine); color: #eef1ea; }
.section-approach a { color: #d9e2d4; }
.approach-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.approach-figure { margin: 0; }
.approach-figure img { border-radius: var(--radius); filter: grayscale(1) contrast(1.02); }
.display { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 300; font-style: italic; margin-bottom: 0.8em; max-width: 22ch; }
.approach-copy p { max-width: 58ch; }
@media (max-width: 800px) { .approach-grid { grid-template-columns: 1fr; } .approach-figure { max-width: 420px; } }

/* facts */
.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin: 0; }
.facts div { border-top: 2px solid var(--pine); padding-top: 12px; }
.facts dt { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; color: var(--pine); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 1rem; }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* big quote */
.big-quote { margin: 0 auto; max-width: 760px; text-align: center; }
.big-quote p { font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.4; font-weight: 300; }
.big-quote p::before { content: "\201C"; }
.big-quote p::after { content: "\201D"; }
.big-quote footer { font-family: var(--sans); font-size: 0.92rem; color: var(--ink-2); margin: 1rem 0 1.5rem; }

/* also */
.also { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.also a[lang="fa"] { font-family: var(--farsi); }
.also a { display: block; padding: 20px 22px; border: 1px solid var(--rule); border-radius: var(--radius); color: var(--ink); text-decoration: none; height: 100%; background: #fff6; }
.also a:hover { border-color: var(--pine); }
.also strong { display: block; font-weight: 400; font-size: 1.3rem; margin-bottom: 4px; }
.also span { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 720px) { .also { grid-template-columns: 1fr; } }

/* page head */
.page-head { padding: clamp(32px, 6vw, 72px) 0 0; }
.page-head + .section { padding-top: clamp(24px, 4vw, 48px); }
.page-head h1 { max-width: 20ch; }
.lede { font-size: 1.2rem; max-width: 60ch; }
.lede p { max-width: 60ch; }
.crumb { font-family: var(--sans); font-size: 0.85rem; margin-bottom: 1rem; }
.crumb a { text-decoration: none; }
.prose p { max-width: 62ch; }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.about-figure { margin: 0; position: sticky; top: 24px; }
.about-figure img { border-radius: var(--radius); }
.about-figure figcaption { font-family: var(--sans); font-size: 0.85rem; color: var(--ink-2); margin-top: 10px; display: flex; gap: 10px; align-items: baseline; }
.about-figure .farsi { font-size: 1.05rem; color: var(--pine); }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.two-col { columns: 2; column-gap: 48px; }
.two-col li { break-inside: avoid; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.display-sm { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 300; max-width: 36ch; margin: 0; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } .about-figure { position: static; max-width: 480px; } .two-col { columns: 1; } }

/* specialties page */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.spec-card h2 { font-size: 1.5rem; margin: 14px 0 6px; }
.spec-card h2 a { color: var(--ink); text-decoration: none; }
.spec-card h2 a:hover { color: var(--lapis); }
.spec-card p { color: var(--ink-2); font-size: 1.02rem; }
.spec-img img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 900px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-detail-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.spec-aside img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }
.spec-aside h2 { font-size: 1.1rem; font-family: var(--sans); color: var(--ink-2); font-weight: 500; }
.spec-aside .plain-list li { padding: 8px 0; }
.spec-aside a { text-decoration: none; }
@media (max-width: 800px) { .spec-detail-grid { grid-template-columns: 1fr; } }

/* reading list */
.jump ul { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.jump a { font-family: var(--sans); font-size: 0.88rem; text-decoration: none; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); background: #fff6; }
.jump a:hover { border-color: var(--pine); color: var(--pine); }
.book-section { scroll-margin-top: 16px; }
.book-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
.book { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: start; }
.book-cover img { width: 110px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px; box-shadow: 0 1px 2px rgba(31, 43, 38, 0.2), 0 6px 14px rgba(31, 43, 38, 0.12); }
.apps .book-cover img { aspect-ratio: 1; object-fit: contain; box-shadow: none; }
.book h3 { font-size: 1.2rem; margin-bottom: 6px; }
.book h3 a { color: var(--ink); text-decoration: none; }
.book h3 a:hover { color: var(--lapis); }
.book p { font-size: 1rem; color: var(--ink-2); margin: 0; }
@media (max-width: 800px) { .book-list { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .book { grid-template-columns: 80px 1fr; } .book-cover img { width: 80px; } }

/* news */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.news-item:first-child { padding-top: 0; }
.news-img img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.news-img-empty { aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--sage-2); }
.news-item h2 { font-size: 1.5rem; }
.news-item h2 a { color: var(--ink); text-decoration: none; }
.news-item h2 a:hover { color: var(--lapis); }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; } .news-img { max-width: 260px; } }

/* testimonials */
.testi-list { list-style: none; margin: 0; padding: 0; }
.testi { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--rule); }
.testi-photo { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.testi-photo-empty { background: var(--sage-2); }
.testi blockquote { margin: 0; max-width: 64ch; }
.testi blockquote p { font-size: 1.15rem; }
.testi footer { font-family: var(--sans); font-size: 0.92rem; color: var(--ink-2); }
.testi footer strong { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .testi { grid-template-columns: 1fr; } .testi-photo { width: 90px; } }

/* forms page */
.form-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.form-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.form-list h2 { font-size: 1.35rem; margin-bottom: 4px; }
.form-list h2 a { color: var(--ink); text-decoration: none; }
.form-list p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.contact-details h2 { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--pine); margin: 1.6rem 0 0.4rem; }
.contact-details h2:first-child { margin-top: 0; }
.big-link { font-size: 1.6rem; }
.big-link a { text-decoration: none; color: var(--ink); }
.form { background: #fff8; border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-family: var(--sans); font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 10px 12px; border: 1px solid #b9beb4; border-radius: var(--radius); background: #fff; color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--lapis); outline-offset: 0; border-color: var(--lapis); }
.field .small { margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 18px 22px; border-radius: var(--radius); margin-bottom: 20px; }
.notice h2 { font-size: 1.4rem; }
.notice p:last-child { margin: 0; }
.notice-ok { background: var(--sage-2); border: 1px solid var(--sage); }
.notice-err { background: #f6e3df; border: 1px solid #d9a79e; font-family: var(--sans); font-size: 0.95rem; }
.emergency { margin-top: 24px; font-family: var(--sans); font-size: 0.9rem; color: var(--ink-2); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } .contact-details { order: 2; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* footer */
.site-foot { border-top: 1px solid var(--rule); background: var(--paper-2); padding: clamp(32px, 5vw, 64px) 0 24px; margin-top: 24px; font-size: 1rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h2 { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; color: var(--pine); margin-bottom: 0.6rem; }
.foot-grid p { margin-bottom: 0.7em; }
.foot-name { font-size: 1.25rem; line-height: 1.25; }
.foot-name span { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-2); }
.foot-farsi { font-size: 1.2rem; color: var(--pine); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--rule); margin-top: 32px; padding-top: 18px; font-family: var(--sans); font-size: 0.82rem; color: var(--ink-2); }
.foot-base p { margin: 0; }
.quiet { color: var(--ink-2); text-decoration: none; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

@media print {
  .site-head, .site-foot, .btn, .actions { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- v2 ---------- */
.nav-fa { font-family: var(--farsi) !important; font-size: 1rem !important; }

/* start here */
.start-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.start-step { padding: 22px 0; border-top: 1px solid var(--rule); }
.start-step:first-child { border-top: 0; padding-top: 0; }
.start-step h2 { font-size: 1.5rem; }
.start-step p { max-width: 60ch; }
.start-aside { position: sticky; top: 24px; background: var(--paper-2); border-radius: var(--radius); padding: 22px 24px; }
.start-aside h2 { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--pine); margin: 1.4rem 0 0.5rem; }
.start-aside h2:first-child { margin-top: 0; }
.start-aside .plain-list li { padding: 8px 0; }
.start-aside .plain-list a { text-decoration: none; }
.mini-facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 1rem; }
.mini-facts dt { font-family: var(--sans); font-size: 0.85rem; color: var(--ink-2); padding-top: 2px; }
.mini-facts dd { margin: 0; }
@media (max-width: 860px) { .start-grid { grid-template-columns: 1fr; } .start-aside { position: static; } }
.faq-title { margin-bottom: 1.2rem; }
.faq-list { max-width: 760px; border-top: 1px solid var(--rule); }
.faq { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-size: 1.2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--sans); font-size: 1.5rem; color: var(--pine); font-weight: 300; }
.faq[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 0 18px; }
.faq-a p { max-width: 62ch; color: var(--ink-2); }

/* groups */
.groups-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.group-card img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.group-card h2 { font-size: 1.6rem; }
.group-card p { max-width: 50ch; }
@media (max-width: 760px) { .groups-grid { grid-template-columns: 1fr; } }

/* farsi */
.fa-page { font-family: var(--farsi); line-height: 1.9; }
.fa-page h1, .fa-page h2, .fa-page h3 { font-family: var(--farsi); font-weight: 500; letter-spacing: 0; }
.fa-page h1 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); line-height: 1.4; max-width: 20ch; }
.fa-page .hero-copy p { font-size: 1.1rem; }
.fa-name { font-size: 1.3rem; color: var(--pine); margin-bottom: 0.4rem; }
.fa-page .btn, .fa-page .link-plain { font-family: var(--farsi); }
.fa-page .hero-figure figcaption { font-family: var(--farsi); }
.fa-page .hero::before { right: auto; left: -8%; transform: scaleX(-1); }
.fa-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); }
.fa-cols .plain-list li { padding: 10px 0; font-size: 1.1rem; }
@media (max-width: 760px) { .fa-cols { grid-template-columns: 1fr; } }
.fa-note { font-family: var(--farsi); background: var(--sage-2); padding: 10px 14px; border-radius: var(--radius); margin-bottom: 16px; }

/* Instagram: home strip and the Reflections page (2026-11-10) */
.ig-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ig-strip img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--radius); background: var(--paper-2); }
.ig-strip a:hover img { opacity: 0.88; }
@media (max-width: 800px) { .ig-strip { grid-template-columns: repeat(3, 1fr); } }
.ig-feed { display: grid; gap: 0; max-width: 980px; }
.ig-post { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--rule); align-items: start; scroll-margin-top: 24px; }
.ig-post:first-child { padding-top: 0; }
.ig-media img { width: 100%; border-radius: var(--radius); background: var(--paper-2); }
.ig-many { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; scrollbar-width: thin; }
.ig-many > a { flex: 0 0 100%; scroll-snap-align: start; }
.ig-date { font-family: var(--sans); font-size: 0.85rem; color: var(--ink-2); margin-bottom: 0.75em; }
.ig-date span::before { content: " / "; }
.ig-caption { white-space: pre-line; overflow-wrap: anywhere; margin-bottom: 1em; }
.pager { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; font-family: var(--sans); }
@media (max-width: 720px) { .ig-post { grid-template-columns: 1fr; gap: 20px; } }
