/* Visible breadcrumb trail on the two-level article routes; mirrors their BreadcrumbList schema. */
.breadcrumb { width: min(100%, var(--content)); margin: 0 auto; padding: var(--space-6) var(--gutter) 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; list-style: none; color: var(--muted); font: 500 13px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.breadcrumb li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.breadcrumb li + li::before { content: "/"; color: var(--border); }
.breadcrumb a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; transition: color .3s var(--ease-premium), border-color .3s var(--ease-premium); }
.breadcrumb a:hover { color: var(--text); border-bottom-color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) { .breadcrumb [aria-current="page"] { max-width: 100%; } }

.page-hero {
  position: relative;
  min-height: min(76vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: var(--space-28) 0 var(--space-20);
  border-bottom: 1px solid var(--border);
}
.page-hero::after { content: attr(data-mark); position: absolute; right: -2vw; bottom: -6vw; color: transparent; font: 800 clamp(130px, 28vw, 460px)/.75 var(--sans); font-stretch: 125%; letter-spacing: -.08em; -webkit-text-stroke: 1px rgba(245,247,250,.07); pointer-events: none; }
.page-hero__inner { position: relative; z-index: 2; width: min(100%, var(--content)); margin: 0 auto; padding: 0 var(--gutter); }
.page-hero h1 { max-width: 1120px; color: var(--brand); font-family: var(--display); font-size: 56px; font-stretch: 112%; font-weight: 700; line-height: 1.05; }
.page-hero .lede { margin: 32px 0 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.page-hero--about { min-height: min(820px, calc(100svh - var(--header-h))); align-items: center; padding-block: var(--space-12); }
.page-hero--about::after { content: none; }
.page-hero--about .page-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .62fr); gap: clamp(42px, 8vw, 110px); align-items: center; }
.page-hero--about .page-hero__media { margin: 0; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.page-hero--about .page-hero__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 18%; }
.page-hero--about .page-hero__media figcaption { margin-top: 8px; color: var(--muted); font: 500 14px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.page-body { background: transparent; }
.prose { width: min(100%, calc(var(--reading) + (2 * var(--gutter)))); margin: 0 auto; padding: var(--space-28) var(--gutter); }
.prose > * { max-width: var(--reading); }
.prose > h2 { margin-top: clamp(80px, 10vw, 140px); padding-top: 28px; border-top: 1px solid var(--border); }
.prose > h3 { margin-top: 52px; }
.prose > p { margin-top: 22px; }
.prose > ul, .prose > ol { margin: 24px 0; padding-left: 1.3em; color: var(--muted); }
.prose > ul li, .prose > ol li { margin: 10px 0; padding-left: 8px; }
.prose blockquote { margin: 58px 0; padding: 10px 0 10px 28px; border-left: 2px solid var(--accent); color: var(--text); font: 550 clamp(25px, 3vw, 42px)/1.2 var(--sans); letter-spacing: -.025em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.prose a:hover { color: var(--accent); }
.prose article { max-width: var(--reading); margin: 34px 0; padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.prose article h3 { margin-bottom: 18px; }
.prose details { max-width: 840px; border-bottom: 1px solid var(--border); }
.prose details summary { padding: 22px 42px 22px 0; color: var(--text); cursor: pointer; }
.prose details p { padding-bottom: 24px; }
.prose .qa-label { color: var(--accent); font: 500 14px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.updated { color: var(--muted); font: 500 14px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.page-photo { position: relative; max-width: none !important; margin: 70px 0; }
.page-photo { padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.page-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: grayscale(.9); }
.page-photo--portrait img { aspect-ratio: 4/5; object-position: center 18%; }
.page-photo--fullbody img { aspect-ratio: 2/3; object-fit: contain; background: #000; }
.page-photo figcaption { margin-top: 10px; color: var(--muted); font: 500 14px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.about-story { display: grid; grid-template-columns: minmax(0,.72fr) minmax(300px,.45fr); gap: clamp(48px, 9vw, 150px); width: min(100%, 1240px); margin: 0 auto; padding: clamp(72px, 9vw, 136px) var(--gutter); }
.about-story__copy > h2 { margin-top: 90px; }
.about-story__copy > p { margin-top: 22px; }
.about-story__media { position: sticky; top: 110px; align-self: start; }
.about-story__media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: grayscale(1) contrast(1.12); mask-image: linear-gradient(#000 76%, transparent); -webkit-mask-image: linear-gradient(#000 76%, transparent); }
.portrait-rail { display: grid; grid-template-columns: 1.35fr .65fr; gap: 12px; max-width: none !important; margin: 74px 0; }
.portrait-rail img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.portrait-rail img:first-child { aspect-ratio: 16/10; }
.portrait-rail img:last-child { aspect-ratio: 3/4; }

.page-logo-wall { width: min(100%, var(--content)); margin: 0 auto; padding: clamp(70px, 9vw, 140px) var(--gutter); }
.page-logo-wall .logo-group { margin-bottom: 54px; }
.work-checks { display: grid; grid-template-columns: repeat(2, 1fr); max-width: none !important; margin: 62px 0; border: 1px solid var(--border); }
.work-check { min-height: 250px; padding: 32px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.work-check:nth-child(even) { border-right: 0; }
.work-check:nth-last-child(-n+2) { border-bottom: 0; }
.work-check h3 { margin: 80px 0 16px; }

.offer-stack { max-width: none !important; margin: 64px 0; border: 1px solid var(--border); }
.offer-stack__item { display: grid; grid-template-columns: .6fr 1fr; gap: 52px; padding: clamp(30px, 5vw, 64px); border-bottom: 1px solid var(--border); }
.offer-stack__item:last-child { border-bottom: 0; }
.offer-stack__item h2 { margin: 0; padding: 0; border: 0; }
.offer-stack__item ul { color: var(--muted); }

.agent-page-stage { position: relative; display: grid; min-height: 600px; place-items: center; max-width: none !important; margin: 66px 0; border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.agent-page-stage::before { content: "Everything Agent / demo mode"; position: absolute; top: 18px; left: 18px; color: var(--muted); font: 500 14px/1 var(--sans); text-transform: uppercase; letter-spacing: .1em; }
.agent-page-stage__orb { width: min(330px, 60vw); aspect-ratio: 1; border: 1px solid var(--accent); border-radius: 50%; opacity: .75; box-shadow: inset 0 0 80px var(--accent-soft), 0 0 70px var(--accent-soft); }
.agent-page-stage__actions { position: absolute; bottom: 24px; display: flex; gap: 10px; }

.gate-grid { max-width: none !important; margin: 58px 0; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); font-family: var(--mono); }
.gate-grid__row { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.gate-grid__row:last-child { border-bottom: 0; }
.gate-grid__value { color: var(--muted); font: 500 14px/1.4 var(--mono); text-transform: uppercase; }

.writing-index { max-width: none !important; margin: 58px 0; }
.writing-entry { display: grid; grid-template-columns: 150px 1fr auto; gap: 32px; padding: 30px 0; border-top: 1px solid var(--border); text-decoration: none; }
.writing-entry:last-child { border-bottom: 1px solid var(--border); }
.writing-entry__type { color: var(--muted); font: 500 14px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.writing-entry h3 { margin-bottom: 9px; }
.writing-entry p { margin: 0; font-size: 15px; }
.writing-entry__arrow { color: var(--accent); transition: transform .35s var(--ease-premium); }
.writing-entry:hover .writing-entry__arrow { transform: translate(4px,-4px); }

.booking-slot { display: grid; min-height: 480px; place-items: center; max-width: none !important; margin: 52px 0; padding: 32px; border: 1px solid var(--border); background: var(--surface); text-align: center; }
.booking-slot h2 { margin: 0 0 18px; padding: 0; border: 0; }
.booking-slot p { max-width: 520px; }
.links-list { max-width: none !important; margin: 54px 0; padding: 0 !important; list-style: none; border-top: 1px solid var(--border); }
.links-list li { margin: 0 !important; padding: 0 !important; }
.links-list a { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--border); font: 550 clamp(22px, 3vw, 36px)/1 var(--sans); text-decoration: none; }
.links-list a::after { content: "↗"; color: var(--accent); font-family: var(--sans); }

.not-found { min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; padding: 80px var(--gutter); text-align: center; }
.not-found__code { color: transparent; font: 800 clamp(130px, 28vw, 420px)/.72 var(--sans); font-stretch: 125%; -webkit-text-stroke: 1px rgba(245,247,250,.16); }
.not-found h1 { margin-top: -4vw; font-size: clamp(42px, 7vw, 92px); }
.not-found p { max-width: 560px; margin: 24px auto 32px; }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

@media (max-width: 860px) {
  .page-hero--about .page-hero__inner { grid-template-columns: 1fr; padding-top: var(--space-12); }
  .page-hero--about .page-hero__media { max-width: 520px; }
  .about-story { grid-template-columns: 1fr; }
  .about-story__media { position: relative; top: auto; order: -1; max-width: 500px; }
  .offer-stack__item { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .page-hero { min-height: 600px; }
  .page-hero h1 { font-size: 36px; }
  .prose { padding-block: var(--space-16); }
  .work-checks { grid-template-columns: 1fr; }
  .work-check { min-height: 210px; border-right: 0; }
  .work-check:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .work-check:last-child { border-bottom: 0; }
  .portrait-rail { grid-template-columns: 1fr; }
  .writing-entry { grid-template-columns: 1fr auto; }
  .writing-entry__type { grid-column: 1 / -1; }
  .gate-grid__row { grid-template-columns: 1fr; }
}
/* Generated hero visuals on inner pages: same frame as the About portrait, 16:9. */
.page-hero--media .page-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .62fr); gap: clamp(42px, 8vw, 110px); align-items: center; }
.page-hero--media::after { content: none; }
.page-hero__media--wide { margin: 0; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.page-hero__media--wide img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 980px) { .page-hero--media .page-hero__inner { grid-template-columns: 1fr; } .page-hero__media--wide { max-width: 560px; } }

/* AEO blocks: the answer a machine should be able to lift, and the facts behind it. */
.prose .quick-answer { max-width: none; margin: 34px 0 44px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--accent); border-left-width: 3px; border-radius: var(--radius-md); background: var(--surface); }
.prose .quick-answer p { margin: 0; max-width: none; color: var(--text); }
.prose .quick-answer strong { color: var(--accent); }
.prose .key-facts { max-width: none; margin: 38px 0; overflow-x: auto; }
.prose .key-facts table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose .key-facts caption { margin-bottom: 12px; color: var(--muted); font: 500 13px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-align: left; }
.prose .key-facts th, .prose .key-facts td { padding: 12px 16px 12px 0; border-top: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose .key-facts thead th { border-top: 0; color: var(--accent); font: 600 13px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.prose .key-facts tbody th { color: var(--text); font-weight: 600; white-space: nowrap; }
.prose .key-facts td { color: var(--muted); }
@media (max-width: 620px) { .prose .key-facts table { font-size: 15px; } .prose .key-facts tbody th { white-space: normal; } }

/* Google Calendar booking embed (2026-09-14): the slot became a real frame; the h2 sits above it in the copy. */
.booking-slot { display: block; min-height: 0; margin: 24px 0 52px; padding: 0; border: 1px solid var(--border); border-radius: 4px; background: #fff; overflow: hidden; }
.booking-embed { display: block; width: 100%; height: 760px; border: 0; background: #fff; }
.booking-slot .booking-slot__link { max-width: none !important; margin: 0; padding: 16px; background: var(--surface); text-align: center; }
