/* Interior pages: services, labs, about, contact, research */

.section-head { max-width: 52rem; }
.section-head .lede { margin-top: 1.6rem; }
.hero-links { margin-top: 2.2rem; }
.more-link { margin-top: 36px; }

/* ---------- Services ---------- */
.parts { list-style: none; border-top: 1px solid var(--line-strong); }
.parts > li { display: grid; grid-template-columns: 3rem 1fr; gap: 0 1rem; padding: 28px 0; border-bottom: 1px solid var(--line); }
.parts .idx { font: 500 .72rem/2.2 var(--mono); color: var(--accent); letter-spacing: .1em; }
.parts h3 { font: 420 1.5rem/1.2 var(--serif); margin-bottom: .55rem; }
.parts p { color: var(--fg-muted); margin: 0; }
.parts .deliv { margin-top: .8rem; font: 500 .66rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-faint); }
.mini-temple { margin: 40px 0 0; max-width: 300px; }
.mini-temple svg { width: 100%; height: auto; fill: none; stroke: var(--fg); stroke-width: 1.2; }
.mini-temple .cols { stroke: var(--gold); }
.mini-temple .chip { stroke: var(--accent); }
@media (min-width: 900px) { .mini-temple { position: sticky; top: 140px; } }

.engagements { display: grid; gap: 0; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line-strong); }
@media (min-width: 720px) { .engagements { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .engagements { grid-template-columns: repeat(3, 1fr); } }
.eng { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .eng { padding-left: 28px; border-right: 1px solid var(--line); } }
.eng .mono { color: var(--fg-faint); font-size: .64rem; }
.eng .h3 { margin: .9rem 0 .7rem; }
.eng p:last-child { color: var(--fg-muted); margin: 0; }
.eng-first .mono { color: var(--accent); }
.eng-first { background: color-mix(in srgb, var(--fg) 4%, transparent); }

.keep { list-style: none; border-top: 1px solid var(--line); }
.keep li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--fg-muted); }
.keep strong { color: var(--fg); font-weight: 500; }

/* ---------- Labs: prune figure ---------- */
.prune { margin: 0; padding: 26px; border: 1px solid var(--line); background: var(--bg-raised); }
.prune-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; }
.prune-grid i { aspect-ratio: 1; border: 1px solid var(--line-strong); background: rgba(196, 154, 58, var(--h, 0)); transition: opacity .9s var(--ease), transform .9s var(--ease), background-color .6s; }
.prune.is-cut .prune-grid i.cold { opacity: .06; transform: scale(.4); }
.prune-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 12px; font: 500 .62rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); }
.prune-legend span { display: inline-flex; align-items: center; gap: 8px; }
.prune-legend i { width: 10px; height: 10px; border: 1px solid var(--line-strong); }
.prune-legend i.hot { background: var(--gold); border-color: var(--gold); }
.releases a { padding-right: 12px; }

/* ---------- About ---------- */
.about-hero { overflow: hidden; }
.about-hero .engraving { z-index: 0; }
.about-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 90%, transparent) 50%, color-mix(in srgb, var(--bg) 45%, transparent) 100%); }
.about-grid { position: relative; z-index: 2; display: grid; gap: 48px; align-items: end; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 7fr 4fr; } }
.about-portrait { justify-self: start; max-width: 380px; }
@media (min-width: 900px) { .about-portrait { justify-self: end; } }
.creds { margin-top: 2rem; border-top: 1px solid var(--line); }
.creds > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.creds dt { font: 500 .66rem/1.6 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--fg-faint); }
.creds dd { margin: 2px 0 0; font: 420 1.1rem/1.4 var(--serif); }
.bio p { color: var(--fg-muted); }
.bio .lede { color: var(--fg); }

.reviews { overflow: hidden; }
.quotes { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 820px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quotes li { padding: 34px 32px 34px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .quotes li:nth-child(odd) { border-right: 1px solid var(--line); } .quotes li:nth-child(even) { padding-left: 32px; } }
.quotes blockquote { margin: 0 0 1rem; font: 340 clamp(1.5rem, 2.8vw, 2.35rem)/1.15 var(--serif); font-style: italic; letter-spacing: -.012em; }
.quotes .mono { color: var(--gold); font-size: .64rem; margin: 0; }
.quotes-note { margin-top: 24px; max-width: 52em; }

.arc { list-style: none; display: grid; gap: 0; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line-strong); }
@media (min-width: 860px) { .arc { grid-template-columns: repeat(4, 1fr); } }
.arc li { padding: 26px 24px 30px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .arc li { border-bottom: 0; border-right: 1px solid var(--line); padding-left: 24px; } .arc li:first-child { padding-left: 0; } .arc li:last-child { border-right: 0; } }
.arc .mono { color: var(--accent); font-size: .62rem; }
.arc .h3 { margin: .9rem 0 .7rem; font-size: 1.35rem; }
.arc p { color: var(--fg-muted); margin: 0; font-size: .97rem; }

/* ---------- Contact ---------- */
.contact-mail { margin-top: 2.4rem; font-size: clamp(1.6rem, 4.4vw, 3.4rem); }
.contact-grid { display: grid; gap: clamp(40px, 6vw, 88px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 7fr 5fr; } }
.candor { margin: 0; padding: 20px 22px; border-left: 2px solid var(--accent); background: var(--bg-raised); font-size: .98rem; }
.candor .mono { display: block; color: var(--accent); margin-bottom: .5rem; font-size: .64rem; }
.candor p { margin: 0; }

/* ---------- 404 ---------- */
.notfound { min-height: 80vh; display: flex; align-items: center; }
.notfound .btn-row { margin-top: 2.4rem; }

/* ---------- Research ---------- */
.page-research .page-hero { padding-bottom: clamp(32px, 5vw, 64px); }
.article-faq { padding-block: 0 clamp(48px, 6vw, 80px); }
.article-faq .h3 { margin-bottom: 1.2rem; }
.article-foot .back { margin-top: 28px; }
.prose .notice { margin: 2em 0; padding: 22px 24px; background: var(--bg-raised); border-left: 2px solid var(--gold); }
.prose .notice p { margin: 0; }
.prose .notice p + p { margin-top: .8em; }
.prose .table-scroll { overflow-x: auto; }
.prose .table-scroll table { display: table; min-width: 560px; }
.prose > .article-meta { font: 500 .7rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-faint); }
.prose img { border: 1px solid var(--line); }

/* ---------- Services: how to start / schedule of fees ---------- */
.hero-jump { margin-top: 2rem; }
.start .section-head { max-width: 48rem; }

.path { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0; margin-top: clamp(40px, 6vw, 72px); position: relative; }
@media (min-width: 820px) { .path { grid-template-columns: repeat(4, 1fr); } }
.path li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px 0; border-top: 1px solid var(--line-strong); position: relative; }
@media (min-width: 820px) { .path li + li { padding-left: 20px; } .path li + li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 20px; width: 1px; background: var(--line); } }
.path li::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-io); }
.path.is-in li::after { transform: scaleX(1); }
.path li:nth-child(2)::after { transition-delay: .25s; } .path li:nth-child(3)::after { transition-delay: .5s; } .path li:nth-child(4)::after { transition-delay: .75s; }
.path li.is-key::after { background: var(--accent); height: 3px; }
.path .mono { color: var(--accent); font-size: .66rem; }
.path strong { font: 440 1.25rem/1.25 var(--serif); }
.path li > span:last-child { color: var(--fg-muted); font-size: .95rem; }

.fees { position: relative; max-width: 920px; margin-top: clamp(48px, 7vw, 88px); padding: clamp(26px, 5vw, 60px); background: var(--c-paper-raised); color: var(--c-graphite); border: 1px solid rgba(22, 24, 28, .16); box-shadow: 14px 14px 0 -1px var(--c-paper), 14px 14px 0 0 rgba(22, 24, 28, .14); }
.fees-title { margin: 0 0 clamp(26px, 4vw, 40px); padding-bottom: 14px; text-align: center; font: 500 .82rem/1 var(--mono); letter-spacing: .34em; text-transform: uppercase; border-bottom: 3px double rgba(22, 24, 28, .4); }
.fee { position: relative; padding: 26px 0 28px; }
.fee + .fee { border-top: 1px solid rgba(22, 24, 28, .16); }
.fee-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.fee-sec { font: 500 .78rem/1 var(--mono); color: var(--red); min-width: 2.6rem; }
.fee-line h3 { font: 440 clamp(1.25rem, 2.2vw, 1.55rem)/1.2 var(--serif); letter-spacing: -.01em; }
.fee-dots { flex: 1 1 40px; min-width: 40px; border-bottom: 1.5px dotted rgba(22, 24, 28, .4); transform: translateY(-5px); }
.fee-amt { font: 400 clamp(1.5rem, 2.8vw, 2rem)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.fee-amt-text { font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-style: italic; }
.fee-body { padding-left: calc(2.6rem + 12px); margin-top: 12px; color: #4a4d53; max-width: 44rem; }
.fee-body p { margin: 0 0 .8em; }
.fee-note { font: italic 420 1.02rem/1.45 var(--serif); color: var(--c-graphite); padding-left: 14px; border-left: 2px solid var(--brass-deep); }
.fee-list { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.fee-list li { padding-left: 16px; position: relative; }
.fee-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--red); }
.fee-list strong { color: var(--c-graphite); font-weight: 560; }
.fee-stamp { position: absolute; right: -10px; top: 76px; padding: 7px 12px; border: 2px solid var(--red); color: var(--red); font: 500 .7rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; transform: rotate(-7deg); pointer-events: none; }
.fees-foot { margin: 8px 0 0; padding-top: 18px; border-top: 3px double rgba(22, 24, 28, .3); font-size: .84rem; color: #55585e; }
@media (max-width: 700px) {
  .fee-stamp { display: none; }
  .fee-dots { display: none; }
  .fee-line { gap: 6px; }
  .fee-sec { flex-basis: 100%; }
  .fee-amt { flex-basis: 100%; margin-top: 4px; }
  .fee-body { padding-left: 0; }
  .fees { box-shadow: 8px 8px 0 -1px var(--c-paper), 8px 8px 0 0 rgba(22, 24, 28, .14); }
}

.agenda { margin: clamp(48px, 7vw, 88px) 0 0; max-width: 920px; }
.agenda figcaption { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin-bottom: 18px; }
.agenda figcaption .mono { color: var(--fg); }
.agenda-days { display: grid; grid-template-columns: 8fr 8fr 4fr; gap: clamp(8px, 1.6vw, 18px); }
.hours { display: grid; gap: 4px; }
.hours i { height: 38px; border: 1px solid var(--line-strong); background: transparent; transition: background-color .45s var(--ease), border-color .45s; }
.d-review .hours i { --c: var(--gold); } .d-train .hours i { --c: var(--accent); } .d-options .hours i { --c: var(--ok); }
.agenda.is-on .hours i { background: var(--c); border-color: var(--c); }
.day p { margin: 12px 0 0; font-size: .9rem; color: var(--fg-muted); line-height: 1.4; }
.day .mono { display: block; font-size: .62rem; color: var(--fg-faint); margin-bottom: 4px; }
.day strong { display: block; font: 440 1.15rem/1.2 var(--serif); color: var(--fg); margin-bottom: 2px; }
@media (max-width: 560px) { .hours { gap: 2px; } .hours i { height: 26px; } .day p { font-size: .8rem; } }

.start-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: clamp(40px, 6vw, 64px); }
.start-cta .fine { flex-basis: 100%; margin: 4px 0 0; }

/* ---------- Contact: ways to start ---------- */
.ways { display: grid; gap: 0; margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line-strong); max-width: 1000px; }
@media (min-width: 760px) { .ways { grid-template-columns: repeat(3, 1fr); } }
.way { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
@media (min-width: 760px) { .way { border-bottom: 0; } .way + .way { padding-left: 20px; border-left: 1px solid var(--line); } }
.way .mono { color: var(--accent); font-size: .66rem; }
.way strong { font: 440 1.2rem/1.25 var(--serif); }
.way:hover strong { color: var(--accent); }
.way .fine { color: var(--fg-muted); }
