/* MANQU DESIGN SYSTEM | Original magazine-inspired layout, 2026 */
:root {
  --paper:#fbf8f6;
  --white:#fff;
  --ink:#2e2639;
  --muted:#766b7d;
  --accent:#a44275;
  --rose:#f5dbe5;
  --lilac:#ece4fa;
  --line:#e9dfe9;
  --navy:#29223d;
  --shadow:0 16px 48px rgba(53,34,72,.07)
}

*,*::before,*::after {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:16px/1.8 system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif
}

img {
  max-width:100%;
  display:block
}

a {
  text-decoration:none;
  color:inherit
}

a:focus-visible {
  outline:3px solid #c26b92;
  outline-offset:4px
}

p {
  margin:0 0 1em
}

h1,h2,h3 {
  line-height:1.35;
  margin:0;
  font-family:"Noto Serif CJK SC","Songti SC",serif
}

h1 {
  font-size:clamp(2rem,4.8vw,4.1rem)
}

h2 {
  font-size:clamp(1.6rem,2.6vw,2.5rem)
}

h3 {
  font-size:1.22rem
}

.container {
  width:min(1180px,calc(100% - 44px));
  margin:auto
}

.site-header {
  background:rgba(255,252,251,.96);
  border-bottom:1px solid var(--line)
}

.header-inner {
  min-height:84px;
  display:flex;
  align-items:center;
  gap:38px
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:"Songti SC",serif;
  font-size:26px;
  font-weight:800;
  line-height:1.1;
  white-space:nowrap
}

.brand small {
  display:block;
  margin-top:7px;
  font-family:system-ui,sans-serif;
  color:var(--muted);
  font-size:8px;
  letter-spacing:.23em;
  font-weight:700
}

.brand-mark {
  width:45px;
  height:45px;
  background:#f4dfec;
  border:1px solid #e7baca;
  border-radius:14px;
  display:grid;
  place-items:center;
  color:var(--accent);
  font-size:27px
}

.main-nav {
  display:flex;
  align-items:center;
  gap:clamp(14px,2.3vw,32px);
  flex:1
}

.main-nav a {
  font-size:14px;
  font-weight:700;
  white-space:nowrap
}

.main-nav a:hover,.main-nav a[aria-current] {
  color:var(--accent)
}

.header-link {
  padding:9px 17px;
  border:1px solid #e2c9d7;
  border-radius:99px;
  font-size:13px;
  font-weight:700;
  color:var(--accent);
  white-space:nowrap
}

.skip {
  position:absolute;
  left:-9999px
}

.skip:focus {
  left:10px;
  top:10px;
  background:#fff;
  padding:12px;
  z-index:10
}

.eyebrow {
  text-transform:uppercase;
  letter-spacing:.22em;
  color:var(--accent);
  font-size:11px;
  font-weight:800
}

.section {
  padding:75px 0 15px
}

.section-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:30px
}

.section-head p {
  max-width:650px;
  color:var(--muted);
  margin:10px 0 0
}

.text-link {
  white-space:nowrap;
  border-bottom:1px solid var(--accent);
  padding-bottom:5px;
  color:var(--accent);
  font-size:14px;
  font-weight:700
}

.hero {
  padding:34px 0 0
}

.hero-grid {
  display:grid;
  grid-template-columns:1.01fr .99fr;
  min-height:530px;
  overflow:hidden;
  border-radius:28px;
  background:#29243e;
  color:#fff;
  box-shadow:var(--shadow)
}

.hero-copy {
  padding:clamp(38px,5.4vw,76px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:radial-gradient(circle at 20% 5%,#654966 0,transparent 48%),linear-gradient(145deg,#302840,#251e37)
}

.hero-copy .eyebrow {
  color:#f4c7d8
}

.hero-copy h1 {
  margin:22px 0 21px
}

.hero-copy h1 em {
  font-style:normal;
  color:#f6c9d7
}

.hero-copy p {
  color:#e3d9e8;
  max-width:470px;
  font-size:15px
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin-top:26px
}

.btn {
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:12px 24px;
  border-radius:99px;
  background:#e8adc7;
  color:#3b263c;
  font-weight:800;
  font-size:14px
}

.btn:hover {
  background:#f6cadc
}

.hero-actions .quiet {
  color:#f3dfe9;
  font-size:14px
}

.hero-image {
  position:relative;
  overflow:hidden
}

.hero-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:48% center
}

.hero-image:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(41,34,61,.28),transparent 45%)
}

.hero-tag {
  position:absolute;
  right:22px;
  bottom:23px;
  z-index:1;
  background:rgba(255,250,250,.92);
  padding:12px 18px;
  border-radius:12px;
  color:#7b3760;
  font-size:12px;
  font-weight:700
}

.ribbon {
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-top:26px;
  padding:17px 25px;
  border:1px solid #ebdce5;
  border-radius:16px;
  background:#fff
}

.ribbon span {
  font-size:13px;
  font-weight:700;
  color:#756075
}

.ribbon b {
  color:#a14a77;
  margin-right:8px
}

.editorial-grid {
  display:grid;
  grid-template-columns:1.1fr 1fr 1fr;
  gap:22px
}

.editorial-tile {
  display:block;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow)
}

.editorial-tile .visual {
  height:265px;
  overflow:hidden
}

.editorial-tile:first-child .visual {
  height:320px
}

.editorial-tile img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .3s
}

.editorial-tile:hover img,.story-card:hover img {
  transform:scale(1.04)
}

.editorial-tile .tile-content {
  padding:23px 25px
}

.editorial-tile h3 {
  margin:8px 0 11px
}

.editorial-tile p {
  font-size:14px;
  color:var(--muted);
  margin:0
}

.genre-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px
}

.genre-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:17px;
  min-height:175px;
  padding:26px 27px;
  transition:transform .2s,border-color .2s
}

.genre-card:hover {
  transform:translateY(-3px);
  border-color:#cf9eb6
}

.genre-card .symbol {
  float:right;
  font-family:serif;
  font-size:43px;
  color:#c37d9d;
  opacity:.8
}

.genre-card h3 {
  margin:8px 0
}

.genre-card p {
  font-size:13px;
  color:var(--muted);
  margin:0
}

.stories-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:25px 20px
}

.story-card {
  display:flex;
  flex-direction:column;
  background:#fff;
  padding:10px 10px 19px;
  border-radius:15px;
  border:1px solid var(--line);
  overflow:hidden;
  min-width:0
}

.story-card .art {
  aspect-ratio:4/4.8;
  overflow:hidden;
  border-radius:10px;
  background:#ecdde9
}

.story-card img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s
}

.story-meta {
  margin:16px 8px 6px;
  color:var(--accent);
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em
}

.story-card h3 {
  font-size:19px;
  margin:0 8px 8px
}

.story-card p {
  font-size:13px;
  line-height:1.75;
  color:var(--muted);
  margin:0 8px 16px;
  flex:1
}

.more {
  font-size:12px;
  color:var(--accent);
  font-weight:800;
  margin:0 8px
}

.duo {
  display:grid;
  grid-template-columns:1.06fr .94fr;
  gap:25px;
  align-items:stretch
}

.feature-panel {
  background:#efe6f1;
  overflow:hidden;
  border-radius:22px
}

.feature-panel img {
  width:100%;
  height:100%;
  min-height:390px;
  object-fit:cover
}

.notes-panel {
  padding:45px;
  background:#fff;
  border-radius:22px;
  border:1px solid var(--line)
}

.notes-panel p {
  color:var(--muted);
  margin-top:12px
}

.notes-list {
  display:grid;
  gap:12px;
  margin-top:25px
}

.notes-list a {
  display:block;
  border-top:1px solid var(--line);
  padding:13px 0;
  font-weight:700
}

.notes-list a span {
  display:block;
  font-size:11px;
  color:var(--accent);
  font-weight:600
}

.quote-banner {
  margin:74px 0 0;
  padding:55px 24px;
  text-align:center;
  background:#efe4ef
}

.quote-banner p {
  font-family:"Songti SC",serif;
  font-size:clamp(22px,3vw,34px);
  font-weight:700;
  max-width:900px;
  margin:0 auto
}

.quote-banner small {
  display:block;
  margin-top:12px;
  color:#977c94
}

.site-footer {
  margin-top:75px;
  background:#2d263c;
  color:#ebdfea;
  padding:62px 0 25px
}

.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:50px
}

.footer-grid>div {
  display:flex;
  flex-direction:column;
  align-items:start;
  gap:11px
}

.footer-brand {
  color:#fff
}

.footer-grid p {
  font-size:13px;
  color:#c7bbcf;
  max-width:370px;
  margin-top:10px
}

.footer-grid strong {
  margin-bottom:10px
}

.footer-grid a:not(.brand),.footer-grid span:not(.brand-mark) {
  font-size:13px
}

.footer-bottom {
  border-top:1px solid #53485e;
  display:flex;
  justify-content:space-between;
  gap:15px;
  margin-top:50px;
  padding-top:22px;
  color:#b9acc1;
  font-size:12px
}

.crumb {
  width:min(1180px,calc(100% - 44px));
  margin:26px auto 0;
  color:#8c7b8d;
  font-size:13px
}

.crumb a {
  color:var(--accent)
}

.crumb span {
  margin:0 7px
}

.page-intro {
  padding:51px 0 40px
}

.page-intro h1 {
  font-size:clamp(2.2rem,4vw,3.5rem);
  margin:12px 0 15px
}

.page-intro p {
  color:var(--muted);
  max-width:740px
}

.page-shell {
  min-height:55vh
}

.article-layout {
  display:grid;
  grid-template-columns:minmax(0,760px) minmax(230px,1fr);
  gap:45px
}

.article-main {
  background:#fff;
  padding:clamp(22px,4vw,56px);
  border:1px solid var(--line);
  border-radius:20px
}

.article-main h1 {
  font-size:clamp(27px,3.3vw,40px);
  margin:12px 0
}

.article-main .lead {
  font-size:17px;
  color:#6c5c72
}

.article-main img {
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  border-radius:13px;
  margin:28px 0
}

.article-main h2 {
  font-size:24px;
  margin:31px 0 15px
}

.article-main p {
  color:#554b5a;
  font-size:15px;
  line-height:2.12
}

.article-main .info {
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  color:#9a7790;
  font-size:12px;
  padding:8px 0 15px
}

.aside {
  align-self:start;
  position:sticky;
  top:25px;
  padding:28px;
  background:#f5edf4;
  border-radius:18px
}

.aside h2 {
  font-size:22px;
  margin-bottom:17px
}

.aside a {
  display:block;
  border-top:1px solid #e2d3e0;
  padding:13px 0;
  font-size:14px;
  font-weight:700
}

.aside p {
  font-size:13px;
  color:var(--muted)
}

.end-note {
  margin-top:27px;
  background:#f8f0f6;
  padding:22px;
  border-radius:12px;
  color:#775c70;
  font-size:13px
}

.about-box {
  background:#fff;
  border:1px solid var(--line);
  padding:35px;
  border-radius:19px;
  max-width:900px
}

.about-box h2 {
  font-size:24px;
  margin:20px 0 10px
}

.about-box p {
  color:var(--muted)
}

@media(max-width:1000px) {
  .header-inner {
    gap:20px
  }

  .main-nav {
    gap:14px
  }

  .main-nav a {
    font-size:12px
  }

  .hero-grid {
    min-height:470px
  }

  .editorial-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .stories-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }

  .genre-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

}

@media(max-width:700px) {
  .container {
    width:min(100% - 28px,1180px)
  }

  .header-inner {
    min-height:73px;
    flex-wrap:wrap;
    gap:8px;
    padding:13px 0
  }

  .brand {
    font-size:22px
  }

  .brand-mark {
    width:38px;
    height:38px
  }

  .main-nav {
    width:100%;
    order:3;
    overflow:auto;
    gap:21px;
    padding:8px 0 1px;
    scrollbar-width:thin
  }

  .main-nav a {
    font-size:13px
  }

  .header-link {
    margin-left:auto;
    font-size:11px;
    padding:7px 11px
  }

  .hero {
    padding-top:18px
  }

  .hero-grid {
    grid-template-columns:1fr
  }

  .hero-copy {
    padding:37px 28px 34px
  }

  .hero-copy h1 {
    margin:13px 0
  }

  .hero-image {
    height:300px
  }

  .ribbon {
    justify-content:flex-start
  }

  .section {
    padding:52px 0 5px
  }

  .section-head {
    display:block
  }

  .section-head .text-link {
    display:inline-block;
    margin-top:18px
  }

  .editorial-grid {
    grid-template-columns:1fr
  }

  .editorial-tile .visual,.editorial-tile:first-child .visual {
    height:240px
  }

  .genre-grid {
    grid-template-columns:1fr 1fr;
    gap:10px
  }

  .genre-card {
    padding:18px;
    min-height:165px
  }

  .genre-card .symbol {
    font-size:27px
  }

  .genre-card h3 {
    font-size:16px
  }

  .stories-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px
  }

  .story-card {
    padding:6px 6px 15px
  }

  .story-card h3 {
    font-size:16px
  }

  .story-card p {
    font-size:12px
  }

  .story-meta {
    font-size:10px
  }

  .duo {
    grid-template-columns:1fr
  }

  .feature-panel img {
    min-height:270px
  }

  .notes-panel {
    padding:25px
  }

  .article-layout {
    grid-template-columns:1fr;
    gap:22px
  }

  .aside {
    position:static
  }

  .footer-grid {
    grid-template-columns:1fr 1fr;
    gap:30px
  }

  .footer-grid>div:first-child {
    grid-column:span 2
  }

  .footer-bottom {
    display:block
  }

  .footer-bottom span {
    display:block;
    margin-top:7px
  }

  .quote-banner {
    margin-top:50px
  }

}

@media(max-width:370px) {
  .genre-grid {
    grid-template-columns:1fr
  }

  .stories-grid {
    grid-template-columns:1fr 1fr
  }

  .hero-image {
    height:240px
  }

}

/* HOMEPAGE REFINEMENT | predictable grid sizing and responsive cards */
@media (min-width: 1001px) {
  .hero-grid { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
  .editorial-grid { grid-template-columns: 1.15fr 1fr 1fr; align-items: stretch; }
}
.hero-grid > *, .editorial-grid > *, .stories-grid > *, .duo > * { min-width: 0; }
.hero-copy h1 { overflow-wrap: anywhere; text-wrap: balance; }
.section-head h2 { text-wrap: balance; }
.editorial-tile, .story-card, .genre-card { contain: layout; }
.editorial-tile .visual { height: 245px; }
.editorial-tile:first-child .visual { height: 295px; }
.editorial-tile img, .story-card img { object-position: center; }
.story-card .art { aspect-ratio: 4 / 5; }
.story-card h3 { overflow-wrap: anywhere; }
.main-nav { min-width: 0; }
@media (max-width: 1000px) and (min-width: 701px) {
  .header-inner { flex-wrap: wrap; padding: 16px 0; }
  .main-nav { order: 3; flex-basis: 100%; justify-content: space-between; }
  .editorial-grid > :first-child { grid-row: span 2; }
  .editorial-grid > :first-child .visual { height: 340px; }
}
@media (max-width: 700px) {
  body { overflow-x: hidden; }
  .header-inner { align-items: center; }
  .main-nav { scrollbar-width: thin; }
  .hero-grid { min-height: 0; border-radius: 20px; }
  .hero-copy { padding: 34px 25px; }
  .hero-copy h1 { font-size: clamp(30px, 8vw, 42px); }
  .hero-image { height: 245px; }
  .ribbon { padding: 15px; gap: 10px 20px; }
  .editorial-grid > :first-child .visual,
  .editorial-tile .visual { height: 230px; }
  .story-card .art { aspect-ratio: 4 / 5; }
  .footer-grid { gap: 25px; }
}
@media (max-width: 390px) {
  .genre-grid { grid-template-columns: 1fr; }
  .hero-actions { gap: 12px; }
  .story-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
