@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Noto+Serif+SC:wght@500;600;700&display=swap');

:root {
  --ink: #202321;
  --muted: #73766f;
  --line: #d8d3c8;
  --paper: #f4f0e8;
  --paper-deep: #e9e3d8;
  --card: #e4ebe7;
  --moss: #bdcbbb;
  --coral: #ed7d61;
  --yellow: #edc95a;
  --cream: #faf8f2;
  --serif: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
  --sans: 'Manrope', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --mono: 'DM Mono', 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font: 500 12px/1 var(--mono);
  letter-spacing: -.08em;
}
.brand-text { font-size: 16px; }
.brand-text small { color: var(--muted); font: 400 10px/1 var(--mono); letter-spacing: .02em; }

.main-nav { display: flex; gap: 34px; margin-left: auto; }
.main-nav a { color: var(--muted); font-size: 13px; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--coral); }
.header-cta { font-size: 12px; font-weight: 700; }
.header-cta span, .text-link span, .read-link span { color: var(--coral); margin-left: 5px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  align-items: center;
  gap: clamp(48px, 8vw, 118px);
  min-height: 640px;
  padding: 84px 0 96px;
}

.eyebrow, .post-label, .visual-label {
  margin: 0;
  color: var(--muted);
  font: 500 11px/1.3 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.status-dot { display: inline-block; width: 7px; height: 7px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--coral); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.055em; }
h1 {
  max-width: 620px;
  margin: 22px 0 26px;
  font: 600 clamp(3.8rem, 7vw, 6.5rem)/1.03 var(--serif);
}
h1 em, h2 em { color: var(--coral); font-style: normal; }
.hero-lede { max-width: 480px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark span { color: var(--yellow); font-size: 18px; line-height: 0; }
.text-link { font-size: 12px; font-weight: 700; }
.hero-meta { display: flex; gap: 44px; margin-top: 70px; }
.hero-meta div { display: flex; flex-direction: column; gap: 3px; }
.hero-meta strong { font: 500 25px/1 var(--serif); }
.hero-meta span { color: var(--muted); font: 10px/1.5 var(--mono); }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  background: var(--moss);
  isolation: isolate;
}
.hero-art::before, .hero-art::after { position: absolute; z-index: -1; content: ''; border-radius: 50%; }
.hero-art::before { width: 82%; aspect-ratio: 1; top: 8%; left: -13%; background: #d4ddd2; }
.hero-art::after { width: 65%; aspect-ratio: 1; right: -22%; bottom: -16%; background: var(--coral); opacity: .92; }
.art-caption { position: absolute; top: 8%; right: 8%; color: var(--ink); font: 500 10px/1.6 var(--mono); letter-spacing: .16em; text-align: right; }
.art-caption span { color: var(--coral); }
.art-sun { position: absolute; top: 23%; left: 22%; width: 32%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); }
.art-line { position: absolute; height: 1px; background: var(--ink); transform-origin: left center; opacity: .8; }
.art-line-one { width: 90%; top: 57%; left: -8%; transform: rotate(-28deg); }
.art-line-two { width: 73%; top: 67%; left: 18%; transform: rotate(31deg); }
.art-circle { position: absolute; border: 1px solid var(--ink); border-radius: 50%; }
.art-circle-large { width: 79%; aspect-ratio: 1; top: 18%; left: 12%; }
.art-circle-small { width: 13%; aspect-ratio: 1; top: 61%; left: 59%; background: var(--ink); }
.art-stamp { position: absolute; bottom: 9%; left: 8%; display: grid; width: 63px; height: 63px; place-content: center; border: 1px solid var(--ink); border-radius: 50%; font: 500 19px/1 var(--serif); text-align: center; transform: rotate(-13deg); }
.art-stamp span { margin-top: 3px; font: 8px/1 var(--mono); letter-spacing: .12em; }
.art-footer { position: absolute; right: 8%; bottom: 8%; font: 9px/1 var(--mono); letter-spacing: .12em; }

.section-block { padding: 84px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 37px; }
h2 { margin: 12px 0 0; font: 600 clamp(2.8rem, 5vw, 4.5rem)/1.08 var(--serif); }
.section-note { max-width: 205px; margin: 0 0 4px; color: var(--muted); font-size: 12px; line-height: 1.8; text-align: right; }

.featured-card { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 450px; background: var(--card); }
.featured-visual { position: relative; overflow: hidden; background: #cbdbd1; }
.featured-visual::before { position: absolute; content: ''; width: 60%; aspect-ratio: 1; top: 22%; left: 18%; border-radius: 50%; background: var(--coral); opacity: .9; }
.featured-visual::after { position: absolute; content: ''; width: 72%; aspect-ratio: 1; top: -17%; left: 37%; border: 1px solid var(--ink); border-radius: 50%; }
.visual-label { position: absolute; z-index: 1; top: 27px; left: 30px; color: var(--ink); }
.visual-orbit { position: absolute; z-index: 1; border: 1px solid var(--ink); border-radius: 50%; transform: rotate(-26deg); }
.orbit-one { width: 105%; aspect-ratio: .39; top: 18%; left: -2%; }
.orbit-two { width: 100%; aspect-ratio: .39; top: 7%; left: 1%; transform: rotate(34deg); }
.visual-moon { position: absolute; z-index: 1; width: 22%; aspect-ratio: 1; right: 17%; bottom: 17%; border-radius: 50%; background: var(--yellow); box-shadow: 14px 16px 0 -3px #ebbb46; }
.visual-spark { position: absolute; z-index: 1; color: var(--ink); font-size: 21px; }
.spark-one { top: 38%; left: 29%; }
.spark-two { right: 29%; top: 22%; font-size: 13px; }
.visual-coordinate { position: absolute; z-index: 1; right: 25px; bottom: 25px; font: 9px/1.7 var(--mono); letter-spacing: .08em; text-align: right; }
.featured-content { display: flex; flex-direction: column; padding: clamp(32px, 5vw, 64px); }
.featured-content h3 { max-width: 390px; margin: 20px 0 18px; font: 600 clamp(2rem, 3.5vw, 3.3rem)/1.16 var(--serif); }
.featured-content > p:not(.post-label) { max-width: 400px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.read-link { margin-top: auto; font-size: 12px; font-weight: 700; }
.read-link span { font-size: 18px; }
.post-footer { display: flex; justify-content: space-between; gap: 18px; padding-top: 25px; margin-top: 30px; border-top: 1px solid rgba(32, 35, 33, .2); color: var(--muted); font: 10px var(--mono); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1px; background: var(--line); }
.post-card { position: relative; display: flex; min-height: 330px; flex-direction: column; padding: 36px 31px 32px; background: var(--cream); }
.post-card-dark { background: var(--ink); color: var(--paper); }
.post-card-outline { background: var(--paper-deep); }
.post-number { position: absolute; top: 32px; right: 30px; color: var(--coral); font: 500 17px var(--mono); }
.post-card .post-label { margin-top: 55px; }
.post-card h3 { max-width: 275px; margin: 18px 0 13px; font: 600 24px/1.36 var(--serif); }
.post-card p:not(.post-label) { max-width: 275px; margin-bottom: 20px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.post-card-dark p:not(.post-label), .post-card-dark .post-label { color: #aeb3ab; }
.post-card .read-link { margin-top: auto; }

.about { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(48px, 10vw, 150px); align-items: center; }
.about-intro > p:not(.eyebrow) { max-width: 370px; margin: 28px 0 25px; color: var(--muted); font-size: 14px; line-height: 1.95; }
.about-note { position: relative; min-height: 350px; padding: 31px; background: var(--yellow); transform: rotate(2.5deg); box-shadow: 13px 15px 0 rgba(32, 35, 33, .12); }
.about-note::after { position: absolute; width: 130px; height: 23px; top: -11px; left: 50%; content: ''; background: rgba(255, 247, 214, .64); transform: translateX(-50%) rotate(-3deg); }
.note-top, .note-bottom { display: flex; justify-content: space-between; gap: 14px; font: 9px var(--mono); letter-spacing: .1em; }
.note-top { padding-bottom: 20px; border-bottom: 1px solid rgba(32, 35, 33, .22); }
.note-bottom { position: absolute; right: 31px; bottom: 31px; left: 31px; }
.note-quote { position: absolute; top: 50%; left: 31px; transform: translateY(-50%); font: 600 clamp(1.8rem, 3.8vw, 3.5rem)/1.3 var(--serif); letter-spacing: -.06em; }
.note-quote em { color: var(--coral); font-style: normal; }

.contact { display: flex; align-items: end; justify-content: space-between; gap: 50px; padding-bottom: 92px; }
.contact h2 { max-width: 520px; margin-bottom: 16px; }
.contact p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.subscribe-form { display: flex; width: min(100%, 420px); border-bottom: 1px solid var(--ink); }
.subscribe-form input { width: 100%; min-height: 47px; padding: 0 6px 0 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.subscribe-form input::placeholder { color: #99988f; }
.subscribe-form button { flex: 0 0 auto; min-width: 92px; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 700; }
.subscribe-form button span { color: var(--coral); margin-left: 6px; font-size: 17px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 35px; border-top: 1px solid var(--line); color: var(--muted); font: 9px var(--mono); letter-spacing: .08em; }
.site-footer a { color: var(--ink); }

@media (max-width: 780px) {
  .site-shell { width: min(100% - 34px, 620px); }
  .site-header { min-height: 76px; }
  .brand-text small { display: none; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 12px; }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr; gap: 50px; min-height: auto; padding: 67px 0 76px; }
  h1 { font-size: clamp(3.5rem, 15vw, 5.4rem); }
  .hero-art { width: min(100%, 470px); margin: 0 auto; }
  .hero-meta { margin-top: 52px; }
  .section-block { padding: 66px 0; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 28px; }
  .section-note { max-width: none; text-align: left; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-visual { min-height: 330px; }
  .featured-content { min-height: 390px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card { min-height: 270px; }
  .about { grid-template-columns: 1fr; gap: 55px; }
  .about-note { min-height: 300px; }
  .contact { align-items: start; flex-direction: column; gap: 34px; }
  .subscribe-form { width: 100%; }
}

@media (max-width: 430px) {
  .site-shell { width: min(100% - 28px, 620px); }
  .main-nav { margin-left: 0; }
  .brand-text { font-size: 14px; }
  .hero-actions { align-items: start; flex-direction: column; gap: 20px; }
  .hero-meta { justify-content: space-between; gap: 10px; }
  .featured-content { padding: 32px 25px; }
  .post-card { padding-right: 24px; padding-left: 24px; }
  .site-footer { align-items: start; flex-direction: column; gap: 9px; }
}

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