/* ================================================================
   MAHUA MV — Visual Journal V2
   Layout: base > header > cover > sections > detail > responsive.
   All site pages use semantic HTML; no JS is needed for layout.
   ================================================================ */
:root {
  --ink: #132528;
  --muted: #607176;
  --paper: #f6f5f0;
  --line: #dfe3dd;
  --accent: #db573e;
  --teal: #0e6669;
  --deep: #102126;
  --radius: 7px;
  --shell: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 "PingFang SC", "Microsoft YaHei", sans-serif; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
main, section, article, aside { min-width: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.shell { width: min(calc(100% - 44px), var(--shell)); margin-inline: auto; }
.skip { position: absolute; z-index: 50; left: -999px; top: 8px; background: white; padding: 8px 12px; }
.skip:focus { left: 12px; }
.eyebrow { display: block; color: var(--accent); letter-spacing: .14em; font: 700 12px/1.5 sans-serif; text-transform: uppercase; }
.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: #faf9f5; }
.header-inner { display: flex; align-items: center; gap: 35px; min-height: 89px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { display: grid; place-items: center; width: 50px; height: 50px; background: var(--deep); color: white; font: 800 18px/1 Arial; letter-spacing: -.06em; border-radius: 4px; }
.brand-mark span { color: #ff8063; }
.brand-name { font-weight: 900; line-height: 1.15; font-size: 17px; }
.brand-name small { display: block; font: 700 9px/1.5 Arial; color: var(--muted); letter-spacing: .13em; }
.site-nav { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: clamp(10px, 2.3vw, 30px); margin-left: auto; }
.site-nav a { white-space: nowrap; font-size: 13px; font-weight: 700; color: #3d5153; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.13fr .87fr; gap: 38px; align-items: stretch; padding-block: 64px 72px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.hero-kicker { display: flex; align-items: center; gap: 10px; color: var(--teal); }
.hero-kicker i { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { line-height: 1.32; letter-spacing: -.035em; }
.hero h1 { margin: 20px 0 23px; font-size: clamp(30px, 3.4vw, 49px); font-weight: 900; word-break: normal; }
.hero h1 em { display: block; margin-top: 14px; color: var(--teal); font-size: .68em; font-style: normal; }
.hero-desc { max-width: 610px; color: #5d7071; font-size: 15px; line-height: 2.05; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 12px 19px; font-size: 14px; font-weight: 800; border: 1px solid var(--deep); border-radius: 4px; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: white; background: var(--deep); }
.btn.secondary { color: var(--ink); background: transparent; }
.hero-annotation { display: flex; flex-wrap: wrap; gap: 15px 20px; color: #899696; font-size: 12px; padding-top: 40px; }
.hero-visual { min-width: 0; position: relative; overflow: hidden; background: #1c3334; border-radius: var(--radius); min-height: 510px; }
.hero-image { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.hero-image-caption { position: absolute; inset: auto 22px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: white; font-size: 11px; padding: 12px; background: rgba(10,29,34,.79); border: 1px solid #ffffff33; backdrop-filter: blur(10px); }
.ticker { color: #b9d4cf; background: var(--deep); border-block: 1px solid #264146; overflow: hidden; }
.ticker .shell { display: flex; justify-content: space-between; gap: 15px; padding-block: 15px; font: 700 11px/1.6 Arial; letter-spacing: .13em; }
.ticker span { color: #ed8069; }
.section-pad { padding-block: 76px 24px; }
.section-heading { display: grid; grid-template-columns: 1fr auto; gap: 6px 25px; align-items: end; margin-bottom: 30px; }
.section-heading .eyebrow { grid-column: 1/-1; }
.section-heading h2 { margin: 0; font-size: clamp(27px,3vw,38px); }
.section-heading p { max-width: 460px; margin: 0; color: var(--muted); font-size: 14px; }
.featured-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; min-width: 0; }
.feature-large { position: relative; min-height: 530px; overflow: hidden; border-radius: var(--radius); color: white; background: #304c4e; }
.feature-large > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feature-large:after { content: ''; position: absolute; inset: 20% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.82)); }
.feature-overlay { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 28px; display: grid; gap: 12px; }
.feature-overlay small { font-size: 13px; }
.feature-overlay strong { font-size: clamp(27px,2.4vw,37px); line-height: 1.3; }
.feature-overlay span { font-size: 13px; }
.feature-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; min-width: 0; }
.feature-side a { min-width: 0; min-height: 0; display: grid; grid-template-columns: 42% 58%; background: white; border: 1px solid var(--line); overflow: hidden; border-radius: var(--radius); }
.feature-side img { width: 100%; height: 100%; object-fit: cover; }
.feature-side a > span { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 18px; gap: 9px; }
.feature-side small { font-size: 12px; color: var(--accent); }
.feature-side strong { font-size: 19px; line-height: 1.55; }
.research-band { margin-top: 84px; padding: 62px 0; color: #e4f0e9; background: var(--deep); }
.research-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 65px; }
.research-inner h2 { margin: 16px 0 0; font-size: clamp(28px,3vw,41px); }
.research-inner h2 em { color: #f1b196; font-style: normal; }
.research-inner p { color: #aec7c5; margin: 0; line-height: 2.05; }
.topic-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.topic-tile { min-width: 0; position: relative; height: 350px; overflow: hidden; border-radius: 5px; color: white; background: #243c42; }
.topic-tile:after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 10%,rgba(0,0,0,.88)); }
.topic-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.topic-tile:hover img { transform: scale(1.04); }
.topic-number { position: absolute; z-index: 1; top: 18px; left: 18px; font: 700 12px Arial; }
.topic-info { position: absolute; z-index: 1; bottom: 20px; left: 18px; right: 18px; display: grid; gap: 8px; }
.topic-info strong { font-size: 23px; }
.topic-info small { font-size: 12px; line-height: 1.7; color: #d6e2de; }
.topic-info b { font-size: 12px; color: #e7b197; }
.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.article-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.article-card:hover { border-color: #e4a69b; }
.card-image { display: block; overflow: hidden; aspect-ratio: 1.5; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.article-card:hover img { transform: scale(1.03); }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px; }
.card-body .eyebrow { font-size: 10px; line-height: 1.8; }
.card-body strong { font-size: 19px; line-height: 1.5; }
.card-link { margin-top: auto; padding-top: 17px; font-weight: 700; font-size: 12px; color: var(--teal); }
.card-link span { margin-left: 4px; }
.center-link { padding-top: 36px; text-align: center; }
.text-link { display: inline-block; border-bottom: 1px solid var(--accent); color: var(--accent); font-weight: 700; }
.closing-panel { display: grid; grid-template-columns: 1fr .85fr; gap: 30px; margin-block: 80px; background: #dfeae4; padding: 26px; border-radius: var(--radius); }
.closing-panel > div { padding: 35px 24px; }
.closing-panel h2 { font-size: clamp(27px,3vw,39px); margin: 18px 0; }
.closing-panel p { color: var(--muted); }
.closing-panel img { width: 100%; height: 360px; object-fit: cover; }
.site-footer { color: #d2dfdc; background: #0b1c21; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding-block: 48px 24px; }
.footer-inner strong { color: white; }
.footer-inner p { max-width: 600px; font-size: 13px; margin: 7px 0 0; color: #92aaa9; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: start; font-size: 13px; }
.copyright { border-top: 1px solid #274247; padding-block: 16px 25px; color: #739390; font-size: 12px; }
.inner-main { min-height: 60vh; }
.crumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-block: 25px; color: #69817d; font-size: 12px; }
.crumb a:hover { color: var(--accent); }
.category-banner { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 370px; overflow: hidden; background: var(--deep); color: white; }
.category-banner > div { padding: clamp(26px,5vw,65px); align-self: center; }
.category-banner h1 { margin: 14px 0; font-size: clamp(34px,4vw,57px); }
.category-banner p { color: #c7dcda; }
.category-banner .count { display: inline-block; font-size: 12px; color: #f3bd9e; }
.category-hero { width: 100%; height: 100%; object-fit: cover; max-height: 450px; }
.back-panel { padding: 35px; margin: 25px 0 70px; background: #e7eee8; }
.back-panel h2 { font-size: 25px; }
.back-panel p { color: var(--muted); }
.back-panel a { color: var(--teal); font-weight: 700; }
.story-layout { display: grid; grid-template-columns: minmax(0,1fr) 255px; gap: 50px; margin: 12px 0 65px; }
.story-main { min-width: 0; }
.story-heading { padding: 22px 0 10px; }
.story-heading h1 { font-size: clamp(31px,4vw,49px); margin: 15px 0; }
.lead { font-size: 18px; color: #637674; line-height: 1.9; }
.story-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; color: #82928f; font-size: 12px; margin: 22px 0; }
.story-cover { margin: 15px 0 35px; }
.story-cover img { width: 100%; max-height: 530px; object-fit: cover; aspect-ratio: 1.6; border-radius: 5px; }
.story-cover figcaption { text-align: center; margin-top: 10px; font-size: 12px; color: #798984; }
.article-prose { font-size: 16px; line-height: 2.15; }
.article-prose p { margin: 0 0 23px; }
.article-prose h2 { font-size: 25px; margin: 45px 0 18px; padding-left: 15px; border-left: 4px solid var(--accent); }
.article-prose h3 { font-size: 20px; margin: 29px 0 13px; }
.article-prose .opening { padding: 20px 24px; background: #e8eee9; color: #385855; }
.story-sidebar { padding-top: 25px; }
.sidebar-box { display: grid; gap: 12px; padding: 25px 21px; margin-bottom: 20px; border: 1px solid var(--line); background: white; }
.sidebar-box strong { font-size: 18px; }
.sidebar-box a { display: block; padding: 7px 0; font-size: 13px; border-bottom: 1px solid #e9eeeb; color: #56706d; }
.article-return { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 20px; color: var(--teal); font-weight: 700; }
.about-page { max-width: 860px; margin: 35px auto 90px; background: white; padding: clamp(25px,5vw,65px); }
.about-page h1 { font-size: clamp(30px,4vw,48px); }
.about-page h2 { margin: 40px 0 12px; font-size: 24px; }
.about-page p { color: #526c69; }
@media (max-width: 1050px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding-top: 13px; }
  .site-nav { overscroll-behavior-x: contain; }
  .site-nav { width: 100%; justify-content: flex-start; margin: 0; overflow-x: auto; padding: 12px 0; gap: 22px; scrollbar-width: thin; }
  .hero { gap: 22px; }
  .hero-visual { min-height: 440px; }
  .feature-side a { grid-template-columns: 43% 57%; }
  .feature-side strong { font-size: 16px; }
  .topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .shell { width: min(calc(100% - 30px),var(--shell)); }
  .hero { grid-template-columns: 1fr; padding-block: 35px 45px; }
  .hero h1 { font-size: clamp(28px,7vw,40px); }
  .hero-annotation { padding-top: 22px; }
  .hero-visual { min-height: 0; height: 350px; }
  .ticker .shell { overflow-x: auto; white-space: nowrap; justify-content: flex-start; }
  .section-pad { padding-block: 49px 12px; }
  .section-heading { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .feature-large { min-height: 390px; }
  .feature-side { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; }
  .feature-side a { grid-template-columns: 1fr; }
  .feature-side img { height: 155px; }
  .research-band { margin-top: 54px; }
  .research-inner { grid-template-columns: 1fr; gap: 20px; }
  .article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .closing-panel { grid-template-columns: 1fr; margin-block: 50px; }
  .closing-panel > div { padding: 15px 8px; }
  .closing-panel img { height: 280px; }
  .category-banner { grid-template-columns: 1fr; }
  .category-hero { height: 280px; }
  .story-layout { grid-template-columns: 1fr; gap: 0; }
  .story-sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
}
@media (max-width: 480px) {
  .hero-desc { font-size: 14px; }
  .header-inner { min-width: 0; }
  .brand-name { overflow-wrap: normal; }
  .hero-visual { height: 300px; }
  .hero-image-caption { inset: auto 12px 12px; }
  .feature-large { min-height: 340px; }
  .feature-overlay { inset: auto 20px 20px; }
  .feature-overlay strong { font-size: 27px; }
  .feature-side { grid-template-columns: 1fr; }
  .feature-side a { grid-template-columns: 43% 57%; }
  .feature-side img { height: 185px; }
  .topic-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .topic-tile { height: 250px; }
  .topic-info { left: 12px; right: 12px; bottom: 12px; }
  .topic-info strong { font-size: 18px; }
  .topic-info small { display: none; }
  .article-grid { grid-template-columns: 1fr; }
  .story-sidebar { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .story-meta { gap: 7px 12px; }
  .article-prose { font-size: 15px; }
  .article-prose h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
