@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');
:root{color-scheme:light;--paper:#fbf8f1;--ink:#272c27;--sage:#435442;--gold:#856527;--line:#d9d0ba;--panel:#fffcf4;--charcoal:#41413d;--muted:#74746e;--shadow-soft:0 8px 28px rgba(42,42,38,.08);--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif}
*{box-sizing:border-box}
body{margin:0;background:#f3efe5;color:var(--ink);font:1rem/1.7 Inter,system-ui,sans-serif;isolation:isolate}
body::before{
  --table-photo:url('assets/shared-tables-page-bg.png');
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(90deg, #f3efe5fa 0%, #f3efe5f0 24%, #f3efe5d9 48%, #f3efe559 78%, #f3efe50d 100%),
    var(--table-photo) center top / cover no-repeat;
}
.wrap{width:min(66rem,calc(100% - 2.5rem));margin:auto}
a{color:var(--sage);text-underline-offset:.2em}
.site-header{width:min(100% - 48px,1180px);min-height:92px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;z-index:2;color:var(--charcoal);font:1rem/1.5 var(--sans)}
.site-header a{color:inherit}
.brand{display:inline-flex;align-items:center;gap:13px;text-decoration:none}
.brand-mark{width:48px;height:48px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:var(--charcoal);box-shadow:var(--shadow-soft)}
.brand-mark img{width:34px;height:34px;object-fit:contain}
.brand-text{display:flex;flex-direction:column;line-height:1.05}
.brand-name{font-size:.84rem;font-weight:800;letter-spacing:.16em;white-space:nowrap}
.brand-subtitle{margin-top:5px;color:var(--muted);font:italic .92rem Georgia,"Times New Roman",serif}
.header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.header-link{padding:10px 16px;border-bottom:1px solid var(--charcoal);text-decoration:none;font-size:.86rem;font-weight:700}
.header-member-button{display:inline-flex;align-items:center;gap:.35rem;min-height:40px;padding:9px 15px;border:1px solid rgba(65,65,61,.17);border-radius:999px;background:rgba(251,248,241,.74);backdrop-filter:blur(7px);font-weight:800;font-size:.82rem;text-decoration:none;white-space:nowrap}
.header-member-button:hover{border-color:rgba(127,38,50,.28);background:var(--paper)}
.button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 22px;border:1px solid transparent;border-radius:999px;color:var(--charcoal);cursor:pointer;text-align:center;text-decoration:none;font:760 1rem/1.5 var(--sans);transition:transform .14s,box-shadow .14s,background .14s,border-color .14s}
.button:hover{transform:translateY(-1px)}
.button-secondary{border-color:rgba(65,65,61,.18);background:rgba(251,248,241,.68)}
.button-secondary:hover{border-color:rgba(65,65,61,.35);background:var(--paper)}
a:focus-visible{outline:3px solid #ad7428;outline-offset:4px}
.skip{position:absolute;top:-100px;background:white;padding:.5rem}.skip:focus{top:0;z-index:3}
main{padding:clamp(2rem,6vw,5rem) 0}
h1,h2{font-family:'Cormorant Garamond',Georgia,serif;line-height:1.05;margin:.3em 0}
h1{font-size:clamp(2.9rem,8vw,5.4rem);max-width:17ch}
h2{font-size:clamp(1.8rem,4vw,2.6rem)}
.lead{font-size:1.15rem;max-width:57ch;margin-bottom:2.5rem}
.eyebrow{color:var(--gold);font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1rem}
.cards article,.membership{padding:clamp(1.15rem,4vw,2rem);border:1px solid var(--line);border-top:3px solid #aa884b;background:var(--panel)}
.membership{
  margin-top:2rem;
  background:linear-gradient(105deg, rgb(125 136 114 / .83) 0%, rgb(125 136 114 / .79) 48%, rgb(125 136 114 / .48) 100%);
  border:1px solid rgb(65 65 61 / .24);
  border-radius:12px;
}
.membership .eyebrow{color:inherit}
.membership .button{background:var(--paper)}
.status{color:#515b4d;font-size:.85rem}
.sessions{max-width:47rem;list-style:none;padding:0;border-top:1px solid var(--line)}
.sessions li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 0;border-bottom:1px solid var(--line)}
.reader{max-width:68ch}.reader h2{margin-top:1.3em}
.guide{max-width:50rem}
.lesson{margin:.65rem 0;border:1px solid var(--line);border-radius:12px;scroll-margin-top:1rem}
.lesson[open]{border-color:#7d8872}
.lesson>summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem clamp(1rem,4vw,1.5rem);cursor:pointer;list-style:none;border-radius:11px;background:rgb(255 252 244 / .82)}
.lesson>summary::-webkit-details-marker{display:none}
.lesson summary:focus-visible{outline:3px solid #ad7428;outline-offset:3px}
.lesson[open]>summary{background:rgb(223 227 217 / .74);border-radius:11px 11px 0 0}
.lesson .eyebrow,.lesson-title{display:block}
.lesson-title{font:700 clamp(1.5rem,4vw,2rem)/1.15 'Cormorant Garamond',Georgia,serif;margin-top:.15rem}
.lesson-chevron{width:.65rem;height:.65rem;flex:none;margin-right:.2rem;border:solid var(--sage);border-width:0 2px 2px 0;transform:rotate(45deg)}
.lesson[open] .lesson-chevron{transform:rotate(225deg)}
.lesson-content{padding:clamp(1rem,5vw,2rem);overflow-wrap:anywhere;background:rgb(255 252 244 / .84);border-radius:0 0 11px 11px}
.lesson-content .reader>:first-child{margin-top:0}
.lesson-content .reader h2{color:var(--sage);margin-bottom:.65rem}
.lesson-link{margin:1.75rem 0 0;font-size:.9rem}
.lesson-video{margin-bottom:1.75rem;font-size:.9rem}
.lesson-video iframe{display:block;width:100%;min-height:200px;aspect-ratio:16/9;border:0;border-radius:8px;margin-bottom:.45rem;background:#272c27}
.lesson-figure{margin:1.75rem 0}
.lesson-figure>a{display:block;border-radius:10px}
.lesson-figure img{display:block;width:100%;height:auto;border-radius:10px}
.lesson-figure figcaption{margin-top:.8rem;font-size:.95rem;line-height:1.7}
.study-jumps{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.75rem}
.study-jumps a{display:inline-flex;align-items:center;min-height:44px;padding:.45rem .75rem;border:1px solid var(--line);border-radius:999px;font-size:.85rem;font-weight:700;text-decoration:none}
.study-jumps a:hover{background:#dfe3d9}
.study-section{scroll-margin-top:1rem;margin-bottom:2rem}
.study-section+.study-section{border-top:1px solid var(--line);padding-top:1.5rem}
.study-section .eyebrow,.study-guide .reader h2{margin-top:0}
.study-guide .reader h3{font:700 1.35rem/1.3 'Cormorant Garamond',Georgia,serif;margin:1.35rem 0 .45rem}
.study-guide .reader h4{font-size:1.05rem;line-height:1.5;margin:1.5rem 0 .5rem}
.study-guide .reader h3+p{margin-top:.45rem}
.study-guide blockquote{margin:.6rem 0;padding:0 0 0 clamp(.75rem,3vw,1.25rem);border-left:3px solid #a8b5a2}
.study-deeper{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:.5rem 0}
.study-deeper summary{cursor:pointer;min-height:44px;padding:.65rem 0;color:var(--sage);font-weight:700}
.study-deeper summary span{display:block;margin-left:1rem;color:var(--muted);font-size:.85rem;font-weight:400}
.didache-introduction>summary{background:rgb(125 136 114 / .82)}
.didache-introduction[open]>summary{background:rgb(168 181 162 / .74)}
.didache-introduction>summary .eyebrow{color:var(--ink)}
.didache-introduction .lesson-chevron{border-color:var(--ink)}
.didache-introduction .reader h2:not(:first-child){margin-top:1.5rem}
.intro-sources li+li{margin-top:.6rem}
@media (prefers-reduced-motion:no-preference){
  main:has(.guide)>h1{animation:guide-fade .45s ease-out}
  .lesson-chevron{transition:transform .7s ease-in-out}
  .lesson[open]:not(.lesson-linked) .lesson-reveal{animation:lesson-open 1.8s ease-in-out}
  @keyframes lesson-open{
    /* Reveal one screenful before releasing the rest of the long lesson. */
    from{max-height:0;overflow:hidden;opacity:.55}
    to{max-height:100vh;max-height:100svh;overflow:hidden;opacity:1}
  }
  @keyframes guide-fade{from{opacity:.7}to{opacity:1}}
}
footer{border-top:1px solid var(--line);padding:1.5rem 0;color:var(--sage)}
@media (max-width:900px){
  body::before{
    background-position:0 0, 68% top;
    background-size:auto, auto 660px;
    background-image:linear-gradient(#f3efe5ad 0%, #f3efe5cc 35%, #f3efe5f2 72%, #f3efe5 100%),
      var(--table-photo);
  }
}
@media (max-width:640px){
  .membership{background:rgb(125 136 114 / .75)}
  .site-header{width:min(100% - 28px,1180px);min-height:78px;flex-wrap:wrap;gap:12px;padding:14px 0}
  .brand-mark{width:43px;height:43px}
  .brand-mark img{width:30px;height:30px}
  .header-actions{gap:7px}
  .header-member-button{min-height:38px;padding:8px 13px}
  .header-link{padding:8px 10px}
  .button{width:100%}
}
@media print{header,footer,.skip,.back,body::before,.lesson:not([open]),.lesson-chevron,.lesson-link,.lesson-video{display:none}body{background:white;color:black}.wrap{width:100%}main{padding:0}h1{font-size:30pt}h2{break-after:avoid}p{orphans:3;widows:3}}
