
/* Functional Composition: derivative treatment layered over the uploaded EM narrative site. */
.cf-page { --accent-color:#ae5c3e; --heading-font:Montserrat,Arial,Helvetica,sans-serif; --default-font:Roboto,Arial,Helvetica,sans-serif; color:#171411; }
.cf-page .sa-header .top-row { min-height:72px; }
.cf-page .navmenu ul { flex-wrap:wrap; }
.cf-page .sa-header .logo h1 { font-size:23px; }
.cf-page .sa-hero { min-height:630px; padding-top:225px; padding-bottom:102px; }
.cf-page .sa-hero:after { pointer-events:none; }
.cf-page .sa-kicker { position:relative; z-index:1; }
.cf-page .sa-hero .container, .cf-page .sa-hero-card { position:relative; z-index:2; }
.cf-page .sa-hero h1 { font-size:clamp(3rem,6.5vw,5.3rem); }
.cf-page .sa-hero .hero-buttons { display:flex; flex-wrap:wrap; gap:12px; }
.cf-page .sa-hero .btn-outline { border:1px solid rgba(255,255,255,.65); color:white; }
.cf-page .sa-hero .btn-outline:hover { background:white; color:#171411; }
.cf-page-hero { position:relative; overflow:hidden; background:#171411; padding:198px 0 67px; color:white; }
.cf-page-hero:before { content:""; position:absolute; inset:0; pointer-events:none; background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px, transparent 1px); background-size:58px 58px; }
.cf-page-hero .container { position:relative; }
.cf-page-hero h1 { color:#fff; font-size:clamp(2.4rem,5vw,4.2rem); letter-spacing:-.05em; line-height:1.06; max-width:1000px; margin:10px 0 20px; }
.cf-page-hero p { color:rgba(255,255,255,.8); font-size:18px; max-width:850px; line-height:1.6; }
.cf-page-hero .sa-kicker { margin-bottom:8px; }
.cf-method-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.cf-method { border:1px solid var(--sa-line); border-radius:20px; background:white; padding:26px 19px; min-height:238px; }
.cf-method i { display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; border-radius:14px; font-size:23px; color:var(--accent-color); background:var(--sa-warm); }
.cf-method h3 { font-size:21px; margin:20px 0 10px; }
.cf-method p { color:var(--sa-soft-ink); font-size:14px; line-height:1.6; }
.cf-cards-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:17px; }
.cf-model-card { display:flex; flex-direction:column; border:1px solid var(--sa-line); background:#fff; border-radius:20px; padding:28px; min-height:252px; }
.cf-model-card h3 { font-size:25px; line-height:1.2; margin:14px 0 4px; }
.cf-model-card h3 a { color:#171411; }
.cf-model-card h3 a:hover { color:var(--accent-color); }
.cf-model-card p { color:var(--sa-soft-ink); line-height:1.58; margin:12px 0; }
.cf-model-card .cf-org { color:var(--accent-color); font-size:13px; font-weight:700; margin:4px 0 8px; }
.cf-card-top { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.cf-ref, .cf-id-link { color:#8a4a32; font-weight:800; letter-spacing:.05em; font-size:12px; text-decoration:none; }
.cf-family { font-size:11px; font-weight:700; color:#665a52; background:var(--sa-warm); border-radius:999px; padding:6px 9px; }
.cf-text-link { display:inline-flex; gap:7px; align-items:center; margin-top:auto; font-size:13px; color:var(--accent-color); font-weight:800; }
.cf-filter-bar { display:flex; align-items:end; flex-wrap:wrap; gap:16px; margin-bottom:25px; }
.cf-filter-bar label { flex:1; min-width:230px; color:var(--sa-soft-ink); font-weight:700; font-size:13px; }
.cf-filter-bar input, .cf-filter-bar select { margin-top:6px; border-radius:12px; border-color:#d1c9c1; padding:12px 14px; }
.cf-filter-bar .cf-count { font-size:13px; font-weight:700; color:var(--accent-color); padding:11px; }
.cf-empty { padding:25px; background:var(--sa-warm); border-radius:15px; }
.cf-table-scroll { overflow-x:auto; border:1px solid var(--sa-line); border-radius:20px; background:#fff; }
.cf-table { border-collapse:collapse; width:100%; min-width:880px; font-size:14px; }
.cf-table th,.cf-table td { text-align:left; vertical-align:top; padding:19px 17px; border-bottom:1px solid var(--sa-line); line-height:1.57; }
.cf-table thead th { background:#171411; color:white; font-size:13px; font-weight:700; }
.cf-table tbody tr:last-child td,.cf-table tbody tr:last-child th { border-bottom:0; }
.cf-table tbody tr:nth-child(even) { background:#fffaf5; }
.cf-table tbody th { color:#171411; width:190px; }
.cf-table a { font-weight:700; }
.cf-table small { color:#766b62; }
.cf-ten-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:13px; }
.cf-ten-item { border:1px solid var(--sa-line); background:white; border-radius:15px; padding:20px; display:grid; gap:6px; }
.cf-ten-item strong { font-size:15px; }
.cf-ten-item span { color:var(--sa-soft-ink); font-size:13px; }
.cf-center-node { margin:auto auto 25px; border-radius:22px; color:#fff; text-align:center; font-size:27px; font-family:var(--heading-font); font-weight:800; background:#171411; padding:36px 18px; max-width:610px; box-shadow:0 15px 40px rgba(23,20,17,.11); }
.cf-center-node small { font-family:var(--default-font); color:rgba(255,255,255,.7); font-size:14px; font-weight:400; display:block; margin-top:8px; }
.cf-adjacency-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.cf-adjacency { border:1px solid var(--sa-line); padding:22px; border-radius:17px; background:#fff; }
.cf-adjacency h3 { margin:0 0 7px; font-size:19px; }
.cf-adjacency p { margin:0 0 9px; color:var(--sa-soft-ink); line-height:1.6; }
.cf-adjacency small { color:var(--accent-color); font-size:12px; font-weight:700; }
.cf-question-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.cf-question { padding:24px; background:white; border:1px solid var(--sa-line); border-radius:18px; display:flex; gap:12px; align-items:center; line-height:1.6; }
.cf-question i { color:var(--accent-color); font-size:22px; }
.cf-source-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.cf-source { border:1px solid var(--sa-line); border-radius:19px; background:white; padding:27px; min-height:274px; display:flex; flex-direction:column; }
.cf-source h3 { font-size:21px; margin:13px 0; line-height:1.3; }
.cf-source p { font-size:14px; color:var(--sa-soft-ink); line-height:1.6; }
.cf-source-key { color:var(--accent-color); font-size:13px; font-weight:800; }
.cf-source-key span { margin-left:8px; color:#706960; font-weight:500; }
.cf-source-end { display:flex; justify-content:space-between; gap:15px; border-top:1px solid var(--sa-line); margin-top:auto; padding-top:15px; align-items:center; font-size:12px; }
.cf-source-end a { color:var(--accent-color); font-weight:700; }
.cf-source-end span { color:#766d66; }
.cf-downloads { display:flex; flex-wrap:wrap; gap:13px; }
.cf-downloads a { display:inline-flex; align-items:center; gap:10px; background:white; border:1px solid var(--sa-line); border-radius:15px; padding:18px; color:#171411; font-weight:700; }
.cf-downloads a:hover { border-color:var(--accent-color); }
.cf-model-detail .cf-detail-heading { margin:68px 0 20px; }
.cf-model-detail .cf-detail-heading h2 { font-size:34px; margin:9px 0 11px; }
.cf-model-detail .cf-detail-heading p { max-width:790px; line-height:1.6; color:var(--sa-soft-ink); }
.cf-model-meta { display:grid; grid-template-columns:1fr 1fr 2fr; gap:16px; border:1px solid var(--sa-line); border-radius:18px; padding:20px; }
.cf-model-meta >div { display:flex; flex-wrap:wrap; flex-direction:column; gap:7px; }
.cf-meta-label { font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--accent-color); }
.cf-model-meta .cf-ref { display:inline-block; margin-right:11px; }
.cf-three-layer { display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; }
.cf-three-layer article { border:1px solid var(--sa-line); border-radius:18px; padding:24px; background:white; }
.cf-three-layer article:first-child { background:#fcf4ea; }
.cf-layer { font-size:11px; font-weight:800; letter-spacing:.09em; color:var(--accent-color); }
.cf-three-layer h3 { font-size:21px; margin:12px 0; }
.cf-three-layer p { margin-top:15px; color:var(--sa-soft-ink); line-height:1.65; font-size:14px; }
.cf-term-list { display:flex; gap:5px; flex-wrap:wrap; }
.cf-term { background:white; border:1px solid #e6d7c7; border-radius:999px; font-size:11px; padding:5px 8px; }
.cf-detail-table { min-width:600px; }
.cf-detail-table th { width:180px; }
.cf-dimension-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.cf-dimension-grid article { padding:22px; border:1px solid var(--sa-line); border-radius:16px; background:var(--sa-warm); }
.cf-dimension-grid span { font-family:var(--heading-font); font-weight:800; }
.cf-dimension-grid p { color:var(--sa-soft-ink); font-size:14px; line-height:1.55; margin:10px 0 0; }
.cf-panel { border:1px solid var(--sa-line); padding:25px; border-radius:17px; height:100%; }
.cf-panel h3 { font-size:21px; margin:0 0 15px; }
.cf-research-questions { padding-left:20px; line-height:1.75; }
.cf-research-questions li { margin-bottom:10px; }
.cf-comp-links { display:flex; gap:9px; flex-wrap:wrap; }
.cf-comp-links a { border:1px solid var(--sa-line); padding:9px; border-radius:9px; }
.cf-note-panel { border:1px solid var(--sa-line); padding:27px; background:#fffaf5; border-radius:19px; }
.cf-note-panel >label { display:block; font-size:13px; font-weight:800; margin-bottom:10px; }
.cf-note-panel textarea { font-size:15px; border-radius:12px; }
.cf-note-actions { margin-top:16px; display:flex; flex-wrap:wrap; gap:13px; align-items:end; }
.cf-note-actions >label { font-size:12px; font-weight:700; }
.cf-note-actions select { margin-top:5px; }
.cf-action,.cf-import { cursor:pointer; display:inline-flex; align-items:center; gap:7px; padding:11px 14px; color:#fff; background:#171411; border:1px solid #171411; border-radius:9px; font-size:13px; font-weight:800; }
.cf-import { color:#171411; background:#fff; }
.cf-note-feedback { color:#75513d; font-size:12px; }
.cf-back { display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; padding-top:35px; }
.cf-back a { font-size:14px; font-weight:800; color:var(--accent-color); }
@media (max-width:1199px) { .cf-method-grid { grid-template-columns:repeat(3,1fr); } .cf-three-layer { grid-template-columns:1fr; } .cf-dimension-grid {grid-template-columns:repeat(2,1fr)} }
@media (max-width:991px) { .cf-page-hero { padding-top:205px; } .cf-model-meta { grid-template-columns:1fr 1fr; } .cf-model-meta >div:last-child { grid-column:1/-1; } }
@media (max-width:767px) { .cf-method-grid,.cf-cards-grid,.cf-ten-grid,.cf-adjacency-grid,.cf-question-grid,.cf-source-grid,.cf-dimension-grid { grid-template-columns:1fr; } .cf-model-meta { grid-template-columns:1fr; } .cf-model-meta >div:last-child { grid-column:1; } .cf-page-hero { padding-top:182px; } .cf-model-card { min-height:auto; } .cf-page .sa-hero { padding-top:195px; } .cf-detail-table { min-width:550px; } }
