/*
 * WaWaW — editorial portfolio layer
 * This file intentionally overrides the LoliMeow presentation without
 * changing its content model or WordPress functionality.
 */

:root,
[data-bs-theme="light"] {
  --wawaw-bg: #f2f0e9;
  --wawaw-paper: #fcfbf7;
  --wawaw-ink: #171714;
  --wawaw-muted: #706f68;
  --wawaw-line: rgba(23, 23, 20, 0.18);
  --wawaw-accent: #e8522f;
  --wawaw-lime: #d7f23e;
}

[data-bs-theme="dark"] {
  --wawaw-bg: #151513;
  --wawaw-paper: #1d1d1a;
  --wawaw-ink: #f1efe8;
  --wawaw-muted: #aaa89f;
  --wawaw-line: rgba(241, 239, 232, 0.2);
  --wawaw-accent: #ff6945;
  --wawaw-lime: #d7f23e;
}

html { scroll-behavior: smooth; }
body {
  background: var(--wawaw-bg);
  color: var(--wawaw-ink);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::selection { background: var(--wawaw-lime); color: #171714; }

/* Navigation */
.boxmoe_header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: transparent !important;
  border-bottom: 0;
  box-shadow: none !important;
}
.boxmoe_header .navbar {
  min-height: 92px;
  padding: 0;
  transition: min-height .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease, top .3s ease;
}
.boxmoe_header .container { max-width: 1440px; padding-inline: clamp(22px, 4vw, 64px); }
.boxmoe_header .navbar-brand {
  color: #fff !important;
  font: 700 clamp(1.4rem, 2vw, 1.75rem)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -0.04em;
  transition: color .25s ease;
}
.boxmoe_header .navbar-nav { gap: 1.6rem; }
.boxmoe_header .navbar-nav .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.8rem 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  transition: color .25s ease;
}
.boxmoe_header .navbar-nav .nav-link::before { display: none !important; }
.boxmoe_header .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: .45rem;
  height: 2px;
  border-radius: 2px;
  background: var(--wawaw-lime);
  transition: right .28s cubic-bezier(.2,.7,.2,1);
}
.boxmoe_header .navbar-nav .nav-link:hover,
.boxmoe_header .navbar-nav .current-menu-item > .nav-link {
  color: #fff !important;
}
.boxmoe_header .navbar-nav .nav-link:hover::after,
.boxmoe_header .navbar-nav .current-menu-item > .nav-link::after { right: 0; }
.boxmoe_header .float-btn,
.boxmoe_header .search-btn,
.boxmoe_header .mobile-search-btn,
.boxmoe_header .mobile-user-btn { color: #fff !important; }
.boxmoe_header .search-btn i,
.boxmoe_header .float-btn i,
.boxmoe_header .mobile-search-btn i,
.boxmoe_header .mobile-user-btn i { color: inherit !important; }

/* Floating navigation after scrolling */
.boxmoe_header .navbar.scrolled,
.boxmoe_header .navbar.scrolled.boxed {
  top: 12px;
  left: 16px;
  right: 16px;
  width: auto;
  min-height: 66px;
  max-width: 1320px;
  margin-inline: auto !important;
  padding: 0;
  border: 1px solid rgba(23, 23, 20, .1) !important;
  border-radius: 18px;
  background: rgba(252, 251, 247, .9) !important;
  box-shadow: 0 14px 40px rgba(23, 23, 20, .12) !important;
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  animation: none;
}
.boxmoe_header .navbar.scrolled .container { padding-inline: clamp(20px, 3vw, 42px); }
.boxmoe_header .navbar.scrolled .navbar-brand,
.boxmoe_header .navbar.scrolled .navbar-nav .nav-link,
.boxmoe_header .navbar.scrolled .float-btn,
.boxmoe_header .navbar.scrolled .search-btn,
.boxmoe_header .navbar.scrolled .mobile-search-btn,
.boxmoe_header .navbar.scrolled .mobile-user-btn { color: #171714 !important; }
.boxmoe_header .navbar.scrolled .navbar-nav .nav-link::after { background: var(--wawaw-accent); }
.boxmoe_header .navbar.scrolled .navbar-nav .nav-link:hover,
.boxmoe_header .navbar.scrolled .navbar-nav .current-menu-item > .nav-link { color: #171714 !important; }

[data-bs-theme="dark"] .boxmoe_header .navbar.scrolled,
[data-bs-theme="dark"] .boxmoe_header .navbar.scrolled.boxed {
  border-color: rgba(255, 255, 255, .12) !important;
  background: rgba(18, 18, 16, .9) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .28) !important;
}
[data-bs-theme="dark"] .boxmoe_header .navbar.scrolled .navbar-brand,
[data-bs-theme="dark"] .boxmoe_header .navbar.scrolled .navbar-nav .nav-link,
[data-bs-theme="dark"] .boxmoe_header .navbar.scrolled .float-btn,
[data-bs-theme="dark"] .boxmoe_header .navbar.scrolled .search-btn,
[data-bs-theme="dark"] .boxmoe_header .navbar.scrolled .mobile-search-btn,
[data-bs-theme="dark"] .boxmoe_header .navbar.scrolled .mobile-user-btn { color: #f2f0e9 !important; }

/* Hero */
.home .boxmoe_header_banner { height: min(900px, 92vh) !important; background: #1a1917; }
.boxmoe_header_banner { min-height: 430px; }
.boxmoe_header_banner_img::before {
  height: 38%;
  background: linear-gradient(to bottom, rgba(0,0,0,.62), transparent) !important;
}
.boxmoe_header_banner_img::after {
  background:
    linear-gradient(90deg, rgba(8,8,8,.72) 0%, rgba(8,8,8,.2) 54%, rgba(8,8,8,.08) 100%),
    linear-gradient(0deg, rgba(8,8,8,.45), transparent 45%) !important;
}
.home .boxmoe_header_banner_img img { object-position: 50% 46%; transform: scale(1.01); }
.boxmoe_header_banner_waves { display: none; }
.boxmoe_header_banner .site-main.designer-hero-copy {
  top: auto;
  bottom: clamp(54px, 8vh, 92px);
  left: 50%;
  width: min(1440px, 100%);
  padding-inline: clamp(22px, 4vw, 64px);
  transform: translateX(-50%) !important;
  text-align: left;
  color: #fff;
}
.designer-kicker {
  margin: 0 0 1.5rem;
  color: rgba(255,255,255,.78);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .19em;
}
.designer-kicker span { color: var(--wawaw-lime); margin: 0 .45rem; }
.designer-hero-copy h1 {
  max-width: 1050px;
  margin: 0;
  color: #fff !important;
  font-size: clamp(3.5rem, 8.5vw, 8.8rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.designer-hero-copy h1 em {
  color: var(--wawaw-lime);
  font-family: Georgia, "Songti SC", serif;
  font-weight: 400;
}
.designer-hero-intro { margin: 1.8rem 0 0; color: rgba(255,255,255,.78); font-size: .88rem; letter-spacing: .05em; }
.designer-hero-link {
  position: absolute;
  right: clamp(22px, 4vw, 64px);
  bottom: 0;
  width: 132px;
  height: 132px;
  display: grid;
  place-content: center;
  gap: .55rem;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  color: #fff !important;
  text-align: center;
  font-size: .7rem;
  font-weight: 700;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.designer-hero-link b { font-size: 1.4rem; font-weight: 400; }
.designer-hero-link:hover { transform: rotate(-7deg); background: var(--wawaw-lime); color: #171714 !important; border-color: var(--wawaw-lime); }

/* Home content */
.boxmoe-container.container { max-width: 1440px; padding: clamp(72px, 9vw, 130px) clamp(22px, 4vw, 64px); }
.home .breadcrumb-head { display: none; }
.designer-section-head {
  margin-bottom: clamp(52px, 7vw, 88px);
  padding-top: 1rem;
  border-top: 1px solid var(--wawaw-ink);
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: end;
}
.designer-section-head span,
.designer-manifesto-number { font-size: .65rem; font-weight: 700; letter-spacing: .16em; }
.designer-section-head h2 {
  margin: .65rem 0 0;
  color: var(--wawaw-ink);
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  font-weight: 750;
  letter-spacing: -.055em;
}
.designer-section-head > p { max-width: 340px; margin: 0; color: var(--wawaw-muted); font-size: .78rem; line-height: 1.8; }
.home .boxmoe-container > .row { margin: 0; }
.home .blog-post {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 7vw, 100px) clamp(24px, 3vw, 48px);
}
.home .blog-post > .post-list {
  margin: 0;
  padding: 0;
  display: block;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.home .blog-post > .post-list:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, .72fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding-bottom: clamp(55px, 7vw, 100px);
  border-bottom: 1px solid var(--wawaw-line) !important;
}
.home .list-one .post-list-img,
.home .list-one .post-list-content { width: 100%; padding: 0; }
.home .list-one .post-list-img figure { overflow: hidden; border-radius: 0; background: #d8d5cc; }
.home .list-one .post-list-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0 !important;
  filter: saturate(.88) contrast(1.03);
  transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.home .blog-post > .post-list:not(:first-child) .post-list-img img { aspect-ratio: 16 / 10; }
.home .post-list:hover .post-list-img img { transform: scale(1.025); filter: saturate(1) contrast(1.03); }
.home .post-list-content { padding-top: 1.4rem !important; }
.home .blog-post > .post-list:first-child .post-list-content { padding-top: 0 !important; }
.home .post-list .category a {
  color: var(--wawaw-accent) !important;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.home .post-list .category .fa { display: none; }
.home .post-title { margin: .9rem 0 1rem !important; }
.home .post-title a {
  color: var(--wawaw-ink) !important;
  font-size: clamp(1.55rem, 2.5vw, 2.9rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.045em;
  background-image: none !important;
}
.home .blog-post > .post-list:first-child .post-title a { font-size: clamp(2rem, 4vw, 4.4rem); }
.home .post-content { color: var(--wawaw-muted); font-size: .83rem; line-height: 1.8; }
.home .post-meta { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--wawaw-line); }
.home .post-list-avatar { display: none; }
.home .post-meta-info { width: 100%; display: flex; flex-direction: row-reverse; justify-content: space-between; color: var(--wawaw-muted); font-size: .64rem; letter-spacing: .04em; }
.home .post-meta-stats { display: flex; gap: 1rem; }
.home .post-meta-stats i,
.home .list-post-author i { color: var(--wawaw-accent); }
.home .pagenav { grid-column: 1 / -1; }

/* Manifesto */
.designer-manifesto {
  padding: clamp(78px, 10vw, 150px) clamp(22px, 4vw, 64px);
  display: grid;
  grid-template-columns: .45fr 1.55fr;
  gap: 5vw;
  background: #121210;
  color: #f2f0e9;
}
.designer-manifesto-number { color: var(--wawaw-lime); }
.designer-manifesto h2 {
  max-width: 1050px;
  margin: 0;
  color: #f2f0e9;
  font-size: clamp(2.6rem, 5.7vw, 6.8rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.065em;
}
.designer-manifesto h2 em { color: var(--wawaw-lime); font-family: Georgia, "Songti SC", serif; font-weight: 400; }
.designer-manifesto-foot {
  margin-top: clamp(60px, 8vw, 110px);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.25);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
}
.designer-manifesto-foot p { max-width: 500px; margin: 0; color: rgba(242,240,233,.62); font-size: .84rem; line-height: 1.85; }
.designer-manifesto-foot a { color: #f2f0e9 !important; font-size: .72rem; font-weight: 700; padding-bottom: .4rem; border-bottom: 1px solid currentColor; }
.designer-manifesto-foot a span { margin-left: 1.2rem; }

/* Footer */
footer.mt-7 { margin-top: 0 !important; padding: 2.2rem clamp(22px, 4vw, 64px); background: #121210; color: #f2f0e9; }
footer.mt-7 .container { max-width: 1440px; padding: 0; }
footer.mt-7 .horizontal { border-color: rgba(255,255,255,.2) !important; }
footer.mt-7 a { color: #f2f0e9 !important; }
footer.mt-7 p, footer.mt-7 span { color: rgba(242,240,233,.6) !important; }

/* Inner pages */
body:not(.home) .boxmoe_header_banner { height: 44vh !important; max-height: 540px; }
body:not(.home) .boxmoe-container.container { padding-top: clamp(52px, 7vw, 90px); }

a:focus-visible, button:focus-visible { outline: 3px solid var(--wawaw-lime) !important; outline-offset: 4px; }

@media (max-width: 991px) {
  .boxmoe_header .navbar { min-height: 76px; }
  .boxmoe_header .navbar-toggler {
    width: 42px;
    height: 42px;
    border: 0 !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09) !important;
  }
  .boxmoe_header .navbar-toggler-bar { background: #fff !important; }
  .boxmoe_header .navbar.scrolled,
  .boxmoe_header .navbar.scrolled.boxed { top: 8px; left: 10px; right: 10px; min-height: 62px; border-radius: 15px; }
  .boxmoe_header .navbar.scrolled .navbar-toggler { background: rgba(23, 23, 20, .06) !important; }
  .boxmoe_header .navbar.scrolled .navbar-toggler-bar { background: #171714 !important; }
  [data-bs-theme="dark"] .boxmoe_header .navbar.scrolled .navbar-toggler { background: rgba(255, 255, 255, .08) !important; }
  [data-bs-theme="dark"] .boxmoe_header .navbar.scrolled .navbar-toggler-bar { background: #f2f0e9 !important; }
  .boxmoe_header .navbar-brand { margin-left: auto; }
  .designer-hero-link { width: 104px; height: 104px; }
  .home .blog-post > .post-list:first-child { grid-template-columns: 1fr; }
  .home .blog-post > .post-list:first-child .post-list-content { padding-top: 1.4rem !important; }
  .designer-manifesto { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .home .boxmoe_header_banner { height: 82vh !important; min-height: 620px; }
  .home .boxmoe_header_banner_img img { object-position: 56% 50%; }
  .designer-hero-copy h1 { font-size: clamp(3.2rem, 15vw, 5.4rem); }
  .designer-hero-intro { max-width: 230px; }
  .designer-hero-link { width: 82px; height: 82px; right: 20px; font-size: .6rem; }
  .designer-section-head { display: block; }
  .designer-section-head > p { margin-top: 1.5rem; }
  .home .blog-post { grid-template-columns: 1fr; }
  .home .blog-post > .post-list:first-child { grid-column: auto; padding-bottom: 55px; }
  .home .post-title a,
  .home .blog-post > .post-list:first-child .post-title a { font-size: clamp(1.7rem, 8vw, 2.5rem); }
  .designer-manifesto-foot { display: block; }
  .designer-manifesto-foot a { display: inline-block; margin-top: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
