:root {
  color: #312721;
  background: #f3ece4;
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-width: 320px;
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, .82), transparent 24rem),
    radial-gradient(circle at 88% 28%, rgba(244, 208, 196, .28), transparent 20rem),
    linear-gradient(180deg, #f6efe8, #e9ded2);
}

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

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

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  color: #2e241f;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #41342d;
  background:
    linear-gradient(90deg, transparent 45%, #41342d 45% 55%, transparent 55%),
    linear-gradient(180deg, #ffe9c1, #e8a85b);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .24rem;
  border: 1px solid rgba(117, 91, 71, .14);
  border-radius: 999px;
  background: rgba(255, 252, 248, .74);
  box-shadow: 0 12px 24px rgba(103, 77, 56, .08);
}

.nav-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 .86rem;
  border-radius: 999px;
  color: #75685e;
  font-size: .9rem;
  font-weight: 700;
}

.nav-links a.active {
  color: #fff8ee;
  background: #302522;
}

.home-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(126, 102, 84, .16);
  box-shadow: 0 24px 42px rgba(103, 77, 56, .18);
}

.home-hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  filter: saturate(.92);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40, 29, 24, .12), rgba(39, 28, 23, .72));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 3rem;
  color: #fffaf3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 75, 61, .16);
  background: rgba(255, 250, 244, .9);
  color: #9d7e69;
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  background: #302522;
  color: #f8eee3;
}

.eyebrow.coral {
  color: #d76b62;
}

.hero-copy .eyebrow {
  color: #ffe3cc;
  background: rgba(48, 37, 34, .58);
  border-color: rgba(255, 255, 255, .22);
}

h1,
h2 {
  margin: 0;
  color: #2d241f;
  font-family: STSong, "Songti SC", "Noto Serif SC", serif;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 720px;
  margin: .8rem 0 .8rem;
  color: #fffaf3;
  font-size: clamp(2.45rem, 6vw, 5.4rem);
}

.hero-copy p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 250, 243, .86);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.4rem;
}

.primary-link,
.text-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
}

.primary-link {
  padding: 0 1.05rem;
  color: #302522;
  background: #fff7df;
}

.text-link {
  color: #fff7df;
}

.back-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  padding: 0 .9rem;
  border: 1px solid rgba(117, 91, 71, .16);
  border-radius: 999px;
  background: rgba(255, 252, 248, .88);
  color: #5d5048;
  font-size: .86rem;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(103, 77, 56, .08);
}

.section-band {
  padding: 4rem 0 1.5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.section-head h1,
.section-head h2,
.archive-intro h1 {
  margin-top: .55rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.section-head p,
.archive-intro p {
  max-width: 390px;
  margin: 0;
  color: #756a61;
  line-height: 1.7;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.post-card,
.metric-card,
.archive-card,
.note-item,
.panel {
  border: 1px solid rgba(131, 104, 84, .18);
  background: linear-gradient(180deg, rgba(255, 252, 247, .96), rgba(246, 239, 232, .96));
  box-shadow: 0 16px 26px rgba(103, 77, 56, .13), inset 0 1px rgba(255, 255, 255, .94);
}

.post-card {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.post-card:hover,
.archive-card:hover {
  transform: translateY(-3px);
  border-color: rgba(219, 98, 87, .28);
  box-shadow: 0 20px 34px rgba(103, 77, 56, .18), inset 0 1px rgba(255, 255, 255, .94);
}

.post-card img {
  height: 180px;
}

.post-card-copy {
  padding: .92rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: .48rem;
  color: #9a8b80;
  font-size: .72rem;
  font-weight: 800;
}

.post-meta span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: .48rem;
  border-radius: 50%;
  background: #d58a6f;
  vertical-align: middle;
}

.post-card h3,
.metric-card h3,
.archive-card h2,
.note-item p {
  margin: .45rem 0 .36rem;
  color: #342a24;
}

.post-card p,
.metric-card p,
.archive-card p {
  margin: 0;
  color: #776b61;
  font-size: .86rem;
  line-height: 1.65;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  padding: 1.2rem 0 3rem;
}

.metric-card {
  padding: 1.2rem;
  border-radius: 18px;
}

.metric-card strong {
  display: block;
  color: #ef7465;
  font-size: 2.5rem;
  line-height: 1;
}

.breakfast-list-hero {
  display: grid;
  grid-template-columns: 1fr 160px;
  align-items: end;
  gap: 1rem;
  min-width: 0;
  overflow: hidden;
  padding: 1.4rem;
  margin-bottom: 1rem;
}

.breakfast-list-hero h1 {
  position: relative;
  z-index: 1;
  margin-top: .55rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.breakfast-list-hero p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: .6rem 0 0;
  color: #756a61;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.breakfast-summary {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 132px;
  border: 2px solid rgba(72, 56, 44, .22);
  border-radius: 18px;
  background: rgba(255, 253, 250, .84);
  text-align: center;
}

.breakfast-summary strong {
  color: #2d241f;
  font-size: 3rem;
  line-height: 1;
}

.breakfast-summary span {
  color: #8f837a;
  font-size: .82rem;
  font-weight: 800;
}

.breakfast-list {
  display: grid;
  gap: .85rem;
  margin-bottom: 2rem;
}

.breakfast-item {
  display: grid;
  grid-template-columns: 112px 1fr 104px;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  overflow: hidden;
  padding: .95rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.breakfast-item:hover {
  transform: translateY(-3px);
  border-color: rgba(219, 98, 87, .28);
  box-shadow: 0 20px 34px rgba(103, 77, 56, .18), inset 0 1px rgba(255, 255, 255, .94);
}

.breakfast-date,
.breakfast-score {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 96px;
  border: 1px solid rgba(132, 108, 90, .14);
  border-radius: 16px;
  background: rgba(255, 251, 246, .92);
  text-align: center;
}

.breakfast-date strong,
.breakfast-score strong {
  color: #332923;
  font-size: 1.35rem;
  line-height: 1;
}

.breakfast-date span,
.breakfast-score span {
  color: #9b8b80;
  font-size: .74rem;
  font-weight: 800;
}

.breakfast-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.breakfast-copy h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  overflow-wrap: anywhere;
}

.breakfast-copy p {
  margin: .42rem 0 .72rem;
  color: #6f6259;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.breakfast-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.breakfast-tags span {
  padding: .3rem .62rem;
  border-radius: 999px;
  color: #8c6d54;
  background: #fff4dc;
  font-size: .76rem;
  font-weight: 800;
}

.poster-shell {
  min-height: 100vh;
  padding: .35rem 0 2rem;
}

.poster-back {
  margin: 0 0 .75rem;
}

.poster-surface {
  display: grid;
  gap: 0;
  width: min(880px, 100%);
  margin: 0 auto;
}

.panel {
  position: relative;
  border-radius: 24px;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .56), transparent 30%),
    radial-gradient(circle at top right, rgba(243, 231, 223, .42), transparent 26%);
  pointer-events: none;
}

.hero-board {
  z-index: 1;
  padding: 1rem 1.1rem 1.15rem;
}

.hero-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-top: .75rem;
}

.hero-head h1 {
  font-size: clamp(1.95rem, 3.6vw, 2.75rem);
}

.hero-head p {
  max-width: 35rem;
  margin: .5rem 0 0;
  color: #756a61;
  font-size: .9rem;
  line-height: 1.6;
}

.legend-inline,
.chart-legend {
  display: flex;
  gap: .7rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: #796b60;
  font-size: .76rem;
  font-weight: 800;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: .32rem;
  border-radius: 50%;
}

.mint {
  background: #7ecb7e;
}

.amber {
  background: #d7a23a;
}

.coral {
  background: #db6257;
}

.score-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}

.score-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: .8rem;
  padding: .72rem;
  border-radius: 18px;
  border: 1px solid rgba(117, 91, 71, .16);
  background: rgba(255, 252, 248, .9);
}

.score-value {
  display: grid;
  min-height: 92px;
  place-items: center;
  text-align: center;
  border: 2px solid rgba(72, 56, 44, .24);
  border-radius: 16px;
  background: #fffdfa;
}

.score-value strong {
  color: #2d241f;
  font-size: 1.68rem;
  line-height: 1;
}

.score-value small {
  color: #8f837a;
  font-size: .7rem;
}

.score-copy h2 {
  margin: 0;
  color: #382d26;
  font-family: inherit;
  font-size: .94rem;
}

.score-copy p {
  margin: .35rem 0 .72rem;
  color: #776b61;
  font-size: .74rem;
  line-height: 1.45;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece2d8;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.accent-mint .progress-track span {
  background: linear-gradient(90deg, #8fd08a, #52a961);
}

.accent-amber .progress-track span {
  background: linear-gradient(90deg, #efc76b, #d7a23a);
}

.accent-butter .progress-track span {
  background: linear-gradient(90deg, #efd27b, #dfb34d);
}

.accent-coral .progress-track span {
  background: linear-gradient(90deg, #f28c7f, #db6257);
}

.strategy-board,
.insight-board {
  position: relative;
  display: grid;
  gap: .9rem;
}

.strategy-board {
  z-index: 2;
  grid-template-columns: .82fr 1.32fr;
  margin: -.62rem 1rem 0;
  padding: .92rem;
}

.insight-board {
  z-index: 3;
  grid-template-columns: .85fr 1.15fr;
  margin: -.48rem 1rem 0;
}

.inset {
  padding: 1.1rem;
}

.illustration-card,
.identity-card {
  min-height: 342px;
}

.polaroid-frame {
  position: relative;
  padding: 1rem .95rem 1.35rem;
  border: 1px solid rgba(126, 102, 84, .15);
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdfa, #f7efe7);
  box-shadow: 0 10px 16px rgba(98, 75, 59, .08);
}

.polaroid-tab {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 54px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 0 0 10px 10px;
  background: rgba(216, 204, 196, .96);
}

.plate-frame {
  display: grid;
  min-height: 236px;
  place-items: center;
  border: 1px solid rgba(122, 95, 76, .16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .84), rgba(246, 238, 231, .98));
}

.plate {
  position: relative;
  width: 196px;
  height: 170px;
}

.plate-shadow {
  position: absolute;
  left: 58px;
  top: 110px;
  width: 106px;
  height: 20px;
  border-radius: 50%;
  background: rgba(92, 71, 58, .1);
}

.bowl {
  position: absolute;
  left: 56px;
  top: 42px;
  width: 102px;
  height: 68px;
  border: 3px solid #4d4039;
  border-radius: 0 0 56px 56px;
  background: linear-gradient(180deg, #fbfaf6, #ece2d7);
  box-shadow: 0 14px 18px rgba(107, 87, 72, .14);
}

.bowl-rim {
  position: absolute;
  inset: -18px -10px auto;
  height: 24px;
  border: 3px solid #4d4039;
  border-radius: 50%;
  background: #fffefb;
}

.broth {
  position: absolute;
  inset: 10px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(180deg, #f4e2c4, #f0d6af);
}

.broth span {
  position: absolute;
  border-radius: 999px;
  background: #6e9d6b;
}

.broth span:nth-child(1) { width: 18px; height: 18px; left: 16px; top: 20px; }
.broth span:nth-child(2) { width: 12px; height: 12px; left: 50px; top: 27px; }
.broth span:nth-child(3) { width: 14px; height: 14px; left: 76px; top: 18px; }
.broth span:nth-child(4) { width: 20px; height: 20px; left: 58px; top: 41px; }

.steam {
  position: absolute;
  top: -60px;
  width: 22px;
  height: 54px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid rgba(205, 185, 172, .78);
  border-radius: 50%;
  animation: steam 2.8s ease-in-out infinite;
}

.steam-a {
  left: 24px;
  transform: rotate(-12deg);
}

.steam-b {
  right: 28px;
  transform: rotate(16deg);
  animation-delay: .45s;
}

@keyframes steam {
  0%, 100% { opacity: .38; translate: 0 6px; }
  50% { opacity: .78; translate: 0 -4px; }
}

.side {
  position: absolute;
  border: 3px solid #4d4039;
  background: #ab7544;
  box-shadow: 0 8px 10px rgba(94, 74, 61, .12);
}

.side-a {
  left: 16px;
  top: 118px;
  width: 34px;
  height: 20px;
  border-radius: 22px 18px 18px 20px;
}

.side-b {
  right: 8px;
  top: 50px;
  width: 54px;
  height: 22px;
  border-radius: 18px;
  transform: rotate(24deg);
}

.chopsticks {
  position: absolute;
  right: 20px;
  top: 128px;
  width: 76px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5e3b2f, #8c6556);
  transform: rotate(-18deg);
}

.wonton {
  position: absolute;
  width: 22px;
  height: 18px;
  border: 2px solid #4d4039;
  border-radius: 48% 52% 44% 56%;
  background: linear-gradient(180deg, #f7e4c2, #e6c58e);
  box-shadow: 0 4px 5px rgba(101, 78, 62, .08);
}

.wonton-a { left: 18px; top: 120px; }
.wonton-b { left: 32px; top: 138px; }
.wonton-c { left: 56px; top: 132px; }
.wonton-d { left: 80px; top: 126px; }

.polaroid-foot {
  margin-top: .65rem;
  text-align: right;
  color: #a29288;
  font-size: .72rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .78rem;
}

.tag-row span {
  padding: .42rem .74rem;
  border: 1px solid rgba(135, 112, 95, .12);
  border-radius: 10px;
  background: linear-gradient(180deg, #fffdfa, #f4ede6);
  color: #6b5d54;
  font-size: .75rem;
  box-shadow: 0 4px 8px rgba(125, 99, 80, .05);
}

.identity-card h2 {
  margin-top: .95rem;
  font-size: clamp(2.05rem, 2.8vw, 2.8rem);
}

.identity-card h2 span {
  color: #e17d6a;
}

.identity-lead {
  margin: .72rem 0 1rem;
  color: #70645a;
  font-size: .88rem;
  line-height: 1.62;
}

.identity-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin-bottom: .9rem;
}

.identity-meta div,
.identity-grid div {
  border: 1px solid rgba(132, 108, 90, .14);
  border-radius: 15px;
  background: rgba(255, 251, 246, .96);
}

.identity-meta div {
  padding: .76rem .92rem;
}

.identity-meta label {
  display: block;
  margin-bottom: .18rem;
  color: #9b8b80;
  font-size: .76rem;
}

.identity-meta strong {
  color: #392f29;
  font-size: .98rem;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .72rem;
}

.identity-grid div {
  padding: .92rem;
}

.identity-grid .warning {
  background: linear-gradient(180deg, #fff9f6, #fff0ec);
}

.identity-grid h3,
.memo-box h3 {
  margin: 0 0 .45rem;
  color: #342a24;
  font-size: .94rem;
}

.identity-grid p,
.memo-box li,
.chart-head p {
  margin: 0;
  color: #776b61;
  font-size: .8rem;
  line-height: 1.58;
}

.insight-card,
.chart-card {
  min-height: 334px;
}

.big-figure {
  margin-top: .58rem;
  color: #f06f64;
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1;
}

.sub-copy {
  margin: .58rem 0 .9rem;
  color: #71655b;
  font-size: .89rem;
}

.memo-box {
  padding: .9rem .95rem .9rem 1.08rem;
  border: 1px solid rgba(129, 103, 84, .16);
  border-radius: 16px;
  background: rgba(255, 252, 248, .97);
}

.memo-box ul {
  display: grid;
  gap: .36rem;
  margin: 0;
  padding-left: 1rem;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.chart-area {
  position: relative;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  align-items: end;
  gap: .65rem;
  min-height: 288px;
  margin-top: 1rem;
  padding: 1.9rem .82rem .82rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 22%, rgba(242, 198, 194, .36), transparent 18%),
    linear-gradient(180deg, rgba(250, 247, 242, .86), rgba(255, 252, 248, .98)),
    repeating-linear-gradient(to top, transparent 0 43px, rgba(122, 100, 84, .08) 43px 44px);
}

.bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
}

.bar-wrap small {
  color: #9b8d81;
  font-size: .68rem;
}

.bar {
  position: relative;
  width: 100%;
  min-width: 24px;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, #f0c14f, #d99b30);
  box-shadow: inset 0 -4px rgba(95, 65, 33, .16);
  animation: grow .9s ease both;
  transform-origin: bottom center;
}

@keyframes grow {
  from { transform: scaleY(.24); opacity: .4; }
  to { transform: scaleY(1); opacity: 1; }
}

.bar span {
  position: absolute;
  top: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: #8e7d70;
  font-size: .64rem;
  white-space: nowrap;
}

.bar-focus {
  background: linear-gradient(180deg, #f08c73, #db6650);
}

.chart-note {
  position: absolute;
  top: .72rem;
  right: .78rem;
  max-width: 156px;
  padding: .74rem .88rem;
  border: 1px solid rgba(140, 112, 74, .16);
  border-radius: 14px;
  background: #f9efc6;
  box-shadow: 0 12px 18px rgba(149, 122, 76, .14);
  color: #715f47;
  font-size: .73rem;
}

.chart-note strong,
.chart-note em {
  display: block;
}

.chart-note strong {
  margin-bottom: .2rem;
  color: #4c3c2a;
}

.chart-note em {
  margin-top: .28rem;
  color: #9a8360;
  font-style: normal;
  font-size: .66rem;
}

.note-list {
  display: grid;
  gap: .7rem;
  margin-bottom: 3rem;
}

.note-item {
  display: grid;
  grid-template-columns: 82px 84px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 16px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.note-item:hover {
  transform: translateY(-2px);
  border-color: rgba(219, 98, 87, .28);
  box-shadow: 0 18px 30px rgba(103, 77, 56, .16), inset 0 1px rgba(255, 255, 255, .94);
}

.note-item time {
  color: #2d241f;
  font-weight: 900;
}

.note-item span {
  justify-self: start;
  padding: .28rem .62rem;
  border-radius: 999px;
  color: #8c6d54;
  background: #fff4dc;
  font-size: .76rem;
  font-weight: 800;
}

.note-item p {
  margin: 0;
  line-height: 1.7;
}

.note-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1rem;
  padding: 2rem 0 3rem;
}

.note-detail {
  min-width: 0;
  padding: 1.4rem;
}

.note-detail h1 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: .8rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  overflow-wrap: anywhere;
}

.detail-body-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.detail-body-inner p {
  margin: 0;
  color: #5f544c;
  font-size: 1.02rem;
  line-height: 2;
  overflow-wrap: anywhere;
}

.archive-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.2rem;
  padding: 3rem 0;
}

.archive-intro {
  position: sticky;
  top: 78px;
  align-self: start;
}

.archive-posts {
  display: grid;
  gap: .9rem;
}

.archive-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1rem;
  overflow: hidden;
  border-radius: 18px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.archive-card img {
  height: 100%;
  min-height: 190px;
}

.archive-card div {
  padding: 1rem 1rem 1rem 0;
}

.read-more {
  display: inline-flex;
  margin-top: .8rem;
  color: #db6257;
  font-size: .82rem;
  font-weight: 900;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 1rem;
  padding: 2rem 0 3rem;
}

.detail-article {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.detail-hero {
  position: relative;
  min-width: 0;
  min-height: 460px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(126, 102, 84, .16);
  box-shadow: 0 24px 42px rgba(103, 77, 56, .16);
}

.detail-hero img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40, 29, 24, .08), rgba(39, 28, 23, .74));
}

.detail-hero div {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  padding: 2.2rem;
}

.detail-hero .eyebrow {
  color: #ffe3cc;
  background: rgba(48, 37, 34, .58);
  border-color: rgba(255, 255, 255, .22);
}

.detail-hero h1 {
  max-width: 100%;
  margin-top: .8rem;
  color: #fffaf3;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail-hero p {
  max-width: 620px;
  margin: .9rem 0 0;
  color: rgba(255, 250, 243, .88);
  font-size: 1.04rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.detail-body {
  min-width: 0;
  overflow: hidden;
  padding: 2rem;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.2rem;
}

.detail-meta span {
  padding: .32rem .7rem;
  border-radius: 999px;
  color: #8c6d54;
  background: #fff4dc;
  font-size: .78rem;
  font-weight: 900;
}

.detail-body p {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 0 1.05rem;
  color: #5f544c;
  font-size: 1.02rem;
  line-height: 2;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.detail-body p:last-child {
  margin-bottom: 0;
}

.detail-aside {
  position: sticky;
  top: 78px;
  align-self: start;
  display: grid;
  gap: .85rem;
  min-width: 0;
}

.detail-side-card,
.detail-empty {
  padding: 1rem;
}

.detail-side-card h2,
.detail-empty h1 {
  position: relative;
  z-index: 1;
  margin-top: .55rem;
  font-size: 1.45rem;
}

.detail-side-card p,
.detail-empty p {
  position: relative;
  z-index: 1;
  margin: .6rem 0 0;
  color: #756a61;
  font-size: .88rem;
  line-height: 1.72;
}

.detail-links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .55rem;
  margin-top: .8rem;
}

.detail-links a {
  padding: .68rem .78rem;
  border: 1px solid rgba(132, 108, 90, .14);
  border-radius: 12px;
  background: rgba(255, 251, 246, .9);
  color: #5d5048;
  font-size: .86rem;
  font-weight: 800;
}

.detail-empty {
  max-width: 720px;
  margin: 4rem auto;
}

.detail-empty .primary-link {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-top: 1rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 2.5rem;
  color: #8c8076;
  font-size: .86rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .page-shell {
    width: calc(100% - 24px);
    max-width: 760px;
  }

  .site-header,
  .section-head,
  .hero-head,
  .chart-head {
    align-items: flex-start;
  }

  .site-header,
  .section-head,
  .hero-head,
  .chart-head,
  .site-footer {
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .home-hero {
    min-height: 560px;
  }

  .hero-copy {
    padding: 2rem;
  }

  .post-grid,
  .metric-row,
  .breakfast-list-hero,
  .breakfast-item,
  .score-grid,
  .strategy-board,
  .insight-board,
  .identity-meta,
  .identity-grid,
  .archive-layout,
  .detail-layout,
  .note-detail-layout,
  .archive-card {
    grid-template-columns: 1fr;
  }

  .strategy-board,
  .insight-board {
    margin: .75rem 0 0;
    padding: 0;
  }

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

  .breakfast-date,
  .breakfast-score {
    min-height: 76px;
  }

  .archive-intro {
    position: static;
  }

  .detail-aside {
    position: static;
  }

  .archive-card img {
    height: 230px;
  }

  .archive-card div {
    padding: 0 1rem 1rem;
  }

  .detail-hero {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: calc(100% - 18px);
    max-width: 460px;
  }

  .brand {
    font-size: .95rem;
  }

  .nav-links a {
    min-height: 32px;
    padding: 0 .72rem;
    font-size: .82rem;
    white-space: nowrap;
  }

  .home-hero {
    min-height: 520px;
    border-radius: 20px;
  }

  .hero-copy {
    padding: 1.2rem;
  }

  .hero-copy h1 {
    font-size: 2.35rem;
  }

  .hero-copy p {
    font-size: .94rem;
  }

  .section-band {
    padding-top: 2.2rem;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .breakfast-list-hero,
  .breakfast-item {
    gap: .75rem;
    padding: .82rem;
  }

  .breakfast-summary {
    min-height: 96px;
  }

  .breakfast-copy h2 {
    font-size: 1.35rem;
  }

  .panel {
    border-radius: 18px;
  }

  .hero-board {
    padding: .8rem .82rem .95rem;
  }

  .hero-head h1 {
    font-size: 1.5rem;
  }

  .hero-head p {
    font-size: .74rem;
  }

  .score-card {
    grid-template-columns: 1fr;
    padding: .62rem;
  }

  .score-value {
    min-height: 82px;
  }

  .inset {
    padding: .9rem;
  }

  .plate-frame {
    min-height: 214px;
  }

  .plate {
    transform: scale(.9);
  }

  .identity-card h2 {
    font-size: 1.8rem;
  }

  .chart-area {
    min-height: 258px;
    overflow-x: auto;
    grid-template-columns: repeat(10, 34px);
    gap: .55rem;
  }

  .detail-layout {
    padding-top: 1rem;
  }

  .detail-hero {
    min-height: 390px;
    border-radius: 20px;
  }

  .detail-hero div,
  .detail-body {
    padding: 1.1rem;
  }

  .detail-hero h1 {
    font-size: 1.52rem;
    line-height: 1.16;
    white-space: normal;
    word-break: break-all;
  }

  .detail-hero p,
  .detail-body p {
    font-size: .94rem;
  }

  .note-item {
    grid-template-columns: 1fr;
    gap: .45rem;
  }

  .note-detail-layout {
    padding-top: 1rem;
  }

  .note-detail {
    padding: 1rem;
  }

  .note-detail h1 {
    font-size: 1.7rem;
    line-height: 1.25;
  }

  .detail-body-inner p {
    font-size: .94rem;
  }
}
