:root { --home-black:#151718; --home-muted:#5c6060; --home-gold:#ba9f6c; }
.ahao-home { background:#fbfbf9; color:#17191a; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; }
.ahao-home .mast, .ahao-home .reader-languages { background:#fbfbf9; }
.ahao-home .mast-inner, .home-latest.wrap, .ahao-home .journal.wrap, .home-channels.wrap, .home-wiki.wrap, .home-categories.wrap { width:100%; max-width:1512px; padding-inline:clamp(18px,5.5vw,86px); margin-inline:auto; }
.ahao-home .mast-inner { height:66px; gap:18px; }
.ahao-home .brand { gap:10px; }
.ahao-home .brand .dial { color:#a38857; }
.brand-lockup { display:inline-grid; justify-items:center; gap:2px; color:#181b1c; }
.brand-lockup .wordmark { font:500 29px/.88 Georgia,"Times New Roman",serif; letter-spacing:.09em; padding-left:.09em; }
.brand-line { font:650 7px/1.2 Arial,sans-serif; letter-spacing:.23em; white-space:nowrap; }
.ahao-home .mast .brand-name { display:inline; color:#454543; font:500 14px/1.4 var(--sans); padding-left:10px; letter-spacing:.05em; }
.ahao-home .mast nav { gap:clamp(16px,2.7vw,45px); }
.ahao-home .mast nav a { font-size:14px; font-weight:520; color:#303333; }
.ahao-home .reader-languages { max-width:1512px; justify-content:flex-end; padding:0 clamp(18px,5.5vw,86px) 4px; gap:12px; color:#5c6060; font:11px/1.4 var(--sans); }
.ahao-home .reader-languages a { padding:3px 0; }
.home-latest { padding-top:12px; padding-bottom:45px; }
.home-channels { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-bottom:15px; }
.home-channel { min-width:0; padding:13px 56px 13px 20px; border:1px solid #e0e1dd; border-radius:16px; background:#f0f1ee; position:relative; display:flex; align-items:baseline; gap:14px; color:#17191a; }
.home-channel:nth-child(2) { background:#f4f1eb; border-color:#e5e0d6; }
.home-channel::after { content:'↗'; position:absolute; right:17px; top:50%; transform:translateY(-50%); color:#5f6260; font:17px/1 var(--sans); }
.home-channel h2,.home-channel-title { margin:0; flex:none; font:650 clamp(17px,1.48vw,23px)/1.35 var(--sans); letter-spacing:-.04em; }
.home-channel p,.home-channel-note { margin:0; color:#575c5a; font:400 12px/1.5 var(--sans); }
.home-channel:hover { border-color:#a9aba5; }
.home-lead { position:relative; isolation:isolate; display:flex; align-items:center; min-height:clamp(340px,32vw,475px); overflow:hidden; border-radius:24px; color:#fff; background:#111516; }
.home-lead-copy { position:relative; z-index:2; width:49%; padding:clamp(30px,3.5vw,58px); }
.home-lead:not(:has(.home-lead-photo)) .home-lead-copy { width:min(88%,900px); }
.home-byline { display:flex; flex-wrap:wrap; align-items:center; gap:12px; color:#c2c7c5; font:500 12px/1.45 var(--sans); }
.home-byline a { color:#e7ce9d; }
.home-lead h3 { margin:17px 0 12px; font:640 clamp(28px,2.8vw,45px)/1.22 var(--sans); letter-spacing:-.045em; text-wrap:balance; overflow-wrap:anywhere; }
.home-lead-copy p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; margin:0; color:#d4d7d5; max-width:48ch; font:400 clamp(14px,1.08vw,17px)/1.65 var(--sans); }
.home-story-link { display:inline-flex; gap:14px; align-items:center; margin-top:22px; padding:10px 17px; min-height:40px; border-radius:100px; background:#f7f8f5; color:#1b1e1c; font:600 13px/1.4 var(--sans); }
.home-story-link::after { content:'→'; font-size:17px; }
.home-story-link:hover { background:#e3e8e3; }
.home-lead-photo { position:absolute; inset:0 0 0 44%; margin:0; }
.home-lead-photo>a { display:block; height:100%; }
.home-lead-photo img { width:100%; height:100%; display:block; object-fit:cover; object-position:54% 52%; }
.home-lead-photo::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#111516 0%,rgba(17,21,22,.76) 7%,rgba(17,21,22,.12) 28%,transparent 55%); pointer-events:none; }
.home-lead-photo:not(.ahao-stamped)::after { content:"AHAO WATCH JOURNAL"; position:absolute; right:4%; bottom:6%; color:#fff; font:600 clamp(8px,.76vw,12px)/1.1 Arial,sans-serif; letter-spacing:.18em; text-shadow:0 1px 4px #000b; pointer-events:none; }
.home-latest-list,.home-wiki ul,.home-categories ul { padding:0; margin:0; list-style:none; }
.home-latest>.home-latest-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; margin-top:21px; }
.home-latest-list li { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.home-latest-list time { font:500 12px/1.4 var(--sans); color:#676c69; }
.home-latest-list a,.home-wiki li a { font:600 clamp(16px,1.35vw,22px)/1.45 var(--sans); letter-spacing:-.025em; }
.home-latest-more { margin:15px 0 0; font-size:13px; color:#605239; }
.home-latest-more a::after { content:' →'; }
.home-latest a:focus-visible { outline:2px solid #b0905f; outline-offset:2px; }
.home-latest-more a:hover,.home-wiki a:hover { text-decoration:underline; text-underline-offset:.22em; }
.home-wiki { margin-top:30px; border-top:1px solid #dcded8; padding-top:25px; }
.home-wiki h2,.home-categories h2,.home-latest-head h2 { margin:0; font:650 clamp(23px,2.5vw,39px)/1.2 var(--sans); letter-spacing:-.045em; }
.home-wiki ul { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:16px; }
.home-wiki li { margin:0; min-width:0; background:#f0f1ed; border-radius:16px; }
.home-wiki li a { display:block; padding:20px; color:#222724; }
.home-categories { display:flex; align-items:baseline; flex-wrap:wrap; gap:16px 28px; margin-top:28px; }
.home-categories h2 { font-size:clamp(18px,1.55vw,25px); }
.home-categories ul,.journal-sections { display:flex; flex-wrap:wrap; gap:8px; }
.home-categories li a,.home-categories.wrap>a,.journal-sections a { display:inline-block; border:1px solid #d8dbd6; color:#393c39; border-radius:100px; padding:7px 12px; font:500 13px/1.4 var(--sans); }
.home-categories li a:hover,.journal-sections a:hover { background:#e8ebe5; }
.journal-sections { margin:0 0 20px; }
.ahao-home .hero { max-width:1346px; width:89%; margin:0 auto; border-radius:24px; overflow:hidden; }
.ahao-home .journal .card-photo { border-radius:14px; overflow:hidden; }
.ahao-home .journal h2,.ahao-home .card h3 { font-family:var(--sans); letter-spacing:-.035em; }
@media(max-width:950px) {
  .home-channel { display:block; }
  .home-channel p,.home-channel-note { display:block; margin-top:2px; }
  .home-lead-copy { width:51%; padding:28px; }
}
@media(max-width:720px) {
  .ahao-home .mast-inner { height:54px; }
  .ahao-home .mast .brand-name { font-size:12px; }
  .brand-lockup .wordmark { font-size:25px; }
  .brand-line { font-size:6px; }
  .ahao-home .reader-languages { padding-bottom:2px; }
  .home-latest { padding-top:8px; padding-bottom:28px; }
  .home-channels { gap:8px; margin-bottom:10px; }
  .home-channel { border-radius:12px; padding:12px 25px 12px 13px; }
  .home-channel h2,.home-channel-title { font-size:16px; }
  .home-channel::after { right:10px; font-size:14px; }
  .home-channel p,.home-channel-note { display:none; }
  .home-lead { display:flex; flex-direction:column; align-items:stretch; min-height:0; border-radius:18px; }
  .home-lead-photo { order:-1; position:relative; inset:auto; width:100%; aspect-ratio:1.92; }
  .home-lead-photo img { object-position:center 53%; }
  .home-lead-photo::before { background:linear-gradient(0deg,rgba(17,21,22,.2),transparent 28%); }
  .home-lead-copy,.home-lead:not(:has(.home-lead-photo)) .home-lead-copy { padding:20px; width:100%; }
  .home-byline { gap:10px; font-size:11px; }
  .home-lead h3 { font-size:clamp(23px,5.75vw,32px); line-height:1.24; margin:10px 0 9px; }
  .home-lead-copy p { font-size:13px; line-height:1.55; }
  .home-story-link { margin-top:14px; padding:6px 13px; min-height:34px; font-size:12px; }
  .home-latest>.home-latest-list { grid-template-columns:1fr; gap:0; margin-top:10px; }
  .home-latest-list li { padding:11px 0; border-bottom:1px solid #dee0da; }
  .home-wiki ul { grid-template-columns:1fr; gap:7px; margin-top:12px; }
  .home-wiki li a { padding:12px 15px; }
  .home-categories { margin-top:20px; }
  .ahao-home .hero { width:calc(100% - 36px); border-radius:16px; }
}
@media(prefers-reduced-motion:no-preference) {
  .home-channel,.home-story-link { transition:background .18s ease,border-color .18s ease; }
}

.ahao-home .mast-inner > nav { min-width:0; gap:clamp(10px,1.5vw,24px); }
.ahao-home .mast-inner > nav a { white-space:nowrap; }
.ahao-home .mast .home-nav-subject { color:#775d36; font-size:13px; }
@media (min-width:1081px) {
  .ahao-home .mast-inner > nav { flex-wrap:wrap; justify-content:center; row-gap:0; }
  .ahao-home .mast-inner > nav .home-nav-subject { max-width:13em; overflow:hidden; text-overflow:ellipsis; }
}
@media (max-width:1080px) {
  .ahao-home .mast .mast-inner { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"brand tools" "sections sections"; height:auto; column-gap:10px; row-gap:0; }
  .ahao-home .mast-inner>.brand { grid-area:brand; justify-self:start; min-height:53px; }
  .ahao-home .mast-inner>.tools { grid-area:tools; justify-self:end; }
  .ahao-home .mast .mast-inner>nav { grid-area:sections; display:flex; min-width:0; max-width:100%; overflow-x:auto; flex-wrap:nowrap; align-items:center; gap:16px; -webkit-overflow-scrolling:touch; }
  .ahao-home .mast-inner>nav a { flex-shrink:0; padding:7px 0; line-height:1.4; }
}
@media (max-width:720px) {
  .ahao-home .mast .mast-inner>nav:has(.home-nav-subject)>a:not(.home-nav-subject):not([href$="/topics/"]) { display:none; }
  .ahao-home .mast .mast-inner>nav .home-nav-subject { font-size:13px; }
  .ahao-home .mast .mast-inner>nav a[href$="/topics/"] { order:1; font-size:12px; }
}

/* Dark editorial finish for the home page. */
.ahao-home { color:#f1f1ee; background-color:#080a0b; background-image:repeating-linear-gradient(135deg,transparent 0,transparent 5px,rgba(255,255,255,.014) 6px,transparent 8px),radial-gradient(ellipse at 65% 35%,#202123 0,#090b0c 65%); }
.ahao-home .mast,.ahao-home .reader-languages { background:#090b0c; }
.ahao-home .mast { border-color:#303235; }
.ahao-home .brand-lockup,.ahao-home .mast .brand-name,.ahao-home .mast nav a,.ahao-home .reader-languages,.ahao-home .reader-languages a,.ahao-home .tools { color:#dddcd7; }
.ahao-home .mast .home-nav-subject { color:#d3a774; }
.home-channel,.home-channel:nth-child(2) { color:#f4f2ed; border:3px solid #656766; border-radius:10px; padding-block:9px; background:linear-gradient(105deg,#363839,#747674 48%,#353738 82%,#202223); box-shadow:inset 0 0 0 1px #191b1c,0 2px 5px #0009; }
.home-channel p,.home-channel-note,.home-channel::after { color:#d0d0c9; }
.home-channel:hover { border-color:#c4aa81; }
.home-lead { border:1px solid #454342; border-radius:14px; background:radial-gradient(circle at 74% 48%,#34302b,#141618 55%,#0e1011); }
.home-lead-copy { z-index:2; }
.home-lead-photo::before { z-index:1; background:linear-gradient(90deg,#111315 0%,rgba(17,19,21,.8) 10%,transparent 55%); }
.home-story-link { color:#17130e; background:linear-gradient(110deg,#f0c58d,#bd7d47); }
.home-story-link:hover { background:#f3cea0; }
.home-briefs,.home-latest>.home-latest-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:10px; }
.home-briefs > *,.home-latest>.home-latest-list li { min-width:0; background:#1a1c1e; padding:15px 17px; border:1px solid #303133; border-radius:8px; }
.home-latest-list time { color:#aaa8a2; }
.home-latest-more { color:#c2aa88; }
.home-wiki { border-color:#4d4d49; }
.home-wiki li,.wiki-feature-card { background:linear-gradient(140deg,#999a96,#454747 38%,#999a96 75%,#383a3a); border:1px solid #aaa9a3; border-radius:12px; padding:6px; min-width:0; }
.home-wiki li a,.wiki-feature-card { color:#f2f1ed; }
.wiki-feature-card { background:linear-gradient(#1b1d1f,#151719) padding-box,linear-gradient(130deg,#a4a49e,#424544,#969690) border-box; border:6px solid transparent; padding:12px; overflow:hidden; }
.wiki-feature-image,.wiki-image-pair { min-width:0; overflow:hidden; border-radius:5px; }
.wiki-feature-image img,.wiki-image-pair img { display:block; width:100%; height:100%; object-fit:cover; }
.wiki-image-pair { display:flex; gap:6px; }
.wiki-image-pair > * { min-width:0; flex:1; }
.home-categories li a,.home-categories.wrap>a,.home-topic-tags a,.journal-sections a { color:#e0ded9; border-color:#555653; background:#141617; }
.home-categories li a:hover,.home-topic-tags a:hover,.journal-sections a:hover { color:#fff; background:#35302a; }
.home-editorial-feature { position:relative; overflow:hidden; min-width:0; border-radius:14px; background:#122444; color:#fff; }
.home-editorial-feature .feature-art img { display:block; width:100%; height:100%; object-fit:cover; }
.home-editorial-feature .feature-copy { position:relative; z-index:1; }
.ahao-home .journal h2,.ahao-home .journal .card h3 { color:inherit; }
@media(max-width:720px) {
 .home-channel,.home-channel:nth-child(2) { padding:9px 23px 9px 11px; border-width:2px; }
 .home-briefs,.home-latest>.home-latest-list { grid-template-columns:1fr; gap:7px; }
 .home-latest>.home-latest-list li { padding:12px; border:1px solid #303133; }
 .home-wiki ul { gap:9px; }
 .wiki-feature-card { min-width:0; }
}

.home-wiki ul { align-items:stretch; }
.home-wiki li:has(.wiki-feature-card) { display:flex; padding:0; border:0; background:none; }
.home-wiki .wiki-feature-card { display:flex; flex:1; flex-direction:column; gap:14px; padding:13px; border-width:5px; box-shadow:0 5px 14px #0005,inset 0 0 0 1px #050606; }
.home-wiki .wiki-feature-card h3 { margin:0; }
.home-wiki .wiki-feature-card h3 a { padding:0; color:#efefec; font-size:clamp(16px,1.39vw,22px); line-height:1.45; }
.home-wiki .wiki-card-detail { display:flex; margin-top:auto; align-items:end; justify-content:space-between; padding:0; gap:9px; text-decoration:none; }
.wiki-card-detail .wiki-image-pair { flex:1; height:clamp(62px,6.55vw,99px); align-items:stretch; }
.wiki-card-detail .wiki-feature-image:first-child { flex:1.7; }
.wiki-detail-label { flex:none; font-size:12px; line-height:1.2; border:1px solid #9d754d; border-radius:30px; color:#e7bd8a; padding:6px 9px; }
.home-topic-tags h2>a { background:none; color:#ebe9e3; }
.ahao-home .journal { color:#eae9e4; }
.ahao-home .journal :is(.eyebrow,.card-info,.card>p) { color:#bab6ad; }
.ahao-home .slide.issue-cover .hero-image { background-color:#142844; }
.ahao-home .issue-cover .hero-copy { max-width:none; width:100%; padding-inline:clamp(24px,6vw,94px); }
.ahao-home .issue-cover .hero-copy h1 { max-width:77%; }
.ahao-home .issue-cover .hero-copy h1 { color:#fff8ed; font-family:Georgia,"Songti SC","SimSun",serif; font-weight:500; }
@media(max-width:720px) {
 .wiki-card-detail .wiki-image-pair { height:72px; }
 .home-wiki .wiki-feature-card { padding:12px; gap:9px; }
 .ahao-home .issue-cover .hero-copy { max-width:100%; }
 .ahao-home .issue-cover .hero-copy h1 { max-width:100%; }
}
