/* Social Codex identity and fixed-size disclosure cards. */
.codex-identity{display:flex;flex-direction:column;gap:8px;background:#9b2f25;color:#fff;padding:22px 28px;max-width:490px;font-size:18px;line-height:1.4}
.codex-name{font:300 34px/1.1 "Delect Lyon",Georgia,serif}
.codex-thesis{font-size:clamp(20px,2vw,26px);line-height:1.45}
#social-codex .three{gap:24px}
#social-codex .codex-card{padding:0;border:0;min-width:0;aspect-ratio:1;container-type:inline-size}
.codex-card-toggle{width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;padding:26px;border:1px solid #9b2f25;background:#77231c;color:#fff;cursor:pointer;position:relative;overflow:auto;transition:background .3s ease,color .3s ease}
.card-number{position:absolute;top:20px;left:26px;font:14px/1 "Delect Cora",sans-serif;opacity:.7}
.card-title{display:block;font:300 clamp(29px,11cqi,44px)/1.05 "Delect Lyon",Georgia,serif;transition:font-size .3s ease;margin-bottom:18px}
.card-tagline{display:block;font:300 23px/1.15 "Delect Lyon",Georgia,serif;max-width:21ch}
.card-detail{font:16px/1.45 "Source Sans Pro",Arial,sans-serif;margin-top:18px}
.card-detail[hidden]{display:none}
.codex-card-toggle[aria-expanded=true]{background:#f2f2f0;color:#77231c;justify-content:flex-start;padding-top:46px}
.codex-card-toggle[aria-expanded=true] .card-title{font-size:clamp(21px,7.5cqi,29px);margin-bottom:12px}
.codex-card-toggle[aria-expanded=true] .card-detail{color:#333}
.codex-card-toggle:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media(min-width:701px) and (max-width:1050px){#social-codex .three{grid-template-columns:1fr;max-width:480px;margin-left:auto;margin-right:auto}}
@media(max-width:700px){#social-codex .three{max-width:480px;margin-left:auto;margin-right:auto}.codex-card-toggle{padding:24px}.codex-thesis{font-size:22px}}
@media(prefers-reduced-motion:reduce){.codex-card-toggle,.card-title{transition:none}}

/* Simplified introduction, 26 September 2026. */
.hero{grid-template-columns:1fr}
#social-codex .codex-head .eyebrow{color:#9b2f25;font-size:18.2px}

/* A single transition label replaces the three introductory claims. */
.codex-transition-wrap{border-top:1px solid #bdbdb5;padding:22px 0 26px}
.codex-transition{color:#9b2f25;font-size:18.2px}
#social-codex .codex-head h2{margin-top:0}

/* Research field and future results entry. */
.continuity .research-field{max-width:740px}
#social-codex .continuity .research-field-title{font-size:23px;line-height:1.4;color:#f2f2ed}
.research-field-title span{display:block;font-family:"Delect Lyon",Georgia,serif;font-size:29px;margin-top:5px}
#social-codex .results-pending{cursor:default;opacity:.65}
#social-codex .results-pending:hover{background:#f2f2ed}

/* Static model-board SVGs from wireframe V6. */
.codex-card-toggle[aria-expanded=true] .card-tagline{display:none}
.codex-card-toggle[aria-expanded=true] .card-detail{display:flex;flex-direction:column;width:100%;margin-top:0}
.card-model{width:100%;height:36cqi;object-fit:contain;flex-shrink:0}
.card-model-name{font:14px/1.3 "Delect Cora",Arial,sans-serif;color:#77231c;margin:6px 0 10px}
.card-description{display:block;font-size:16px;line-height:1.4}

/* Shorter line length for the core thesis. */
.codex-thesis{max-width:29ch}

/* Give the static illustration the remaining space in each fixed square. */
.codex-card-toggle[aria-expanded=true]{padding:40px 20px 20px}
.codex-card-toggle[aria-expanded=true] .card-title{flex-shrink:0;margin-bottom:4px}
.codex-card-toggle[aria-expanded=true] .card-detail{flex:1;min-height:0;gap:12px}
.codex-card-toggle[aria-expanded=true] .card-model{flex:1;min-height:0;height:0;width:100%;object-fit:contain}
.card-description{flex-shrink:0}

/* The descriptive sentence is the contact link. */
.practice a.practice-description{display:inline;margin:0;font-family:"Source Sans Pro",Arial,sans-serif;font-size:18px;line-height:1.55;color:#565650;text-decoration-color:transparent}
.practice a.practice-description:hover,.practice a.practice-description:focus-visible{text-decoration-color:#9b2f25}
.practice-description span{white-space:nowrap;color:#9b2f25}

/* Keep the three advisory descriptions compact beside their headings. */
.practice>div:last-child{max-width:50ch}

@media(min-width:1051px){.practice{grid-template-columns:50px .8fr 1.3fr}}

/* A centered, more compact founder biography. */
#allan .about{max-width:900px;margin-left:auto;margin-right:auto;grid-template-columns:220px minmax(0,1fr);gap:48px}
#allan .about>div{max-width:58ch}
#allan .about .portrait{max-width:220px}
@media(max-width:700px){#allan .about{grid-template-columns:1fr;gap:30px}#allan .about .portrait{max-width:180px}}

/* References bridge and editorial speaking list. */
.references-strip{border-top:1px solid #bdbdb5;border-bottom:1px solid #bdbdb5;padding:30px 0;display:flex;align-items:center;justify-content:space-between;gap:38px}
.references-logos{display:flex;align-items:center;justify-content:space-between;gap:36px;flex:1;max-width:850px}
.references-logos img{width:112px;max-height:54px;object-fit:contain;filter:grayscale(1);mix-blend-mode:multiply}
#allan .about{max-width:1050px;grid-template-columns:220px minmax(0,1fr);gap:100px}
#allan .about>div{max-width:58ch}
.appearances>h3{margin-bottom:30px}
.appearance.appearance-editorial{grid-template-columns:220px minmax(0,1fr);gap:100px;padding:28px 0;align-items:center}
.appearance-context{display:flex;flex-direction:column;align-items:flex-start;font-size:14px;line-height:1.5}
.appearance-context img{width:150px;height:50px;object-fit:contain;object-position:left center;margin-bottom:16px;filter:grayscale(1);mix-blend-mode:multiply}
.appearance-content{max-width:58ch}.appearance-content a{font-size:25px!important;line-height:1.25;display:inline-block}.appearance-content p{font-size:15px;color:#666;margin-top:10px}
@media(max-width:950px){#allan .about,.appearance.appearance-editorial{gap:50px}.references-logos{flex-wrap:wrap;justify-content:flex-start;gap:24px}.references-logos img{width:90px}}
@media(max-width:700px){#allan .about{grid-template-columns:1fr;gap:30px}.references-strip{align-items:flex-start;flex-direction:column;gap:24px}.appearance.appearance-editorial{grid-template-columns:110px minmax(0,1fr);gap:24px}.appearance-editorial>div:last-child{grid-column:auto}.appearance-context img{width:100px;height:42px}.appearance-content a{font-size:21px!important}}

.appearance-context img[src$="frenchfounders.svg"]{filter:brightness(0)}

/* Reference logos occupy the advisory text column; quiet left-to-right loop. */
.references-strip{display:grid;grid-template-columns:50px .8fr 1.3fr;gap:18px 24px;border:0;padding:8px 0 30px}
.references-carousel{grid-column:3;min-width:0;overflow:hidden;width:100%;mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent)}
.references-track{display:flex;width:max-content;animation:references-right 28s linear infinite}
.references-group{display:flex;align-items:center;gap:32px;padding-right:32px;flex-shrink:0}
.reference-logo-slot{width:110px;height:62px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.reference-logo-slot img{max-width:105px;width:auto;max-height:42px;height:auto;object-fit:contain;filter:grayscale(1);mix-blend-mode:multiply}
.reference-logo-slot img[src$="apple.svg"]{width:29px;height:35px}
.references-strip>.textlink{grid-column:3;justify-self:end}
.references-carousel:hover .references-track,.references-strip:focus-within .references-track{animation-play-state:paused}
@keyframes references-right{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@media(max-width:1050px) and (min-width:701px){.references-strip{grid-template-columns:50px 1fr 1.1fr}}
@media(max-width:700px){.references-strip{grid-template-columns:30px 1fr;gap:16px 12px}.references-carousel,.references-strip>.textlink{grid-column:2}}
@media(prefers-reduced-motion:reduce){.references-track{animation:none;width:100%}.references-group{flex-wrap:wrap;gap:16px;padding:0}.references-group[aria-hidden=true]{display:none}.references-carousel{mask-image:none}.reference-logo-slot{width:90px}}

/* Four editorial lines, with a small pause before the italic sentence. */
.hero .hero-statement{line-height:1.06;white-space:nowrap}
.hero .hero-statement em{display:block;margin-top:.14em;line-height:inherit}
@media(max-width:700px){.hero .hero-statement{font-size:clamp(24px,8.4vw,58px);line-height:1.08}}

/* Align the thesis with Meaning Drift and keep the heading on two lines. */
@media(min-width:1051px){
 #social-codex .codex-head{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
 #social-codex .codex-head>div:first-child{grid-column:1 / 3}
 #social-codex .codex-thesis{grid-column:3;max-width:none;text-align:left}
}
#social-codex .codex-head h2 em{white-space:nowrap}
@media(max-width:1050px){
 #social-codex .codex-head{grid-template-columns:1fr;max-width:480px;margin-inline:auto;gap:30px}
 #social-codex .codex-head h2{font-size:clamp(28px,4.4vw,42px)}
}

/* Homepage intervention titles are informational, without article links. */
.appearance-content .appearance-title{font-size:25px;line-height:1.25;display:inline-block}
@media(max-width:700px){.appearance-content .appearance-title{font-size:21px}}
