/* Project-wide branding and the research-led landing pages. */
:root { --ap-ink: #193d34; --ap-soft: #eaf0e8; --ap-text: #30483f; --ap-line: #cbd9cc; --ap-paper: #fafaf6; }
.unified-header .brand { letter-spacing: .085em; font-size: 12px; line-height: 1.35; }
.unified-header .brand small { letter-spacing: .12em; font-size: 10px; }
.unified-header .monogram { font-family: Georgia, serif; letter-spacing: -4px; padding-right: 4px; width: 43px; height: 43px; background: var(--ap-ink); color: white; border-color: var(--ap-ink); }
.unified-header #main-navigation { font-size: 14px; gap: clamp(14px,2vw,30px); }
.unified-header #main-navigation a { white-space: nowrap; }
.ap-home { background: var(--ap-paper); color: var(--ap-text); }
.ap-shell { width: min(100% - 96px, 1240px); margin-inline: auto; }
.ap-kicker { color: #47665b; font: 650 12px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .13em; margin: 0 0 18px; }
.ap-home h1, .ap-home h2, .ap-home h3, .ap-hub h1, .ap-hub h2, .ap-hub h3 { color: var(--ap-ink); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.025em; }
.ap-hero { min-height: 590px; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0,.82fr); align-items: center; gap: clamp(38px,6vw,92px); padding-block: 68px; }
.ap-hero h1 { font-size: clamp(46px,5.8vw,85px); line-height: 1.04; margin: 0 0 25px; }
.ap-hero h1 em { color: #4e7260; font-style: normal; }
.ap-intro { font: 22px/1.57 Georgia, serif; margin: 0 0 30px; max-width: 590px; }
.ap-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ap-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ap-ink); padding: 12px 19px; min-height: 46px; font: 650 14px/1.5 var(--sans); text-decoration: none; text-align: center; }
.ap-primary { color: white; background: var(--ap-ink); }
.ap-primary:hover { background: #315e4d; color: white; }
.ap-secondary { background: transparent; color: var(--ap-ink); }
.ap-secondary:hover { background: #e8ede5; }
.ap-credit { font-size: 13px; margin: 20px 0 0; color: #4d695c; }
.ap-hero-figure { margin: 0; padding: 18px; background: #e3eadf; border: 1px solid #c8d6c6; min-width: 0; }
.ap-archive-label { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 600; color: var(--ap-ink); border-bottom: 1px solid #b9c9b6; padding-bottom: 12px; }
.ap-archive-images { position: relative; height: clamp(280px,30vw,400px); margin: 23px 0; display: grid; place-items: center; }
.ap-archive-back { position: absolute; left: 1%; top: 12%; width: 69%; height: auto; max-height: 85%; object-fit: contain; transform: rotate(-7deg); background: white; border: 1px solid #bac6b7; box-shadow: 0 8px 25px #1636291a; }
.ap-archive-front { position: absolute; width: 58%; right: 4%; height: 100%; text-align: center; transform: rotate(3deg); background: #fff; box-shadow: 0 9px 24px #16362926; border: 1px solid #bac6b7; overflow: hidden; }
.ap-archive-front img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ap-hero-figure figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: #354f42; padding-top: 14px; border-top: 1px solid #b9c9b6; }
.ap-research-band { background: var(--ap-ink); color: #f7f8f1; }
.ap-research-feature { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 60px; padding-block: 47px; align-items: center; }
.ap-research-feature .ap-kicker { color: #bdcfb8; margin-bottom: 12px; }
.ap-research-feature h2 { font-size: clamp(32px,4vw,49px); line-height: 1.15; margin: 0 0 12px; color: #fff; }
.ap-research-feature p { margin: 0 0 19px; line-height: 1.7; }
.ap-paper-meta { display: flex; flex-wrap: wrap; column-gap: 16px; row-gap: 5px; color: #c9d9cc; font-size: 13px; }
.ap-paper-meta span + span::before { content: '·'; margin-right: 12px; }
.ap-light { color: var(--ap-ink); background: #f4f7ed; border-color: #f4f7ed; }
.ap-light:hover { background: #dbe8d6; }
.ap-inline-light { color: #f2f6eb; margin-left: 14px; font-size: 14px; }
.ap-section { padding-block: 60px; }
.ap-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.ap-section-heading .ap-kicker { margin-bottom: 9px; }
.ap-section-heading h2, .ap-library-feature h2 { font-size: clamp(32px,4vw,48px); line-height: 1.13; margin: 0; }
.ap-text-link { font-weight: 650; font-size: 14px; }
.ap-case-feature { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ap-line); background: white; }
.ap-case-image { display: grid; place-items: center; padding: 28px; background: var(--ap-soft); min-height: 370px; }
.ap-case-image img { max-height: 370px; width: 100%; object-fit: contain; }
.ap-case-copy { padding: 34px; }
.ap-case-copy .ap-kicker { margin-bottom: 12px; }
.ap-case-copy h3 { margin: 0 0 14px; font-size: clamp(27px,3vw,36px); line-height: 1.18; }
.ap-case-copy p { font-size: 16px; line-height: 1.7; margin: 0 0 19px; }
.ap-case-topics { display: flex; flex-wrap: wrap; gap: 10px 18px; border-top: 1px solid var(--ap-line); margin-top: 23px; padding-top: 16px; font-size: 13px; }
.ap-comparisons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.ap-comparisons > a { display: block; background: #fff; border: 1px solid var(--ap-line); padding: 24px; text-decoration: none; }
.ap-comparisons > a:hover { border-color: #52725c; background: #f4f7f2; }
.ap-comparisons > a > span:first-child { font-size: 12px; color: #4d695c; }
.ap-comparisons h3 { font-size: 29px; margin: 8px 0; line-height: 1.2; }
.ap-comparisons p { margin: 0 0 11px; color: var(--ap-text); font-size: 16px; }
.ap-method-band { background: #eaf0e7; border-block: 1px solid var(--ap-line); }
.ap-method-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.ap-method-grid > div { border-top: 2px solid #8eaa92; padding: 15px 0 0; }
.ap-method-grid h3 { font-size: 25px; margin: 0 0 10px; }
.ap-method-grid p { margin: 0; font-size: 16px; line-height: 1.65; }
.ap-library-feature { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.ap-library-feature p:not(.ap-kicker) { max-width: 690px; font-size: 17px; margin: 15px 0 0; }
.ap-library-feature .ap-button { flex-shrink: 0; }
.ap-hub { width: min(100% - 96px,1120px); margin: auto; padding: 56px 0 80px; color: var(--ap-text); }
.ap-hub h1 { font-size: clamp(44px,6vw,68px); line-height: 1.1; margin: 12px 0 18px; }
.ap-hub .ap-intro { max-width: 800px; }
.ap-hub .ap-section-heading { margin-top: 42px; }
.ap-hub .ap-comparisons { margin-top: 25px; }
.ap-hub .ap-method-grid { margin: 35px 0; }
.ap-list { display: grid; gap: 16px; margin-top: 32px; }
.ap-list article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px 36px; padding: 25px 27px; border: 1px solid var(--ap-line); background: #fff; align-items: center; }
.ap-list h2 { font-size: 29px; line-height: 1.18; margin: 0 0 9px; }
.ap-list p { margin: 0 0 8px; font-size: 16px; line-height: 1.65; }
.ap-list .ap-kicker { margin: 0 0 10px; font-size: 12px; }
.ap-list aside { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; }
.ap-note { margin-top: 28px; padding: 18px 23px; border-left: 3px solid #729277; background: var(--ap-soft); font-size: 15px; line-height: 1.7; }
.ap-case-nav { display: flex; flex-wrap: wrap; gap: 8px 17px; padding: 13px max(3vw,22px); background: #eaf0e7; border-bottom: 1px solid #ccd8ca; font-size: 13px; }
.ap-case-nav a { text-decoration: underline; text-underline-offset: 3px; }
.ap-case-nav strong { color: var(--ap-ink); margin-right: 4px; }
@media(max-width: 900px) {
 .ap-shell, .ap-hub { width: min(100% - 46px,1240px); }
 .ap-hero { min-height: 0; gap: 34px; padding-block: 36px; }
 .ap-hero h1 { font-size: clamp(39px, 6.6vw, 58px); }
 .ap-intro { font-size: 20px; }
 .ap-research-feature { gap: 30px; }
 .ap-case-copy, .ap-case-image { padding: 23px; }
 .ap-method-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 700px) {
 .unified-header .brand { font-size: 10px; letter-spacing: .06em; gap: 8px; }
 .unified-header .brand small { font-size: 8px; }
 .unified-header .monogram { width: 35px; height: 35px; font-size: 23px; }
 .ap-hero,.ap-research-feature,.ap-case-feature,.ap-comparisons { grid-template-columns: minmax(0,1fr); }
 .ap-hero { gap: 26px; padding-block: 30px; }
 .ap-hero h1 { font-size: 45px; }
 .ap-intro { font-size: 20px; }
 .ap-section { padding-block: 36px; }
 .ap-research-feature { padding-block: 32px; gap: 22px; }
 .ap-section-heading, .ap-library-feature { align-items: flex-start; flex-direction: column; }
 .ap-case-image { min-height: 210px; padding: 16px; }
 .ap-case-image img { max-height: 295px; }
 .ap-list article { grid-template-columns: minmax(0,1fr); gap: 10px; padding: 20px; }
 .ap-method-grid { gap: 16px; }
 .ap-hub { padding-block: 30px 45px; }
}
@media(max-width: 380px) {
 .ap-shell, .ap-hub { width: calc(100% - 34px); }
 .ap-hero h1 { font-size: 39px; }
 .ap-method-grid { grid-template-columns: 1fr; }
 .ap-archive-label { font-size: 10px; }
 .ap-inline-light { display: inline-block; margin: 12px 0 0; }
}
@media print { .ap-case-nav { display: none; } }

.ap-work-stats {display:grid;grid-template-columns:1fr 1fr;gap:15px 21px;}
.ap-work-stats a{display:block;color:#f7f8f1;text-decoration:none;border-bottom:1px solid #6e8d7d;padding:7px 0 13px;}
.ap-work-stats a:hover{text-decoration:underline;}
.ap-work-stats strong{display:block;font:400 clamp(40px,4vw,55px)/1.05 Georgia,serif;margin-bottom:7px;}
.ap-work-stats span{font-size:14px;}
.ap-work-stats p{grid-column:1/-1;font-size:13px;color:#d0dfd2;margin:1px 0 0;}
.ap-work-band .ap-research-feature{gap:clamp(25px,5vw,70px);}

.ap-discovery-actions{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
@media(max-width:640px){.ap-discovery-actions,.ap-discovery-actions>a{width:100%}}

/* Clear, task-oriented navigation and local research routes. */
.unified-header #main-navigation .nav-how{background:var(--ap-ink);color:white;padding:10px 13px;border-radius:3px;text-decoration:none}
.unified-header #main-navigation .nav-how:hover{background:#315e4d;color:white}
.unified-header #main-navigation .nav-how[aria-current=page]{box-shadow:0 0 0 2px #9db8a3 inset}
.unified-header #main-navigation .nav-how[aria-current=page]::after{display:none}
.research-subnav{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px;border-bottom:1px solid var(--ap-line);padding-bottom:14px}
.research-subnav a{font-weight:650;text-decoration:none;background:white;color:var(--ap-ink);border:1px solid var(--ap-line);padding:10px 14px;min-height:42px}
.research-subnav a[aria-current=page]{color:white;background:var(--ap-ink);border-color:var(--ap-ink)}
.research-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:24px}
.research-entry a{background:white;border:1px solid var(--ap-line);padding:22px;text-decoration:none;display:block;color:var(--ap-ink)}
.research-entry a:hover{background:var(--ap-soft);border-color:#72947f}
.research-entry a>span{font-size:12px;color:#4d695c;letter-spacing:.09em;font-weight:650;display:block;margin-bottom:10px}
.research-entry a>strong{font-family:Georgia,serif;font-size:23px;line-height:1.2;display:block}
.research-entry p{margin:10px 0 0;font-size:16px;line-height:1.6}
.story-paths{display:flex;flex-wrap:wrap;gap:10px 16px;margin:24px 0}
.story-paths a{font-weight:650;padding:10px 14px;border:1px solid var(--ap-line);background:#fff;color:var(--ap-ink);text-decoration:none}
@media(max-width:800px){.unified-header #main-navigation .nav-how{display:block;padding:10px 12px;align-self:center;font-size:14px}.unified-header #main-navigation a{white-space:normal}.research-entry{grid-template-columns:1fr}.research-subnav a{flex:1;text-align:center}}
