:root {
  --accent: #555957;
  --accent-dark: #303231;
  --accent-soft: #ededeb;
  --media-white: #fff;
  --media-ink: #151515;
  --media-muted: #6f716f;
  --media-line: #d6d6d3;
  --media-pale: #f1f1ef;
  --media-green: #555957;
  --media-night: #898b89;
  --media-charcoal: #343635;
}

body {
  background: var(--media-white);
  color: var(--media-ink);
  font-size: 16px;
  line-height: 1.85;
}

body a { color: inherit; }

.media-wrap,
.section,
.profile-inner,
.footer-inner {
  width: min(1280px, calc(100% - 64px));
  max-width: none;
  margin-inline: auto;
}

/* Masthead */
.media-header {
  position: relative;
  top: auto;
  z-index: 20;
  border: 0;
  background: var(--media-white);
}

.masthead {
  height: 124px;
  border-bottom: 1px solid var(--media-line);
}

.masthead-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.mast-side {
  display: flex;
  align-items: center;
  gap: 30px;
  font: 500 12px/1 Inter, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mast-side.right { justify-content: flex-end; }

.mast-side a {
  padding: 8px 0;
  color: var(--media-ink);
}

.menu-mark {
  display: inline-grid;
  grid-template-columns: 18px auto;
  gap: 9px;
  align-items: center;
}

.menu-mark i,
.menu-mark i::before,
.menu-mark i::after {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--media-ink);
  content: "";
}

.menu-mark i { position: relative; }
.menu-mark i::before { position: absolute; top: -5px; }
.menu-mark i::after { position: absolute; top: 5px; }

.wordmark {
  text-align: center;
  line-height: 1;
}

.wordmark strong {
  display: block;
  font: 600 clamp(45px, 5vw, 68px)/.8 "Bodoni Moda", serif;
  letter-spacing: -.055em;
}

.wordmark span {
  display: block;
  margin-top: 15px;
  font: 500 10px/1 Inter, sans-serif;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.search-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.search-link b {
  font-size: 20px;
  font-weight: 400;
}

.category-nav {
  display: block;
  border-bottom: 1px solid var(--media-line);
  background: var(--media-white);
}

.category-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 43px;
  white-space: nowrap;
}

.category-inner a {
  padding: 0;
  color: var(--media-ink);
  font: 500 13px/1 Inter, "Noto Sans JP", sans-serif;
  letter-spacing: .035em;
}

.category-inner a:hover,
.mast-side a:hover { color: var(--media-green); }

/* Lead feature */
.lead-feature {
  position: relative;
  padding-left: 82px;
  background: var(--media-white);
  max-width: 1680px;
  margin-inline: auto;
}

.slide-rail {
  position: absolute;
  z-index: 4;
  inset: 0 auto 0 0;
  width: 82px;
  border-right: 1px solid var(--media-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--media-white);
}

.slide-rail button {
  appearance: none;
  border: 0;
  padding: 4px 0;
  background: transparent;
  cursor: pointer;
  font: 400 11px/1 Inter, sans-serif;
  color: #a4a7a5;
  transition: color .2s ease;
}

.slide-rail button:hover,
.slide-rail button:focus-visible { color: var(--media-ink); }

.slide-rail .current {
  position: relative;
  color: var(--media-ink);
}

.slide-rail .current::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 1px;
  left: 20px;
  top: 50%;
  background: var(--media-ink);
}

.slide-rail b {
  margin-top: 14px;
  color: var(--media-ink);
  font: 500 10px/1 Inter, sans-serif;
  letter-spacing: .15em;
  writing-mode: vertical-rl;
}

.lead-visual {
  position: relative;
  height: min(788px, calc(100vh - 188px));
  min-height: 500px;
  overflow: hidden;
  background: #c7c8c6;
}

.lead-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: brightness(1.1) grayscale(.08) saturate(.82) contrast(1.01);
  transition: opacity .24s ease;
}

.lead-visual.is-changing > img { opacity: .34; }

.lead-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 20, 20, .42), rgba(20, 20, 20, .035) 70%);
}

.lead-copy {
  position: absolute;
  z-index: 2;
  left: 7%;
  bottom: 10%;
  width: min(700px, 70%);
  color: #fff;
}

.lead-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  font: 500 11px/1 Inter, sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.lead-kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  background: #fff;
}

.lead-copy h1 {
  margin: 18px 0 19px;
  color: #fff;
  font: 500 clamp(36px, 4vw, 61px)/1.36 "Noto Serif JP", serif;
  letter-spacing: .035em;
  text-align: left;
}

.lead-copy p {
  max-width: 580px;
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.85;
}

.lead-read {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 29px;
  font: 500 11px/1 Inter, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lead-read::after { content: "→"; font-size: 20px; }

.lead-count {
  position: absolute;
  right: 30px;
  bottom: 24px;
  z-index: 3;
  color: #fff;
  font: 400 11px/1 Inter, sans-serif;
  letter-spacing: .08em;
}

/* Shared headings */
.editorial-head,
.section-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 42px;
  text-align: left;
}

.section-header { padding-top: 28px; }

.editorial-head h2,
.section-title {
  margin: 0;
  color: var(--media-ink);
  font: 500 clamp(36px, 4vw, 58px)/1.14 "Bodoni Moda", "Noto Serif JP", serif;
  letter-spacing: .04em;
}

.editorial-head p {
  max-width: 430px;
  color: var(--media-muted);
  font-size: 14px;
  line-height: 1.8;
  text-align: right;
}

.section-eyebrow {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  color: var(--media-green);
  font: 500 10px/1 Inter, sans-serif;
  letter-spacing: .18em;
}

/* Numbers */
.numbers-section {
  padding: 116px 0 112px;
  background: var(--media-white);
}

.number-board {
  border-top: 1px solid var(--media-ink);
  border-bottom: 1px solid var(--media-ink);
  display: grid;
  grid-template-columns: 2.2fr repeat(3, 1fr);
}

.figure {
  min-height: 190px;
  padding: 32px 28px;
  border-right: 1px solid var(--media-line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.figure:last-child { border-right: 0; }

.figure small {
  color: var(--media-muted);
  font: 500 10px/1.4 Inter, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.figure strong {
  color: var(--media-ink);
  font: 500 clamp(25px, 2.65vw, 41px)/1.18 "Bodoni Moda", "Noto Serif JP", serif;
  letter-spacing: -.015em;
}

.figure.primary strong {
  color: var(--media-green);
  font-size: clamp(44px, 5vw, 71px);
}

.figure span {
  color: var(--media-muted);
  font-size: 12px;
  line-height: 1.55;
}

.number-note {
  margin-top: 13px;
  color: #858987;
  font-size: 11px;
  text-align: right;
}

/* Editorial picks */
.section {
  padding: 112px 0 120px;
}

.start-here {
  padding-top: 112px;
  background: var(--media-pale);
}

#start-here-title {
  white-space: nowrap;
  font-size: clamp(32px, 3.55vw, 54px);
  letter-spacing: .015em;
}

.start-here .section-header {
  max-width: none;
  margin-bottom: 42px;
}

.start-here-lead {
  max-width: 470px;
  margin: 0 0 3px auto;
  color: var(--media-muted);
  font-size: 14px;
  line-height: 1.8;
}

.features {
  max-width: none;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--media-line);
  border-top: 1px solid var(--media-line);
  border-bottom: 1px solid var(--media-line);
}

.feature {
  min-height: 330px;
  padding: 34px 32px;
  border: 0;
  border-radius: 0;
  align-items: flex-start;
  text-align: left;
  background: var(--media-white);
}

.feature:hover,
.feature:focus-visible {
  border: 0;
  box-shadow: none;
  transform: none;
  background: #f9faf9;
}

.feature-step {
  color: var(--media-green);
  font: 500 10px/1 Inter, sans-serif;
  letter-spacing: .14em;
}

.feature-icon { margin: 24px 0 18px; }
.feature-icon svg { margin: 0; width: 31px; height: 31px; stroke: var(--media-green); }

.feature-title {
  max-width: 330px;
  color: var(--media-ink);
  font: 600 20px/1.62 "Noto Serif JP", serif;
}

.feature-desc {
  margin-top: 12px;
  color: var(--media-muted);
  font-size: 13px;
  line-height: 1.8;
}

.feature-link {
  margin-top: auto;
  padding-top: 22px;
  color: var(--media-ink);
  font: 500 11px/1 Inter, "Noto Sans JP", sans-serif;
  letter-spacing: .08em;
}

/* Category index */
#categories { background: var(--media-white); }

.categories {
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border: 0;
}

.category {
  position: relative;
  min-height: 218px;
  padding: 34px 32px 31px;
  border: 0;
  border-top: 1px solid var(--media-ink);
  border-radius: 0;
  align-items: flex-end;
  background: var(--media-pale);
  overflow: hidden;
  transition: color .24s ease, background .24s ease;
}

.category::before {
  position: absolute;
  top: 27px;
  left: 32px;
  color: #898c89;
  font: 500 11px/1 Inter, sans-serif;
  letter-spacing: .15em;
}

.category:nth-child(1)::before { content: "01 / HOUSEHOLD"; }
.category:nth-child(2)::before { content: "02 / INVESTMENT"; }
.category:nth-child(3)::before { content: "03 / WORK"; }

.category::after {
  content: "↗";
  position: absolute;
  top: 24px;
  right: 28px;
  font: 400 20px/1 Inter, sans-serif;
}

.category:hover,
.category:focus-visible {
  border-color: var(--media-ink);
  box-shadow: none;
  transform: none;
  background: var(--media-charcoal);
  color: #fff;
}
.category-icon {
  width: 48px;
  height: 48px;
  margin-right: 17px;
  background: transparent;
}
.category-icon svg { width: 34px; height: 34px; stroke: currentColor; }
.category-name { color: inherit; font: 600 20px/1.5 "Noto Serif JP", serif; }
.category-count { color: #858885; font: 400 11px/1 Inter, sans-serif; letter-spacing: .08em; }
.category:hover .category-count { color: #c8cac8; }

/* Series */
#series {
  width: 100%;
  padding: 110px max(32px, calc((100% - 1280px) / 2)) 116px;
  background: var(--media-night);
  color: #fff;
}

#series .section-header {
  max-width: 1280px;
  margin-inline: auto;
  padding-bottom: 30px;
  border-bottom: 1px solid #555b58;
}

#series .section-title { color: #fff; }
#series .section-eyebrow { color: rgba(255, 255, 255, .9); }

.series-grid {
  max-width: 1280px;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.series-card {
  min-height: 335px;
  padding: 36px 34px;
  border: 0;
  border-right: 1px solid rgba(30, 31, 30, .58);
  border-radius: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.series-card:last-child { border-right: 0; }
.series-card:hover { border-color: rgba(30, 31, 30, .58); box-shadow: none; transform: none; background: rgba(25, 26, 25, .16); }
.series-step { color: rgba(255, 255, 255, .88); font: 500 11px/1 Inter, sans-serif; letter-spacing: .18em; }
.series-name { margin-top: 54px; color: #fff; font: 500 28px/1.45 "Noto Serif JP", serif; }
.series-desc { max-width: 300px; margin-top: auto; color: rgba(255, 255, 255, .9); font-size: 13px; }
.series-meta { margin-top: 18px; color: #fff; font: 500 11px/1 Inter, "Noto Sans JP", sans-serif; letter-spacing: .04em; }

/* Article archive */
#stories {
  width: min(1280px, calc(100% - 64px));
  padding-top: 118px;
}

.search-wrap {
  max-width: none;
  margin: -7px 0 42px auto;
}

.search-box {
  max-width: 430px;
  margin-left: auto;
  border: 0;
  border-bottom: 1px solid var(--media-ink);
  border-radius: 0;
  background: transparent;
}

.search-box:focus-within {
  border-color: var(--media-green);
  box-shadow: none;
}

.search-box input { font-size: 13px; }
.search-status { text-align: right; }

.post-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 58px 26px;
}

.post-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.post-card:hover { transform: none; box-shadow: none; }
.post-thumb { aspect-ratio: 1.18 / 1; background: #e1e3e1; }

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.08) saturate(.94) contrast(1.01);
  transition: transform .5s ease, filter .5s ease;
}

.post-card:hover .post-thumb img { transform: scale(1.025); filter: brightness(1.1) saturate(1) contrast(1.02); }

.post-badge {
  top: auto;
  right: auto;
  bottom: 0;
  left: 0;
  padding: 7px 10px;
  border-radius: 0;
  background: rgba(17, 19, 19, .92);
  color: #fff;
  font: 500 9px/1 Inter, "Noto Sans JP", sans-serif;
  letter-spacing: .08em;
}

.post-newbadge {
  top: 10px;
  left: 10px;
  border-radius: 0;
  background: var(--media-green);
  font: 600 9px/1 Inter, sans-serif;
  letter-spacing: .12em;
}

.post-body { padding: 16px 0 0; }
.post-date { color: #949895; font: 400 10px/1 Inter, sans-serif; letter-spacing: .08em; }

.post-card-title {
  margin-top: 8px;
  color: var(--media-ink);
  font: 600 16px/1.68 "Noto Serif JP", serif;
  letter-spacing: .01em;
}

.post-card-excerpt { display: none; }

/* Profile and footer */
.profile-section {
  padding: 98px 0;
  background: var(--media-pale);
}

.profile-inner {
  padding: 0;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 38px;
  align-items: center;
  text-align: left;
}

.profile-eyebrow {
  grid-column: 2;
  align-self: end;
  color: var(--media-green);
  font: 500 10px/1 Inter, sans-serif;
  letter-spacing: .18em;
}

.profile-avatar {
  grid-row: 1 / span 4;
  align-self: center;
}

.profile-avatar img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(.75);
}

.profile-name {
  grid-column: 2;
  font: 600 23px/1.4 "Noto Serif JP", serif;
}

.profile-role { display: none; }

.profile-text {
  grid-column: 2;
  max-width: 720px;
  color: var(--media-muted);
  font-size: 14px;
  line-height: 1.8;
}

.profile-link {
  grid-column: 3;
  grid-row: 1 / span 4;
  width: 205px;
  height: 52px;
  background: var(--accent);
  color: var(--media-white);
  border: 1px solid var(--accent);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 500 11px/1 Inter, "Noto Sans JP", sans-serif;
  letter-spacing: .08em;
}

.profile-link:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

footer {
  padding: 58px 0 32px;
  border-top: 1px solid var(--media-line);
  background: var(--media-white);
}

.footer-inner { padding: 0; }
.footer-nav { justify-content: flex-start; gap: 26px; }
.footer-nav a { color: var(--media-ink); font-size: 12px; }
.footer-mura { padding: 28px 0; border-bottom: 1px solid var(--media-line); }
.footer-mura-label { color: var(--media-muted); }
.footer-copy { color: #919593; font: 400 10px/1 Inter, sans-serif; letter-spacing: .08em; }

@media (max-width: 1000px) {
  .category-inner { justify-content: flex-start; overflow-x: auto; padding: 0 28px; gap: 30px; }
  .lead-feature { padding-left: 58px; }
  .slide-rail { width: 58px; }
  .lead-visual { height: min(700px, calc(100vh - 188px)); }
  .number-board { grid-template-columns: 2fr 1fr 1fr; }
  .figure:nth-child(3) { border-right: 0; }
  .figure:last-child { border-top: 1px solid var(--media-line); }
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-inner { grid-template-columns: 96px 1fr; }
  .profile-avatar img { width: 96px; height: 96px; }
  .profile-link { grid-column: 2; grid-row: auto; }
}

@media (max-width: 700px) {
  .media-wrap,
  .section,
  .profile-inner,
  .footer-inner,
  #stories { width: calc(100% - 30px); }

  .masthead { height: 96px; }
  .masthead-inner { grid-template-columns: 46px 1fr 46px; }
  .mast-side { gap: 0; font-size: 0; }
  .mast-side > a:not(:first-child) { display: none; }
  .mast-side.right { justify-content: flex-end; }
  .search-link span { display: none; }
  .wordmark strong { font-size: 43px; }
  .wordmark span { margin-top: 12px; font-size: 8px; letter-spacing: .2em; }
  .category-inner { height: 52px; padding-inline: 16px; gap: 24px; }
  .category-inner a { font-size: 12px; }

  .lead-feature { padding-left: 0; }
  .slide-rail { display: none; }
  .lead-visual { height: min(640px, calc(100vh - 148px)); min-height: 500px; }
  .lead-visual > img { object-position: 62% bottom; }
  .lead-copy { left: 23px; right: 23px; bottom: 9%; width: auto; }
  .lead-copy h1 { font-size: 31px; line-height: 1.48; }
  .lead-copy p { max-width: 330px; font-size: 13px; }
  .lead-count { right: 18px; bottom: 16px; }

  .numbers-section,
  .section,
  .profile-section { padding-top: 82px; padding-bottom: 82px; }

  .editorial-head,
  .section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
  }

  .editorial-head h2,
  .section-title { font-size: 39px; }
  #start-here-title { font-size: clamp(23px, 6.2vw, 35px); white-space: nowrap; }
  .editorial-head p { text-align: left; font-size: 13px; }
  .section-eyebrow { position: static; margin: 0 0 -6px; }
  .start-here-lead { margin: 0; }

  .number-board { grid-template-columns: 1fr 1fr; }
  .figure { min-height: 150px; padding: 24px 18px; border-top: 1px solid var(--media-line); }
  .figure.primary { grid-column: 1 / -1; border-top: 0; border-right: 0; }
  .figure strong { font-size: 27px; }
  .figure.primary strong { font-size: 53px; }
  .number-note { text-align: left; }

  .features,
  .series-grid { grid-template-columns: 1fr; }
  .feature { min-height: 280px; }
  .categories { grid-template-columns: 1fr; }
  .categories { gap: 12px; }
  .category { min-height: 180px; border-right: 0; border-bottom: 0; }
  #series { padding: 82px 15px; }
  .series-card { min-height: 250px; border-right: 0; border-bottom: 1px solid rgba(30, 31, 30, .58); padding-inline: 6px; }
  .series-card:last-child { border-bottom: 0; }

  .search-wrap { margin-top: 0; }
  .search-box { max-width: none; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 15px; }
  .post-card-title { font-size: 14px; line-height: 1.65; }
  .post-body { padding-top: 13px; }

  .profile-inner { grid-template-columns: 78px 1fr; gap: 18px 22px; }
  .profile-avatar { grid-row: 1 / span 2; }
  .profile-avatar img { width: 76px; height: 76px; }
  .profile-eyebrow { grid-column: 2; }
  .profile-name { grid-column: 2; }
  .profile-text { grid-column: 1 / -1; }
  .profile-link { grid-column: 1 / -1; width: 100%; }
  .footer-nav { gap: 12px 20px; }
}

@media (max-width: 420px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-thumb { aspect-ratio: 1.3 / 1; }
}
