/* ==========================================================
  糖心vlog · THE LITTLE DAYS JOURNAL
  Original responsive editorial layout · 2026
  CSS sections: Tokens / Base / Header / Hero / Content / Inner / Mobile
========================================================== */
:root {
  --ink:#292a26;
  --muted:#77786d;
  --cream:#faf9f5;
  --paper:#fffefa;
  --green:#577268;
  --green-dark:#334b42;
  --peach:#ebaf92;
  --line:#e7e5dd;
  --radius:15px;
  --shell:1190px
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:var(--cream);
  font:16px/1.75 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--ink);
  -webkit-font-smoothing:antialiased
}

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

a:hover {
  color:var(--green-dark)
}

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

h1,h2,h3,p,figure {
  margin-top:0
}

h1,h2,h3 {
  line-height:1.32
}

button,a {
  -webkit-tap-highlight-color:transparent
}

a:focus-visible {
  outline:3px solid var(--green);
  outline-offset:4px
}

.shell {
  width:min(calc(100% - 56px),var(--shell));
  margin:auto
}

.skip-link {
  position:absolute;
  top:-100px;
  left:16px;
  background:white;
  padding:10px;
  z-index:99
}

.skip-link:focus {
  top:8px
}

.serif {
  font-family:Georgia,"Songti SC",serif;
  font-weight:400;
  font-style:italic;
  color:var(--green)
}

/* 01. Top navigation */
.site-header {
  background:var(--cream);
  position:relative;
  z-index:10;
  border-bottom:1px solid var(--line)
}

.header-inner {
  min-height:91px;
  display:flex;
  align-items:center;
  gap:32px;
  justify-content:space-between
}

.brand {
  display:inline-flex;
  gap:10px;
  align-items:center;
  white-space:nowrap;
  font-size:23px;
  line-height:1.1;
  font-weight:800;
  letter-spacing:-1px
}

.brand-mark {
  display:grid;
  place-items:center;
  width:43px;
  height:43px;
  border-radius:50%;
  background:#dfe8df;
  color:var(--green-dark);
  font-size:30px
}

.brand-light {
  font-weight:500;
  color:var(--green)
}

.brand small {
  display:block;
  margin-top:7px;
  font-size:9px;
  font-weight:600;
  letter-spacing:2.5px;
  color:#8e988b
}

.main-nav {
  display:flex;
  gap:27px;
  align-items:center;
  font-size:13px;
  font-weight:650
}

.main-nav a:hover {
  text-decoration:underline;
  text-underline-offset:8px
}

.header-action {
  font-size:12px;
  border:1px solid #cdd7ce;
  border-radius:40px;
  padding:10px 19px;
  white-space:nowrap
}

.header-action span {
  margin-left:10px
}

/* 02. Hero */
.hero {
  display:grid;
  grid-template-columns:49% 51%;
  padding-top:49px;
  padding-bottom:65px;
  min-height:630px;
  gap:18px
}

.hero-copy {
  padding:50px 22px 0 7px
}

.eyebrow,.section-num {
  font-size:10px;
  font-weight:750;
  letter-spacing:2px;
  color:var(--green);
  text-transform:uppercase
}

.eyebrow {
  display:flex;
  align-items:center;
  gap:9px
}

.eyebrow .dot {
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--peach)
}

.eyebrow .line {
  flex:1;
  height:1px;
  max-width:48px;
  background:#adbbb2
}

.hero-kicker {
  font-size:17px;
  color:#8f9789;
  margin:60px 0 18px;
  letter-spacing:4px
}

.hero h1 {
  font-weight:800;
  letter-spacing:-2px;
  font-size:clamp(40px,4.6vw,66px);
  line-height:1.34;
  margin:0 0 24px
}

.hero h1>span {
  color:var(--green)
}

.hero h1 .underlined {
  position:relative;
  color:var(--ink);
  white-space:nowrap
}

.underlined:after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:10px;
  bottom:0;
  background:#e1e9d8;
  z-index:-1
}

.hero-desc {
  font-size:14px;
  line-height:2;
  color:#6e756d;
  max-width:440px
}

.hero-cta {
  margin-top:31px;
  display:flex;
  align-items:center;
  gap:18px
}

.btn-solid {
  background:var(--green-dark);
  color:white;
  padding:12px 24px;
  border-radius:28px;
  font-size:13px
}

.btn-solid:hover {
  color:white;
  background:#263a33
}

.btn-solid span {
  padding-left:18px
}

.hero-cta>span {
  font-size:11px;
  color:#9c9f94
}

.hero-stats {
  display:flex;
  gap:37px;
  margin-top:70px
}

.hero-stats span {
  font-size:24px;
  font-family:Georgia,serif;
  color:var(--green-dark)
}

.hero-stats small {
  display:block;
  font:10px/1.8 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;
  color:#888d84
}

.hero-photo-wrap {
  position:relative;
  padding:0 24px 26px 15px
}

.hero-photo {
  height:100%;
  min-height:498px;
  overflow:hidden;
  border-radius:220px 220px 12px 12px
}

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

.hero-sticker {
  position:absolute;
  right:0;
  top:37%;
  background:#fffcf0;
  border:1px solid #e7ddca;
  border-radius:50%;
  width:136px;
  height:136px;
  transform:rotate(10deg);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  font-family:Georgia,serif;
  color:var(--green);
  box-shadow:0 15px 30px #2d38211c
}

.hero-sticker span {
  font-size:12px
}

.hero-sticker strong {
  font-size:25px;
  font-style:italic;
  line-height:1.4
}

.photo-caption {
  position:absolute;
  bottom:0;
  left:30px;
  right:28px;
  display:flex;
  justify-content:space-between;
  font-size:9px;
  letter-spacing:2px;
  color:#839085
}

/* 03. Marquee & chapter headings */
.marquee {
  background:#e8eee6;
  border-block:1px solid #dbe6da
}

.marquee-line {
  display:flex;
  justify-content:space-around;
  align-items:center;
  gap:12px;
  min-height:58px;
  color:#698376;
  font-size:10px;
  letter-spacing:2.5px;
  font-weight:750
}

.section {
  padding-top:95px;
  padding-bottom:20px
}

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

.section-heading h2 {
  font-size:clamp(27px,3vw,40px);
  letter-spacing:-1px;
  margin:12px 0 0
}

.section-heading>p {
  font-size:12px;
  line-height:2.1;
  color:#868b80;
  margin:0
}

.category-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px
}

.category-tile {
  position:relative;
  min-height:229px;
  padding:24px 22px;
  border-radius:12px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  transition:transform .25s
}

.category-tile:hover {
  transform:translateY(-5px)
}

.tile-0 {
  background:#dce9de
}

.tile-1 {
  background:#f1e0d4
}

.tile-2 {
  background:#f3e7be
}

.tile-3 {
  background:#e3e2f2
}

.category-number {
  font-size:10px;
  letter-spacing:2px;
  opacity:.65
}

.category-icon {
  font:36px Georgia,serif;
  align-self:flex-end;
  opacity:.65
}

.category-name {
  font-size:22px;
  font-weight:800;
  margin-top:auto
}

.category-line {
  font-size:11px;
  opacity:.7;
  margin-top:7px
}

.category-go {
  position:absolute;
  right:19px;
  bottom:21px;
  font-size:24px
}

/* 04. Journal cards */
.journal-section {
  padding-top:105px
}

.featured-grid,.story-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:38px 26px
}

.story-card {
  min-width:0
}

.story-image {
  display:block;
  position:relative;
  overflow:hidden;
  border-radius:10px;
  background:#d9e3db;
  aspect-ratio:1.35
}

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

.story-image:hover img {
  transform:scale(1.04)
}

.image-arrow {
  position:absolute;
  right:15px;
  bottom:15px;
  display:grid;
  place-items:center;
  background:white;
  border-radius:50%;
  width:33px;
  height:33px;
  font-size:15px
}

.story-meta {
  display:flex;
  justify-content:space-between;
  gap:8px;
  font-size:10px;
  color:var(--green);
  margin:18px 0 8px;
  letter-spacing:.5px
}

.story-meta span+span {
  color:#a4a49c
}

.story-card h3 {
  font-size:19px;
  line-height:1.5;
  margin:0 0 8px;
  letter-spacing:-.5px
}

.story-card p {
  color:#82847e;
  font-size:12px;
  line-height:1.9;
  margin:0
}

.pullquote {
  margin:75px auto 69px;
  text-align:center;
  padding:32px 20px 38px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  color:var(--green)
}

.pullquote>span {
  font:54px Georgia,serif;
  line-height:.6;
  color:#aebfa9
}

.pullquote p {
  font-size:27px;
  font-weight:750;
  line-height:1.7;
  margin:5px 0 12px
}

.pullquote p span {
  color:#98aa97
}

.pullquote small {
  font-size:10px;
  letter-spacing:2px
}

.story-grid {
  row-gap:49px
}

.feature-band {
  margin-top:115px;
  background:#e8eee6
}

.feature-inner {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px;
  align-items:center;
  padding:62px 0
}

.feature-image {
  height:390px;
  border-radius:150px 12px 12px 12px;
  overflow:hidden
}

.feature-image img {
  width:100%;
  height:100%;
  object-fit:cover
}

.feature-text h2 {
  font-size:38px;
  line-height:1.55;
  margin:20px 0
}

.feature-text h2 i {
  color:var(--green);
  font-family:Georgia,"Songti SC",serif;
  font-weight:400
}

.feature-text>p:not(.section-num) {
  font-size:13px;
  line-height:2.3;
  color:#697a6e;
  max-width:410px
}

.text-link {
  display:inline-block;
  margin-top:20px;
  font-size:13px;
  padding-bottom:7px;
  border-bottom:1px solid var(--green)
}

.text-link span {
  margin-left:26px
}

.about-blurb {
  padding-top:85px;
  padding-bottom:90px;
  max-width:940px;
  text-align:center
}

.about-blurb h2 {
  font-size:26px;
  margin:20px 0
}

.about-blurb>p:last-child {
  font-size:13px;
  line-height:2.4;
  color:#7d857d
}

/* 05. Footer */
.site-footer {
  background:#354d43;
  color:#f7f7ee
}

.footer-top {
  display:flex;
  justify-content:space-between;
  gap:50px;
  padding:55px 0 38px
}

.footer-logo {
  font-weight:800;
  font-size:25px;
  letter-spacing:1px;
  margin-bottom:8px
}

.footer-top p:not(.footer-logo) {
  font-size:12px;
  color:#cbd9ce
}

.footer-top nav {
  display:flex;
  gap:20px;
  align-items:center;
  flex-wrap:wrap;
  font-size:12px
}

.footer-top a:hover {
  color:white;
  text-decoration:underline
}

.footer-bottom {
  display:flex;
  justify-content:space-between;
  padding:19px 0 22px;
  border-top:1px solid #667e72;
  font-size:11px;
  color:#c6d3c7
}

/* 06. Category, Article & About pages */
.inner-main {
  min-height:60vh
}

.inner-heading {
  padding:62px 0 23px;
  border-bottom:1px solid var(--line)
}

.breadcrumbs {
  font-size:12px;
  color:#8a9087;
  margin-bottom:45px
}

.breadcrumbs a {
  text-decoration:underline;
  text-decoration-color:#b9cbbd;
  text-underline-offset:4px
}

.inner-heading h1 {
  font-size:clamp(35px,5vw,56px);
  margin:15px 0
}

.inner-heading>p:last-child {
  font-size:15px;
  color:#748076;
  max-width:700px;
  line-height:2
}

.back-link {
  margin:52px 0 40px;
  font-size:14px;
  color:var(--green)
}

.article-layout {
  display:grid;
  grid-template-columns:minmax(0,750px) 1fr;
  gap:80px;
  padding-top:57px;
  padding-bottom:105px
}

.article-main h1 {
  font-size:clamp(32px,4.5vw,48px);
  margin:15px 0 22px;
  line-height:1.45
}

.article-lead {
  font-size:17px;
  color:#748076;
  line-height:2;
  max-width:670px
}

.article-cover {
  margin:33px 0 43px
}

.article-cover img {
  width:100%;
  aspect-ratio:1.7;
  object-fit:cover;
  border-radius:12px
}

.article-cover figcaption {
  font-size:11px;
  color:#90968d;
  margin-top:10px
}

.article-body h2 {
  font-size:23px;
  line-height:1.6;
  margin:38px 0 12px
}

.article-body p {
  color:#626d64;
  font-size:15px;
  line-height:2.25;
  margin-bottom:20px
}

.article-note {
  background:#e7efe8;
  padding:16px 20px;
  border-radius:8px;
  font-size:12px;
  color:#65796a;
  margin-top:38px
}

.article-side {
  padding-top:120px
}

.aside-block {
  position:sticky;
  top:28px;
  border-top:2px solid #789485;
  padding-top:20px
}

.aside-block h2 {
  font-size:22px
}

.aside-link {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:17px 0;
  border-bottom:1px solid var(--line);
  font-size:13px
}

.prose-section {
  max-width:840px;
  padding:45px 0 100px
}

.prose-section h2 {
  margin:40px 0 14px
}

.prose-section p {
  color:#667269;
  line-height:2.3
}

/* 07. Responsive */
@media(max-width:1100px) {
  .main-nav {
  gap:16px
}

.header-action {
  display:none
}

.hero h1 {
  font-size:49px
}

.hero-stats {
  margin-top:44px
}

.feature-inner {
  gap:48px
}

.article-layout {
  gap:38px
}

}

@media(max-width:800px) {
  .shell {
  width:min(calc(100% - 36px),var(--shell))
}

.header-inner {
  min-height:77px;
  flex-wrap:wrap;
  gap:10px;
  padding:14px 0
}

.brand {
  font-size:20px
}

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

.main-nav {
  order:3;
  width:100%;
  overflow-x:auto;
  padding:9px 0 3px;
  gap:23px;
  white-space:nowrap;
  scrollbar-width:none
}

.main-nav::-webkit-scrollbar {
  display:none
}

.hero {
  grid-template-columns:1fr;
  padding-top:25px;
  min-height:0;
  gap:28px
}

.hero-copy {
  padding:10px 0 0
}

.hero-kicker {
  margin-top:40px
}

.hero h1 {
  font-size:clamp(38px,8vw,58px)
}

.hero-stats {
  margin-top:34px
}

.hero-photo-wrap {
  padding:0 18px 24px 0;
  height:440px
}

.hero-photo {
  min-height:0;
  height:100%
}

.hero-sticker {
  right:0;
  width:115px;
  height:115px
}

.marquee-line {
  flex-wrap:wrap;
  padding:14px 0;
  min-height:0
}

.marquee-line span:nth-of-type(5) {
  display:none
}

.section {
  padding-top:67px
}

.category-grid {
  grid-template-columns:repeat(2,1fr)
}

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

.section-heading {
  align-items:start
}

.feature-inner {
  gap:30px
}

.feature-text h2 {
  font-size:30px
}

.article-layout {
  grid-template-columns:1fr;
  padding-top:34px
}

.article-side {
  padding-top:5px
}

.aside-block {
  position:static
}

.footer-top {
  flex-direction:column;
  gap:10px
}

}

@media(max-width:530px) {
  .hero h1 {
  font-size:39px
}

.hero-desc {
  font-size:13px
}

.hero-cta>span {
  display:none
}

.hero-stats {
  gap:24px
}

.hero-photo-wrap {
  height:350px
}

.hero-sticker {
  right:0;
  top:30%
}

.hero-photo {
  border-radius:150px 150px 12px 12px
}

.section-heading {
  display:block
}

.section-heading>p {
  margin-top:12px
}

.category-grid {
  gap:11px
}

.category-tile {
  min-height:188px;
  padding:18px 14px
}

.category-icon {
  font-size:28px
}

.category-name {
  font-size:18px
}

.category-line {
  font-size:10px
}

.featured-grid,.story-grid {
  grid-template-columns:1fr;
  gap:29px
}

.story-image {
  aspect-ratio:1.55
}

.pullquote {
  margin:48px auto
}

.pullquote p {
  font-size:20px
}

.feature-band {
  margin-top:66px
}

.feature-inner {
  grid-template-columns:1fr;
  gap:25px;
  padding:35px 0
}

.feature-image {
  height:260px
}

.feature-text h2 {
  font-size:28px
}

.about-blurb {
  padding-bottom:65px
}

.footer-bottom {
  display:block
}

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

.inner-heading {
  padding-top:36px
}

.article-main h1 {
  font-size:31px
}

.article-body h2 {
  font-size:21px
}

.article-body p {
  font-size:14px
}

}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
  scroll-behavior:auto!important;
  transition:none!important
}

}

