/* Secondary editorial pages: light reading surfaces, dark proof stages. */
.ed-page {
  --ed-rule: #d3c9bf;
  --ed-stage: #191717;
  --ed-stage-top: #282323;
  --ed-stage-rule: #534742;
  --ed-stage-text: #faf1e8;
  --ed-stage-muted: #d3c5bc;
  --ed-copper: #ffb28d;
  background: #f6f3ee;
}
.ed-page .page-hero { padding-top: clamp(106px, 10vw, 158px); padding-bottom: clamp(43px, 5.8vw, 86px); }
.ed-page .page-hero .crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .42em;
  margin-bottom: clamp(23px,3.2vw,49px);
  font-size: .69rem; letter-spacing: .09em; line-height: 1.4; color: #675d54;
}
.ed-page .page-hero .crumbs a { text-underline-offset: .22em; }
.ed-page .page-hero .crumbs a:hover { text-decoration: underline; }
.ed-page .page-hero h1 {
  max-width: 100%; margin-bottom: clamp(21px,3vw,41px);
  color: #171414; font-size: clamp(48px, 7.65vw, 108px);
  font-weight: 500; letter-spacing: -.071em; line-height: .94;
}
.ed-web .page-hero h1 { font-size: clamp(44px, 7.28vw, 103px); }
.ed-page .page-hero .lede { max-width: 52ch; font-size: clamp(16px,1.45vw,20px); line-height: 1.53; margin-bottom: 0; }
.ed-page .hero-ctas { margin-top: 28px; gap: clamp(10px,2vw,26px); }
.ed-page .hero-ctas .fine { color: #65594f; }
.ed-page .ed-demo-link,.ed-page .ed-dark-link {
  min-height: 43px; display: inline-flex; width: fit-content; max-width: 100%;
  align-items: center; gap: .75em; padding: .12em 0;
  text-decoration: none; border-bottom: 1px solid currentColor;
  font-size: .91rem; font-weight: 650; line-height: 1.3;
}
.ed-page .ed-demo-link { color:#88361c; }
.ed-page .ed-dark-link { color: var(--ed-copper); }
.ed-page :is(.ed-demo-link,.ed-dark-link) span { transition: transform .26s cubic-bezier(.2,.8,.2,1); flex:none; }
.ed-page :is(.ed-demo-link,.ed-dark-link):is(:hover,:focus-visible) span { transform:translate(3px,-3px); }
.ed-page .ed-proof {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0 0 clamp(35px,6vw,77px); border-radius: clamp(15px,2.4vw,32px);
  border: 1px solid var(--ed-stage-rule); color: var(--ed-stage-text);
  background: radial-gradient(ellipse at 72% 10%,var(--ed-stage-top),var(--ed-stage) 67%);
  box-shadow: 0 22px 42px -35px #27181080;
}
.ed-page .ed-proof-top,.ed-page .ed-proof-caption {
  display: flex; align-items: center; justify-content: space-between; gap: 10px 22px; padding-inline: clamp(16px,4vw,57px);
}
.ed-page .ed-proof-top {
  min-height: 49px; padding-block: 10px; border-bottom: 1px solid var(--ed-stage-rule);
  color: var(--ed-stage-text); font: .67rem/1.25 var(--mono); letter-spacing: .075em; text-transform: uppercase;
}
.ed-page .ed-proof-top>span:last-child { color: var(--ed-stage-muted); text-align: right; }
.ed-page .ed-proof-caption {
  padding-top: 10px; padding-bottom: 12px; border-top: 1px solid var(--ed-stage-rule);
  color: var(--ed-stage-muted); font-size: .86rem; line-height: 1.35;
}
.ed-page .ed-proof-caption b { color: var(--ed-stage-text); font-weight: 580; }
.ed-page .ed-proof h2 {
  color: var(--ed-stage-text); font-weight: 500; line-height: .99;
  font-size: clamp(36px,5.7vw,83px); letter-spacing: -.063em;
}
.ed-page .ed-proof-detail {
  max-width: 35ch; color: var(--ed-stage-muted); margin: 16px 0 11px;
  font-size: clamp(15px,1.5vw,18px); line-height: 1.4;
}
.ed-page .prose-grid {
  grid-template-columns: minmax(180px,.74fr) minmax(0,1.26fr);
  gap: clamp(24px,5vw,78px); padding-block: clamp(37px,5.75vw,84px);
  border-top-color: var(--ed-rule);
}
.ed-page .prose-grid h2 { font-size: clamp(31px,3.8vw,56px); line-height: 1.04; letter-spacing: -.053em; }
.ed-page .prose { max-width: min(100%,67ch); line-height: 1.55; }
.ed-page .included {
  counter-reset: editorial-item; gap: 0 clamp(16px,3vw,40px);
  background: transparent; border:0; border-radius:0; overflow:visible;
}
.ed-page .included>div {
  counter-increment: editorial-item; display:grid; gap:10px; align-content:start;
  padding:18px 0 23px; border-top:1px solid var(--ed-rule); background:transparent;
}
.ed-page .included>div::before {
  content: counter(editorial-item, decimal-leading-zero);
  font: 500 .63rem/1.2 var(--mono); letter-spacing:.075em; color:#87381e;
}
.ed-page .included>div h3 { font-size: clamp(20px,2.02vw,29px); line-height:1.08; letter-spacing:-.044em; }
.ed-page .included>div p { line-height:1.48; }
.ed-page .cta-band { background: var(--ed-stage); color: var(--ed-stage-text); border: 1px solid var(--ed-stage-rule); }
.ed-page .cta-band p { color: var(--ed-stage-muted); }
.ed-page .cta-band p a { color: var(--ed-stage-text); text-underline-offset:.23em; }

.ed-receptionist .ed-call-grid,.ed-os .ed-os-grid {
  display:grid; grid-template-columns:minmax(0, .9fr) minmax(0,1.1fr);
  align-items:center; gap:clamp(25px,5.8vw,80px); padding:clamp(23px,4.8vw,68px) clamp(16px,4vw,57px);
}
.ed-receptionist .ed-proof-note {
  display:flex; align-items:center; gap:6px; color:var(--ed-stage-muted);
  margin-bottom:15px; font:.65rem/1.25 var(--mono); letter-spacing:.065em; text-transform:uppercase;
}
.ed-receptionist .ed-proof-note i { width:7px; height:7px; border-radius:50%; background:var(--ed-copper); }
.ed-receptionist .ed-call-wave {
  display:grid; align-items:center; min-height:108px; padding:20px 14px;
  border:1px solid var(--ed-stage-rule); border-radius:8px; overflow:hidden;
  background:repeating-linear-gradient(90deg,transparent 0 27px,#53474275 28px,transparent 29px),#211d1d;
}
.ed-receptionist .ed-call-wave svg { width:100%; height:66px; }
.ed-receptionist .ed-call-wave path { fill:none; stroke-width:1.6; vector-effect:non-scaling-stroke; }
.ed-receptionist .ed-call-baseline { stroke:#75635a; }
.ed-receptionist .ed-call-signal { stroke:var(--ed-copper); }
.ed-receptionist .ed-call-flow {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0;
  margin:13px 0 0; padding:0; list-style:none; border-block:1px solid var(--ed-stage-rule);
}
.ed-receptionist .ed-call-flow li { display:grid; gap:3px; min-width:0; padding:10px 8px 11px 0; }
.ed-receptionist .ed-call-flow li+li { border-left: 1px solid var(--ed-stage-rule); padding-left:8px; }
.ed-receptionist .ed-call-flow span,.ed-os .ed-os-ledger li>span {
  font:.66rem/1.2 var(--mono); color:var(--ed-copper);
}
.ed-receptionist .ed-call-flow b { color:var(--ed-stage-text); font-size:1.02rem; font-weight:610; }
.ed-receptionist .ed-call-flow small { color:var(--ed-stage-muted); line-height:1.2; }

.ed-seo .ed-search-proof h2 { margin:clamp(22px,4vw,54px) clamp(16px,4vw,57px) clamp(16px,3vw,38px); }
.ed-seo .ed-search-route { margin:0; padding:0 clamp(16px,4vw,57px) clamp(23px,4vw,57px); gap:clamp(10px,2vw,27px); }
.ed-seo .ed-search-route::before { display:none; }
.ed-seo .ed-search-route li { position:relative; min-width:0; gap:7px; border-top:1px solid var(--ed-stage-rule); padding-top:10px; }
.ed-seo .ed-search-route li::before {
  content:""; position:absolute; height:7px; width:7px; background:var(--ed-copper); border-radius:50%; inset:-4px auto auto 0;
}
.ed-seo .ed-search-route .j-step { background:transparent; color:var(--ed-copper); font-size:.69rem; }
.ed-seo .ed-search-route .j-step::before { display:none; }
.ed-seo .ed-search-route .j-card {
  min-height:0; display:flex; align-items:center; padding:12px; color:var(--ed-stage-text);
  background:#2a2423; border:1px solid var(--ed-stage-rule); border-radius:6px; box-shadow:none;
  font-size:.91rem; line-height:1.32; overflow-wrap:anywhere;
}
.ed-seo .ed-search-route .j-search { color:#ffe1d0; }
.ed-seo .ed-search-route .j-end { background:#47312a; color:#fff3ec; border-color:#845947; }

.ed-web .ed-web-stage,.ed-case .ed-case-proof .shot-pair {
  position:relative; width:min(100%,1100px); margin-inline:auto; padding:clamp(20px,4.4vw,65px) clamp(17px,5vw,66px) clamp(22px,3.8vw,55px);
}
.ed-web .ed-web-desktop,.ed-case .ed-case-proof .shot-desktop { width:87%; }
.ed-web .ed-web-stage .browser,.ed-case .ed-case-proof .browser {
  border-radius:clamp(6px,1.1vw,15px); border:1px solid #8c7c73; box-shadow:0 20px 35px #100b0c75;
}
.ed-web .ed-web-stage .browser-bar,.ed-case .ed-case-proof .browser-bar { background:#302828; color:#f0e1d4; border-bottom-color:#504340; }
.ed-web .ed-web-stage .browser-bar .url,.ed-case .ed-case-proof .browser-bar .url { color:#f0e1d4; }
.ed-web .ed-web-stage .browser>img,.ed-case .ed-case-proof .browser>img { width:100%; height:auto; display:block; }
.ed-web .ed-web-phone,.ed-case .ed-case-proof .shot-phone {
  position:absolute; width:clamp(55px,19%,156px); bottom:clamp(8px,2.6vw,37px); right:clamp(18px,6vw,79px); margin:0;
  border:1px solid #86756f; border-radius:11% / 6%; padding:clamp(2px,.65vw,8px); background:#1b1819; box-shadow:0 12px 30px #100b0ca0;
}
.ed-web .ed-web-phone img,.ed-case .ed-case-proof .shot-phone img { display:block; width:100%; height:auto; border-radius:9% / 5%; }
.ed-case .ed-case-proof { margin-bottom:0; }
.ed-case .facts { margin:0 0 clamp(33px,4.5vw,57px); padding:20px 0 12px; border-bottom:1px solid var(--ed-rule); }
.ed-case .facts dt { color:#75675d; font-size:.66rem; }
.ed-case .facts dd { line-height:1.25; }

.ed-os .ed-os-ledger { align-self:stretch; display:grid; align-content:center; min-width:0; padding:10px 15px; border:1px solid var(--ed-stage-rule); background:#211d1d; border-radius:7px; }
.ed-os .ed-os-ledger-top {
  display:flex; align-items:center; justify-content:space-between; gap:6px;
  color:var(--ed-stage-muted); padding:5px 0 10px; border-bottom:1px solid var(--ed-stage-rule);
  font:.65rem/1.2 var(--mono); letter-spacing:.065em; text-transform:uppercase;
}
.ed-os .ed-os-ledger ol { list-style:none; margin:0; padding:0; }
.ed-os .ed-os-ledger li {
  display:grid; grid-template-columns:2em minmax(0,1fr) minmax(0,auto); align-items:center; gap:6px;
  min-height:38px; border-bottom:1px solid var(--ed-stage-rule); color:var(--ed-stage-text);
}
.ed-os .ed-os-ledger li:last-child { border:0; }
.ed-os .ed-os-ledger b { line-height:1.18; font-size:1rem; font-weight:550; }
.ed-os .ed-os-ledger small { color:var(--ed-stage-muted); text-align:right; line-height:1.2; }

.ed-process .process-hero .process-intro { grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr); gap:clamp(22px,4.3vw,68px); align-items:end; }
.ed-process .process-intro h1 { font-size:clamp(44px,6.1vw,90px); }
.ed-process .process-intro a.btn { margin-top:27px; }
.ed-process .process-hero .process-brief.ed-proof {
  margin:0; border-color:var(--ed-stage-rule);
  background:linear-gradient(147deg,var(--ed-stage-top),var(--ed-stage)); color:var(--ed-stage-text);
}
.ed-process .process-brief .label { color:var(--ed-copper); }
.ed-process .process-brief ul { display:grid; gap:8px; color:var(--ed-stage-text); padding-left:17px; list-style:circle; }
.ed-process .process-brief ul li { margin:0; padding-left:2px; line-height:1.35; }
.ed-process .process-brief>p:last-child { color:var(--ed-stage-muted); border-top-color:var(--ed-stage-rule); }
.ed-process .ed-process-roadmap .process-track { position:relative; }
.ed-process .ed-process-roadmap .process-track::before {
  content:""; position:absolute; top:18px; bottom:27px; left:20px; width:1px; background:var(--ed-rule);
}
.ed-process .ed-process-roadmap .process-track li { grid-template-columns:41px minmax(0,1fr); border:0; padding-bottom:25px; }
.ed-process .ed-process-roadmap .process-track li::before {
  position:relative; z-index:1; background:#f6f3ee; border-color:#ac8f7f; font-family:var(--mono); color:#87381e;
}
.ed-process .ed-process-roadmap .process-track li>div { border-bottom:1px solid var(--ed-rule); padding-bottom:22px; }
.ed-process .ed-process-roadmap .process-track li:last-child>div { border:0; }
.ed-process .ed-process-roadmap .process-output { color:#753117; }

.ed-about .ed-studio-roster .people {
  display:grid; grid-template-columns:minmax(0,1fr); gap:0; border-block:1px solid var(--ed-rule);
}
.ed-about .ed-studio-roster .person {
  min-width:0; padding:clamp(10px,2.3vw,28px) 0; gap:clamp(10px,2vw,24px); border:0; border-radius:0;
}
.ed-about .ed-studio-roster .person+.person { border-top:1px solid var(--ed-rule); }
.ed-about .ed-studio-roster .person>div { min-width:0; }
.ed-about .ed-studio-roster .person b { font-size:clamp(23px,3.3vw,47px); font-weight:520; letter-spacing:-.06em; }
.ed-about .ed-studio-roster .person .mono {
  border-radius:6px; width:clamp(42px,6vw,75px); height:auto; min-width:0; aspect-ratio:1; flex:none;
  background:#262121; color:var(--ed-stage-text); border:1px solid #624d43; font-size:clamp(.89rem,2vw,1.6rem);
}
.ed-about .ed-studio-roster .person:nth-child(2) .mono { background:#6e361f; }
.ed-about .ed-studio-roster .person a { color:#77391f; text-decoration:underline; text-underline-offset:.22em; }
.ed-faq .ed-answer-index .faq-list { border-top:1px solid var(--ed-rule); }
.ed-faq .ed-answer-index details { border-color:var(--ed-rule); }
.ed-faq .ed-answer-index summary {
  padding:clamp(14px,2.3vw,28px) 0; align-items:center; color:#211916;
  font-size:clamp(19px,2.23vw,29px); line-height:1.15; letter-spacing:-.04em;
}
.ed-faq .ed-answer-index details[open] summary { color:#87381e; }
.ed-faq .ed-answer-index summary:focus-visible { outline-offset:3px; }

@media (max-width: 970px) {
  .ed-process .process-hero .process-intro { grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr); }
}
@media (max-width: 750px) {
  .ed-page .page-hero h1 { font-size:clamp(42px,9.7vw,70px); max-width:19ch; text-wrap:balance; }
  .ed-page .page-hero h1 br { display:none; }
  .ed-page .prose-grid,.ed-process .process-hero .process-intro { grid-template-columns:minmax(0,1fr); }
  .ed-page .prose-grid h2 { max-width:24ch; }
  .ed-page .hero-ctas { margin-top:19px; }
  .ed-receptionist .ed-call-grid,.ed-os .ed-os-grid { grid-template-columns:minmax(0,1fr); gap:21px; }
  .ed-page .ed-proof h2 { font-size:clamp(36px,9.5vw,64px); }
  .ed-seo .ed-search-route { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ed-os .ed-os-ledger { padding-inline:10px; }
}
@media (max-width: 460px) {
  .ed-page .ed-proof-caption { flex-direction:column; align-items:flex-start; gap:0; }
  .ed-page .ed-proof-top { font-size:.59rem; min-height:42px; align-items:center; }
  .ed-page .included { grid-template-columns:minmax(0,1fr); }
  .ed-page .included>div { gap:7px; padding-block:12px 18px; }
  .ed-case .facts { gap:12px; }
  .ed-case .facts dd { overflow-wrap:anywhere; }
  .ed-faq .ed-answer-index details p { padding-right:9px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ed-receptionist .ed-call-proof.is-in .ed-call-signal { stroke-dasharray:1000; animation:ed-signal-trace 1.3s ease-out both; }
  @keyframes ed-signal-trace { from {stroke-dashoffset:1000} to {stroke-dashoffset:0} }
}
@media (prefers-reduced-motion: reduce) {
  .ed-page :is(.ed-demo-link,.ed-dark-link) span { transition:none; }
}

/* Keep scope essentials legible; the request pane is visually distinct from the local brief. */
.ed-quote .page-hero .fine{margin-top:14px}
.ed-quote .quote-card{border-radius:8px;border-color:#a99b90}
.ed-quote .field :is(input,select,textarea){border-color:#807368}
.ed-quote .quote-kicker{font-weight:750}
.ed-quote .quote-side .form{--ink-2:#eed4c7;--ink:#ffede2;--muted:#debeae;--line:#a98778;--accent:#ffc6ab;background:#271b1d;color:#fff0e7;border:1px solid #836458;border-radius:9px}
.ed-quote .quote-side .form :is(input,select,textarea){background:#faeee7;color:#241917;border-color:#ab8a7b}
.ed-quote .quote-side .form .btn-accent{background:#ffc8ab;color:#2c1913;border-color:#ffd4bf}
.ed-quote .quote-side .form .btn-accent:hover{background:#ffe1cf;color:#261711}
.ed-quote .quote-side .form :focus-visible{outline:2px solid #ffc8ab;outline-offset:3px}
.ed-quote .quote-side .form :is(.form-note,.form-status){color:#ecd0c3}
.ed-medical .case-visual-clinic{border:1px solid #ad9382;border-radius:10px;overflow:hidden}
.ed-area .prose-grid{border-color:#c0aca0}
.ed-policy :is(h1,.page-hero h1){font-size:clamp(39px,6.5vw,78px);font-weight:510;line-height:1.03;letter-spacing:-.05em}

/* Matched transparent founder portraits, not cards or stock backgrounds. */
.ed-about .ed-studio-roster .person .founder-portrait{display:block;align-self:end;flex:0 0 clamp(68px,12vw,130px);aspect-ratio:1;overflow:hidden;border-radius:5px}
.ed-about .ed-studio-roster .founder-portrait img{display:block;width:100%;height:100%;object-fit:contain}
.ed-about .ed-studio-roster #aadi .founder-portrait img{transform:translateY(-1px)}
.ed-page #medical-reception{scroll-margin-top:95px}
