/* --------------------------------------------------------------------------
   爱爱网 / Relationship Notes. Original editorial design system.
   Semantic HTML, no CSS frameworks, mobile-first refinements.
   -------------------------------------------------------------------------- */
:root {
  --paper: #f9f4f0;
  --cream: #fdfbf8;
  --ink: #302f31;
  --muted: #766f70;
  --rose: #995c63;
  --rose-dark: #73424a;
  --line: #e8ded8;
  --sage: #dfe8df;
  --plum: #382c37;
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

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

a:hover {
  color: var(--rose-dark);
}

a:focus-visible, button:focus-visible {
  outline: 3px solid #b37c82;
  outline-offset: 4px;
}

button {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

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

.skip-link:focus {
  top: 10px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .73rem;
  letter-spacing: .16em;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--rose);
}

.kicker-line {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-shell {
  max-width: 1380px;
  padding: 17px 32px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.1;
  flex-shrink: 0;
}

.brand small {
  display: block;
  padding-top: 5px;
  font-family: Georgia, serif;
  font-size: .49rem;
  letter-spacing: .18em;
  font-weight: 500;
  color: var(--muted);
}

.brand-mark {
  display: grid;
  place-items: center;
  background: #aa7078;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 43% 43%;
  font-size: 1.5rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 31px);
}

.primary-nav a {
  font-size: .86rem;
  white-space: nowrap;
  font-weight: 640;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 12px;
  padding: 7px 14px;
  cursor: pointer;
}

.hero {
  padding-top: 69px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4.2vw, 4.05rem);
  letter-spacing: -.05em;
  line-height: 1.28;
  margin: 24px 0;
  font-weight: 800;
}

.hero-text h1 em {
  font-style: normal;
  color: var(--rose);
}

.hero-desc {
  color: #6a6364;
  max-width: 520px;
  line-height: 2;
  font-size: 1.02rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  min-height: 49px;
  padding: 11px 21px;
  font-weight: 700;
  font-size: .88rem;
  border-radius: 999px;
}

.btn-dark {
  background: var(--plum);
  color: white;
}

.btn-dark:hover {
  background: var(--rose-dark);
  color: white;
}

.btn-plain {
  background: transparent;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: .75rem;
  margin-top: 84px;
  color: var(--muted);
}

.hero-note span:first-child {
  color: var(--rose);
  font-weight: 800;
}

.line-decoration {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.hero-visual {
  position: relative;
  padding: 0 0 22px 28px;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 78%;
  height: 93%;
  left: 0;
  top: 22px;
  border-radius: 230px 230px 12px 12px;
  background: #e9d1cb;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: 230px 230px 9px 9px;
  aspect-ratio: 4/4.8;
  background: #ead3cb;
}

.hero-photo img {
  height: 100%;
}

.hero-stamp {
  position: absolute;
  left: -20px;
  bottom: 62px;
  padding: 18px 26px;
  width: 176px;
  height: 176px;
  border-radius: 50%;
  display: grid;
  align-content: center;
  justify-content: center;
  line-height: 1.5;
  transform: rotate(-9deg);
  background: #f2e8de;
  border: 1px solid #dcc9bf;
  color: var(--rose-dark);
  text-align: center;
  font-size: .86rem;
  box-shadow: 0 10px 40px #4b303012;
}

.hero-stamp strong {
  font-size: 1.2rem;
  line-height: 1.35;
}

.hero-photo-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  letter-spacing: .16em;
  font-size: .62rem;
  color: var(--muted);
}

.section {
  padding-top: 76px;
  padding-bottom: 76px;
}

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

.section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
  letter-spacing: -.035em;
  line-height: 1.4;
}

.section-head p {
  color: var(--muted);
  max-width: 265px;
  margin: 0 0 5px;
  font-size: .9rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid #e8dad2;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
}

.pillar {
  display: grid;
  align-content: start;
  min-height: 246px;
  padding: 27px 23px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .2s ease;
}

.pillar:last-child {
  border-right: none;
}

.pillar:hover {
  background: #f1e4de;
}

.pillar-no {
  font-family: Georgia, serif;
  color: #b38b90;
  font-size: 1.65rem;
}

.pillar strong {
  font-size: 1.1rem;
  margin: 24px 0 10px;
}

.pillar > span:nth-of-type(2) {
  font-size: .8rem;
  line-height: 1.6;
  color: var(--muted);
}

.pillar-arrow {
  position: absolute;
  bottom: 20px;
  right: 22px;
  font-size: 1.2rem;
  color: var(--rose);
}

.feature-band {
  margin-top: 48px;
  background: #e8e6de;
}

.feature-layout {
  min-height: 470px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
}

.feature-image {
  height: 470px;
  align-self: stretch;
  overflow: hidden;
}

.feature-image img {
  height: 100%;
}

.feature-copy {
  padding: 45px 0;
  max-width: 480px;
}

.feature-copy h2 {
  font-size: clamp(1.9rem, 3.1vw, 3.15rem);
  line-height: 1.35;
  letter-spacing: -.055em;
}

.feature-copy p {
  color: #5d5959;
  line-height: 2;
}

.inline-button {
  display: inline-block;
  margin-top: 24px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 8px;
  font-weight: 720;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 44px;
}

.story-card {
  min-width: 0;
}

.story-cover {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #e7d6d1;
  aspect-ratio: 1.35/1;
}

.story-cover img {
  height: 100%;
  transition: transform .3s ease;
}

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

.story-info {
  padding: 17px 4px 0;
}

.eyebrow {
  font-size: .74rem;
  letter-spacing: .09em;
  color: var(--rose);
}

.story-info h3 {
  font-size: 1.14rem;
  line-height: 1.55;
  margin: 7px 0 8px;
}

.story-info p {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.85;
  margin: 0 0 10px;
}

.text-link, .head-link {
  color: var(--rose-dark);
  font-weight: 720;
  font-size: .84rem;
}

.reflection {
  margin-top: 42px;
  margin-bottom: 25px;
  background: #f0dfda;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  overflow: hidden;
}

.reflection-copy {
  padding: clamp(30px, 6vw, 80px);
  align-self: center;
}

.reflection-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.9rem);
  line-height: 1.4;
  letter-spacing: -.04em;
  margin: 17px 0;
}

.reflection-copy p {
  max-width: 510px;
  line-height: 2;
  color: #6c5a5c;
  margin-bottom: 24px;
}

.reflection-photo {
  min-height: 350px;
}

.reflection-photo img {
  height: 100%;
}

.reading-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.reading-list li {
  display: grid;
  grid-template-columns: 60px 1fr 110px;
  gap: 20px;
  padding: 23px 10px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.reading-list li > span {
  font-family: Georgia,serif;
  color: var(--rose);
  font-size: 1.4rem;
}

.reading-list a {
  font-weight: 720;
  line-height: 1.55;
}

.reading-list small {
  color: var(--muted);
  font-size: .79rem;
  text-align: right;
}

.editor-note {
  border-top: 1px solid var(--line);
  margin-bottom: 85px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: .32fr 1fr;
  gap: 40px;
}

.editor-note h2 {
  font-size: 1.85rem;
  line-height: 1.5;
  margin: 0;
}

.editor-note p {
  max-width: 750px;
  color: var(--muted);
}

.site-footer {
  background: #312a30;
  color: #fdf7f1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  padding-top: 65px;
  padding-bottom: 58px;
}

.footer-top p {
  max-width: 400px;
  color: #d6c7c7;
  line-height: 1.85;
}

.brand-footer small {
  color: #cfc1c4;
}

.footer-top nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px,1fr));
  gap: 14px 48px;
  align-content: center;
  font-size: .86rem;
}

.footer-bottom {
  padding: 19px 0;
  border-top: 1px solid #544850;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: .73rem;
  color: #d1c5c7;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .8rem;
  padding-bottom: 38px;
}

.inner-hero {
  padding-top: 42px;
  padding-bottom: 75px;
}

.inner-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 55px;
  align-items: center;
}

.inner-hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  letter-spacing: -.04em;
  line-height: 1.35;
  margin: 22px 0;
}

.inner-hero p {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--muted);
  max-width: 620px;
}

.inner-cover {
  border-radius: 22px;
  overflow: hidden;
  max-height: 365px;
}

.inner-cover img {
  aspect-ratio: 1.25;
}

.inner-hero .btn {
  margin-top: 24px;
}

.more-links {
  margin: 0;
  padding: 24px 30px;
  background: var(--cream);
  border-radius: 18px;
  line-height: 2.5;
}

.article-hero {
  max-width: 930px;
  padding-top: 42px;
}

.article-hero h1 {
  font-size: clamp(2rem, 3.9vw, 3.7rem);
  letter-spacing: -.045em;
  line-height: 1.33;
  margin: 22px 0;
}

.article-intro {
  font-size: 1.08rem;
  line-height: 1.95;
  color: #6f6669;
  max-width: 800px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  font-size: .77rem;
  color: var(--muted);
  padding: 20px 0 26px;
}

.article-cover {
  margin: 14px 0 0;
}

.article-cover img {
  max-height: 480px;
  aspect-ratio: 16/9;
  border-radius: 22px;
}

.article-cover figcaption {
  color: var(--muted);
  font-size: .74rem;
  padding: 8px 0;
}

.article-layout {
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 260px;
  gap: 80px;
  padding-top: 44px;
  padding-bottom: 90px;
}

.article-body {
  font-size: 1.02rem;
  line-height: 2.12;
}

.article-body p {
  margin: 0 0 24px;
}

.lead-paragraph {
  font-size: 1.07rem;
  font-weight: 540;
}

.article-section {
  margin-top: 44px;
}

.article-section h2, .article-summary h2 {
  font-size: 1.55rem;
  line-height: 1.45;
  margin-bottom: 14px;
}

.article-summary {
  margin-top: 50px;
  padding: 27px 30px;
  background: #efe3dd;
  border-radius: 16px;
}

.article-summary p {
  margin: 0;
}

.sticky-card {
  position: sticky;
  top: 25px;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 27px;
  border-radius: 17px;
}

.sticky-card h2 {
  font-size: 1.25rem;
}

.sticky-card p, .sticky-card li {
  font-size: .87rem;
  line-height: 1.9;
  color: var(--muted);
}

.sticky-card ul {
  padding-left: 18px;
}

.sticky-card li {
  margin-bottom: 12px;
}

.about-content {
  max-width: 810px;
  padding-bottom: 110px;
}

.about-content h2 {
  margin-top: 40px;
}

.about-content p {
  line-height: 2.1;
  color: #625d5e;
}

@media (max-width: 1000px) {
  .header-shell {
    flex-wrap: wrap;
  }
  .primary-nav {
    justify-content: center;
  }
  .pillar-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
  .pillar {
    border-bottom: 1px solid var(--line);
  }
  .pillar:nth-child(3) {
    border-right: none;
  }
  .pillar:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .hero {
    gap: 30px;
  }
  .story-grid {
    column-gap: 20px;
  }
  .article-layout {
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 34px, 600px);
  }
  .header-shell {
    padding: 13px 18px;
    flex-wrap: nowrap;
  }
  .menu-button {
    display: block;
  }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    padding: 16px 18px 25px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    box-shadow: 0 12px 24px #34242418;
  }
  .primary-nav.is-open {
    display: flex;
  }
  .primary-nav a {
    display: block;
    padding: 8px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 45px;
    padding-bottom: 40px;
  }
  .hero-text h1 {
    font-size: clamp(2rem, 8.5vw, 3.15rem);
  }
  .hero-note {
    margin-top: 40px;
  }
  .hero-visual {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
  .hero-stamp {
    width: 134px;
    height: 134px;
    left: -5px;
    padding: 15px;
    font-size: .69rem;
  }
  .hero-stamp strong {
    font-size: 1rem;
  }
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .pillar-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .pillar, .pillar:nth-child(3) {
    min-height: 205px;
    padding: 20px;
    border-right: 1px solid var(--line);
  }
  .pillar:nth-child(2n) {
    border-right: none;
  }
  .pillar:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .pillar:last-child {
    border-bottom: none;
  }
  .feature-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .feature-image {
    height: 280px;
  }
  .feature-copy {
    padding: 28px 0 43px;
  }
  .story-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 25px 16px;
  }
  .story-info h3 {
    font-size: 1rem;
  }
  .reflection {
    grid-template-columns: 1fr;
  }
  .reflection-photo {
    min-height: 270px;
    max-height: 340px;
  }
  .reading-list li {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }
  .reading-list small {
    display: none;
  }
  .editor-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .inner-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .inner-hero {
    padding-bottom: 30px;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .article-aside {
    grid-row: auto;
  }
  .article-hero h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.6rem);
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 28px);
  }
  .hero-visual {
    padding-left: 13px;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .pillar {
    min-height: 220px;
    padding: 16px;
  }
  .pillar strong {
    font-size: .98rem;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-cover {
    aspect-ratio: 1.65;
  }
  .reflection-copy {
    padding: 28px 22px;
  }
  .article-summary {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .story-cover img {
    transition: none;
  }
}

/* 2026 revision: predictable small-screen layout and readable content */
@media (max-width: 600px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .pillar,
  .pillar:nth-child(3),
  .pillar:last-child {
    min-height: 126px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 22px 44px;
  }
  .pillar:last-child {
    border-bottom: 0;
  }
  .pillar strong {
    margin: 8px 0 4px;
    font-size: 1.05rem;
  }
  .pillar-arrow {
    bottom: 18px;
  }
  .hero-note {
    margin-top: 24px;
  }
  .hero-visual {
    max-width: 440px;
  }
  .hero-text h1 {
    overflow-wrap: anywhere;
  }
  .feature-copy h2,
  .section-head h2,
  .article-hero h1 {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 360px) {
  .header-shell {
    gap: 10px;
  }
  .brand {
    font-size: 1.1rem;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .hero-stamp {
    width: 110px;
    height: 110px;
    padding: 10px;
    left: -3px;
    font-size: .62rem;
  }
  .hero-stamp strong {
    font-size: .8rem;
  }
}
