:root {
  --tn-paper: #f7f3e9;
  --tn-paper-deep: #eee8da;
  --tn-surface: #fffdf8;
  --tn-ink: #24352f;
  --tn-muted: #5f6e67;
  --tn-moss: #506f61;
  --tn-accent: var(--tn-moss);
  --tn-accent-dark: #39584c;
  --tn-accent-soft: #edf4ef;
  --tn-plum: #79556f;
  --tn-magenta: var(--tn-plum);
  --tn-apricot: #d9764d;
  --tn-apricot-soft: #fae8dc;
  --tn-lavender: #79556f;
  --tn-sage: #506f61;
  --tn-yellow: #d9764d;
  --tn-rule: rgba(36, 53, 47, 0.24);
  --tn-shell: 1120px;
  --tn-radius: 4px;
}

.tn-front-page {
  margin: 0;
  overflow-x: hidden;
  background-attachment: scroll;
  background-color: var(--tn-paper);
  background-image:
    linear-gradient(rgba(80, 111, 97, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 8% 2%, rgba(236, 185, 149, 0.36), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(218, 207, 219, 0.34), transparent 22rem);
  background-size: 100% 28px, auto, auto;
  color: var(--tn-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "BIZ UDPMincho", Georgia, serif;
  font-size: 16px;
  line-height: 1.85;
  text-wrap: pretty;
}

.tn-front-page.tn-font-gothic {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
}

.tn-front-page.tn-corners-soft {
  --tn-radius: 14px;
}

.tn-front-page.tn-corners-round {
  --tn-radius: 24px;
}

/* Complete design presets share the same semantic HTML and tn-* contract. */
.tn-front-page.tn-design-soft {
  background-image:
    radial-gradient(circle at 8% 2%, rgba(245, 211, 220, 0.48), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(224, 214, 234, 0.42), transparent 22rem);
}

.tn-front-page.tn-design-clear {
  background-image:
    linear-gradient(rgba(54, 95, 122, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 90% 8%, rgba(198, 222, 237, 0.42), transparent 24rem);
  background-size: 100% 32px, auto;
}

.tn-design-soft .tn-hero,
.tn-design-soft .tn-newsletter,
.tn-design-soft .tn-category-card,
.tn-design-soft .tn-pr-card,
.tn-design-soft .tn-profile {
  border-radius: calc(var(--tn-radius) + 10px);
}

.tn-design-soft .tn-hero__visual {
  background:
    radial-gradient(circle at 82% 25%, rgba(255, 244, 225, 0.82), transparent 17%),
    linear-gradient(145deg, #ecd9df, #d9cce3 48%, #e9baaa);
}

.tn-design-soft .tn-hero__title span {
  background-image: linear-gradient(transparent 74%, rgba(146, 80, 106, 0.17) 74%);
}

.tn-design-clear .tn-hero,
.tn-design-clear .tn-newsletter,
.tn-design-clear .tn-category-card,
.tn-design-clear .tn-pr-card,
.tn-design-clear .tn-profile {
  border-radius: min(var(--tn-radius), 10px);
  box-shadow: 0 12px 34px rgba(34, 49, 58, 0.07);
}

.tn-design-clear .tn-hero__visual {
  background:
    radial-gradient(circle at 82% 25%, rgba(255, 255, 255, 0.78), transparent 18%),
    linear-gradient(145deg, #dbe8ef, #b9d1df 48%, #d9e4ea);
}

.tn-design-clear .tn-hero__title span {
  background-image: linear-gradient(transparent 78%, rgba(54, 95, 122, 0.14) 78%);
}

.tn-design-clear .tn-button,
.tn-design-clear .tn-newsletter__button {
  border-radius: 8px;
}

.tn-design-clear .tn-nav__brand::before {
  border-radius: 8px;
}

.tn-front-page *,
.tn-front-page *::before,
.tn-front-page *::after {
  box-sizing: border-box;
}

.tn-front-page a {
  color: var(--tn-moss);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.tn-front-page a:hover {
  color: var(--tn-accent-dark);
}

.tn-front-page :focus-visible {
  outline: 3px solid var(--tn-magenta);
  outline-offset: 4px;
}

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

.tn-skip-link {
  position: fixed;
  z-index: 99999;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--tn-ink);
  color: var(--tn-paper) !important;
}

.tn-skip-link:focus {
  transform: translateY(0);
}

.tn-site-header {
  border-bottom: 1px solid rgba(80, 111, 97, 0.16);
  background: rgba(255, 253, 252, 0.9);
  backdrop-filter: blur(12px);
}

.tn-nav {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.tn-nav__brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tn-ink) !important;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.tn-nav__brand::before {
  content: "つ";
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50% 50% 50% 7px;
  background: var(--tn-moss);
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 17px;
}

.tn-nav__links {
  display: flex;
  align-items: center;
  gap: 4px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tn-nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 10px;
  border-radius: 999px;
  color: var(--tn-ink);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.tn-nav__links a:hover,
.tn-nav__links .current-menu-item > a {
  background: var(--tn-accent-soft);
  color: var(--tn-accent-dark);
}

.tn-hero {
  position: relative;
  isolation: isolate;
  min-height: 470px;
  margin: 32px 0 clamp(68px, 8vw, 96px);
  overflow: hidden;
  border: 1px solid rgba(80, 111, 97, 0.16);
  border-radius: 7px calc(var(--tn-radius) + 10px) calc(var(--tn-radius) + 10px) calc(var(--tn-radius) + 10px);
  background: var(--tn-surface);
  box-shadow: 0 20px 58px rgba(36, 53, 47, 0.09);
}

.tn-hero__copy {
  position: relative;
  z-index: 2;
  width: min(58%, 620px);
  padding: clamp(54px, 7vw, 84px) clamp(28px, 6vw, 72px);
}

.tn-hero__visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 25%, rgba(255, 246, 202, 0.78), transparent 17%),
    linear-gradient(145deg, #d7dfd6, #b8c9bd 48%, #e4b28c);
}

.tn-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 253, 252, 0.98) 0%, rgba(255, 251, 248, 0.9) 37%, rgba(247, 243, 233, 0.54) 58%, rgba(247, 243, 233, 0.03) 78%);
  pointer-events: none;
}

.tn-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Topic presets use the same image contract; only the focal point changes. */
.tn-topic-adsense .tn-hero__image,
.tn-topic-rakuten-amazon .tn-hero__image,
.tn-topic-asp .tn-hero__image,
.tn-topic-youtube .tn-hero__image,
.tn-topic-sns .tn-hero__image,
.tn-topic-books .tn-hero__image,
.tn-topic-pc .tn-hero__image,
.tn-topic-camera .tn-hero__image,
.tn-topic-apparel .tn-hero__image {
  object-position: 72% 50%;
}

.tn-hero-art {
  position: absolute;
  inset: 0;
  display: block;
}

.tn-hero-art__paper {
  position: absolute;
  top: 13%;
  right: 7%;
  width: min(42%, 430px);
  aspect-ratio: 1.24;
  transform: rotate(-5deg);
  border: 10px solid rgba(255, 253, 248, 0.94);
  border-left-width: 24px;
  border-radius: 5px 18px 18px 5px;
  background: repeating-linear-gradient(0deg, #fffdf8 0 26px, #dbe4dd 27px 28px);
  box-shadow: 20px 24px 44px rgba(36, 53, 47, 0.22);
}

.tn-hero-art__paper::before {
  content: "PRACTICE NOTE";
  position: absolute;
  top: 20%;
  left: 13%;
  color: var(--tn-plum);
  font-family: system-ui, sans-serif;
  font-size: clamp(9px, 1.1vw, 13px);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.tn-hero-art__paper::after {
  content: "";
  position: absolute;
  top: 42%;
  right: 12%;
  left: 13%;
  height: 34%;
  background:
    linear-gradient(transparent 58%, rgba(217, 118, 77, 0.18) 58% 76%, transparent 76%),
    linear-gradient(90deg, var(--tn-moss) 0 45%, transparent 45% 52%, var(--tn-apricot) 52% 76%, transparent 76%);
  clip-path: polygon(0 73%, 18% 55%, 38% 62%, 58% 30%, 78% 42%, 100% 0, 100% 100%, 0 100%);
  opacity: 0.72;
}

.tn-hero-art__pencil {
  position: absolute;
  right: 10%;
  bottom: 15%;
  width: min(25%, 245px);
  height: 18px;
  transform: rotate(-27deg);
  border-radius: 999px 4px 4px 999px;
  background: var(--tn-apricot);
  box-shadow: 16px 0 0 -5px var(--tn-ink);
}

.tn-hero-art__tape {
  position: absolute;
  top: 9%;
  right: 23%;
  width: 88px;
  height: 24px;
  transform: rotate(6deg);
  background: rgba(247, 217, 154, 0.76);
  box-shadow: 0 2px 7px rgba(36, 53, 47, 0.08);
}

.tn-hero__eyebrow {
  max-width: 46rem;
  margin: 0 0 26px;
  color: var(--tn-muted);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tn-hero__title {
  margin: 0;
  font-family: "Klee One", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(42px, 5.6vw, 68px);
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1.34;
}

.tn-hero__title span {
  display: block;
  width: fit-content;
  background-image: linear-gradient(transparent 74%, rgba(80, 111, 97, 0.16) 74%);
  text-shadow: 0 10px 28px rgba(57, 88, 76, 0.08);
}

.tn-hero__intro {
  max-width: 42rem;
  margin: 34px 0 0;
  color: var(--tn-ink);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2.05;
}

.tn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 30px;
}

.tn-home-content {
  margin: calc(clamp(68px, 8vw, 96px) * -0.42) 0 clamp(58px, 7vw, 84px);
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(80, 111, 97, 0.14);
  border-radius: 7px var(--tn-radius) var(--tn-radius) var(--tn-radius);
  background: rgba(255, 253, 252, 0.82);
  box-shadow: 0 12px 32px rgba(36, 53, 47, 0.045);
}

.tn-home-content__inner {
  max-width: 760px;
  margin-inline: auto;
  overflow-wrap: anywhere;
}

/* Without the hero there is no preceding bottom margin to overlap. */
.tn-home-hero-hidden > .tn-home-content {
  margin-top: clamp(28px, 4vw, 48px);
}

.tn-home-content__inner > :first-child {
  margin-top: 0;
}

.tn-home-content__inner > :last-child {
  margin-bottom: 0;
}

.tn-home-content__inner h2,
.tn-home-content__inner h3 {
  color: var(--tn-ink);
  line-height: 1.55;
}

.tn-home-content__inner p,
.tn-home-content__inner li {
  color: var(--tn-muted);
  line-height: 2;
}

.tn-home-content__inner img {
  max-width: 100%;
  height: auto;
}

.tn-home-content__inner .wp-block-table {
  max-width: 100%;
  overflow-x: auto;
}

.tn-home-content__inner table {
  width: 100%;
  border-collapse: collapse;
}

.tn-home-content__inner th,
.tn-home-content__inner td {
  padding: 10px 12px;
  border: 1px solid rgba(36, 53, 47, 0.18);
  text-align: left;
}

.tn-home-content__inner .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.tn-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 19px;
  border: 1px solid transparent;
  border-radius: var(--tn-radius);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.tn-button--primary {
  background: var(--tn-accent);
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(80, 111, 97, 0.2);
}

.tn-button--primary:hover {
  background: var(--tn-accent-dark);
  color: #fff;
}

.tn-button--secondary {
  border-color: rgba(36, 53, 47, 0.28);
  color: var(--tn-ink) !important;
}

.tn-button--secondary:hover {
  background: var(--tn-accent-soft);
}

.tn-button--text {
  color: var(--tn-accent) !important;
}

.tn-newsletter {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(230px, 0.52fr);
  align-items: center;
  gap: 24px clamp(28px, 4vw, 52px);
  margin: calc(clamp(68px, 8vw, 96px) * -0.38) 0 clamp(66px, 8vw, 92px);
  padding: clamp(28px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(80, 111, 97, 0.22);
  border-radius: calc(var(--tn-radius) + 8px) 7px calc(var(--tn-radius) + 8px) calc(var(--tn-radius) + 8px);
  background:
    radial-gradient(circle at 98% 0%, rgba(218, 207, 219, 0.64), transparent 17rem),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(250, 232, 220, 0.76));
  box-shadow: 0 18px 46px rgba(36, 53, 47, 0.08);
}

.tn-newsletter::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -54px;
  width: 150px;
  aspect-ratio: 1;
  border: 1px solid rgba(80, 111, 97, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.tn-newsletter__mark {
  position: relative;
  width: 78px;
  aspect-ratio: 1;
  border: 1px solid rgba(80, 111, 97, 0.28);
  border-radius: 50%;
  background: rgba(255, 253, 252, 0.76);
}

.tn-newsletter__mark::before,
.tn-newsletter__mark::after,
.tn-newsletter__mark span::before,
.tn-newsletter__mark span::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.tn-newsletter__mark::before {
  inset: 24px 17px;
  border: 2px solid var(--tn-accent);
  border-radius: 3px;
}

.tn-newsletter__mark::after {
  top: 27px;
  left: 22px;
  width: 31px;
  height: 20px;
  border-right: 2px solid var(--tn-accent);
  border-bottom: 2px solid var(--tn-accent);
  transform: rotate(45deg) skew(-8deg, -8deg);
  transform-origin: center;
}

.tn-newsletter__labels {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.tn-newsletter__labels .tn-kicker {
  margin: 0;
}

.tn-newsletter__copy h2 {
  margin: 0;
  color: var(--tn-ink);
  font-size: clamp(22px, 2.8vw, 31px);
  line-height: 1.55;
}

.tn-newsletter__body {
  max-width: 44rem;
  margin: 12px 0 0;
  color: var(--tn-muted);
  font-size: 14px;
  line-height: 1.95;
}

.tn-newsletter__action {
  position: relative;
  z-index: 1;
}

.tn-newsletter__button {
  width: 100%;
  min-height: 50px;
  background: var(--tn-accent);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(80, 111, 97, 0.2);
}

.tn-newsletter__button:hover {
  background: var(--tn-accent-dark);
  color: #fff !important;
}

.tn-newsletter__action p {
  margin: 10px 0 0;
  color: var(--tn-muted);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 11px;
  line-height: 1.7;
}

.tn-newsletter__privacy a {
  color: var(--tn-muted);
}

.tn-news-index {
  scroll-margin-top: 20px;
  padding-bottom: clamp(64px, 8vw, 96px);
}

.tn-news-index__rule {
  height: 4px;
  border-top: 2px solid var(--tn-accent);
  border-bottom: 1px solid rgba(80, 111, 97, 0.34);
}

.tn-news-index__rule--thin {
  height: 1px;
  border: 0;
  background: rgba(80, 111, 97, 0.4);
}

.tn-news-index__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 11px 0;
  color: var(--tn-muted);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.tn-news-index__meta h2 {
  margin: 0;
  color: var(--tn-ink);
  font: inherit;
  font-weight: 700;
}

.tn-latest-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 56px;
  padding: 24px 0 27px;
}

.tn-latest-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  margin: 0;
}

.tn-latest-row__media,
.tn-latest-row__meta,
.tn-latest-row__excerpt {
  display: none;
}

.tn-latest-row__content {
  min-width: 0;
}

.tn-latest-row__title {
  min-width: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
}

.tn-latest-row__title a {
  color: var(--tn-ink);
  text-decoration: none;
}

.tn-latest-row__title a:hover {
  color: var(--tn-moss);
  text-decoration: underline;
}

.tn-latest-row__leader {
  flex: 1 1 28px;
  min-width: 20px;
  border-bottom: 1px dotted rgba(36, 53, 47, 0.42);
}

.tn-latest-row__date {
  flex: 0 0 auto;
  color: var(--tn-muted);
  font-size: 13px;
  white-space: nowrap;
}

.tn-latest-row.is-newest .tn-latest-row__date {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--tn-accent-soft);
  color: var(--tn-magenta);
  font-weight: 700;
}

/* Layout presets retain the same posts, links and stable tn-* contract. */
.tn-layout-magazine .tn-hero {
  min-height: 390px;
}

.tn-layout-magazine .tn-hero__copy {
  padding-block: clamp(46px, 6vw, 68px);
}

.tn-layout-magazine .tn-news-index__meta {
  align-items: baseline;
}

.tn-layout-magazine .tn-latest-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  padding-block: 30px 34px;
}

.tn-layout-magazine .tn-latest-row {
  display: grid;
  align-content: start;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--tn-rule);
  border-radius: var(--tn-radius);
  background: var(--tn-surface);
  box-shadow: 0 14px 36px rgba(36, 53, 47, 0.07);
}

.tn-layout-magazine .tn-latest-row__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tn-paper-deep);
}

.tn-layout-magazine .tn-latest-row__image,
.tn-layout-magazine .tn-latest-row__placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.tn-layout-magazine .tn-latest-row__image {
  object-fit: cover;
  transition: transform 180ms ease;
}

.tn-layout-magazine .tn-latest-row:hover .tn-latest-row__image {
  transform: scale(1.025);
}

.tn-layout-magazine .tn-latest-row__placeholder {
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(0deg, transparent 0 23px, var(--tn-rule) 24px 25px),
    var(--tn-accent-soft);
}

.tn-layout-magazine .tn-latest-row__placeholder span {
  position: absolute;
  right: 14px;
  bottom: 11px;
  color: var(--tn-accent-dark);
  font: 700 10px/1 system-ui, sans-serif;
  letter-spacing: 0.2em;
}

.tn-layout-magazine .tn-latest-row__content {
  padding: 18px 19px 20px;
}

.tn-layout-magazine .tn-latest-row__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 12px;
  margin-bottom: 9px;
  color: var(--tn-muted);
  font: 600 11px/1.5 system-ui, sans-serif;
  letter-spacing: 0.04em;
}

.tn-layout-magazine .tn-latest-row__meta span {
  color: var(--tn-accent-dark);
}

.tn-layout-magazine .tn-latest-row__title {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.6;
}

.tn-layout-magazine .tn-latest-row__excerpt {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--tn-muted);
  font-size: 13px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tn-layout-magazine .tn-latest-row__leader,
.tn-layout-magazine .tn-latest-row__date {
  display: none;
}

.tn-layout-journal #tn-main {
  display: flex;
  flex-direction: column;
}

.tn-layout-journal .tn-hero { order: 10; }
.tn-layout-journal .tn-home-content { order: 20; }
.tn-layout-journal .tn-newsletter { order: 30; }
.tn-layout-journal .tn-profile { order: 40; }
.tn-layout-journal .tn-news-index { order: 50; }
.tn-layout-journal .tn-categories { order: 60; }
.tn-layout-journal .tn-manifesto { order: 70; }
.tn-layout-journal .tn-pr { order: 80; }

/* Journal reorders sections visually; honor the selected banner slot too. */
.tn-layout-journal .tn-signup--front-before-hero { order: 5; }
.tn-layout-journal .tn-newsletter-position-after-latest > .tn-newsletter { order: 55; }
.tn-layout-journal .tn-newsletter-position-page-bottom > .tn-newsletter { order: 90; }

/* Multiple placements keep their own order instead of moving every banner together. */
.tn-layout-journal .tn-newsletter-positions-multiple > .tn-signup--front-after-hero { order: 30; }
.tn-layout-journal .tn-newsletter-positions-multiple > .tn-signup--front-after-latest { order: 55; }
.tn-layout-journal .tn-newsletter-positions-multiple > .tn-signup--front-page-bottom { order: 90; }

.tn-layout-journal .tn-hero {
  min-height: 420px;
  margin-bottom: clamp(58px, 7vw, 78px);
}

.tn-layout-journal .tn-hero__copy {
  padding-block: clamp(46px, 6vw, 68px);
}

.tn-layout-journal .tn-newsletter {
  margin: -28px 0 clamp(34px, 5vw, 54px);
  border-width: 2px;
  box-shadow: 0 22px 58px rgba(36, 53, 47, 0.12);
}

.tn-layout-journal .tn-profile {
  grid-template-columns: minmax(130px, 190px) minmax(0, 1fr);
  margin-bottom: clamp(62px, 8vw, 92px);
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid var(--tn-rule);
  border-radius: var(--tn-radius);
  background: var(--tn-surface);
  box-shadow: 0 14px 38px rgba(36, 53, 47, 0.06);
}

.tn-layout-journal .tn-profile__figure {
  width: min(100%, 190px);
}

.tn-layout-journal .tn-profile__content h2 {
  font-size: clamp(25px, 3vw, 34px);
}

.tn-layout-journal .tn-news-index {
  padding-top: 4px;
}

/* Female journal: centered masthead, soft editorial hero and author-first flow. */
.tn-front-page.tn-layout-journal {
  background-color: #fff7f8;
  background-image:
    radial-gradient(circle at 12% 6%, rgba(240, 190, 205, 0.36), transparent 25rem),
    radial-gradient(circle at 88% 26%, rgba(223, 207, 236, 0.42), transparent 22rem);
}

.tn-layout-journal .tn-site-header {
  border-bottom: 0;
  background: rgba(255, 249, 250, 0.96);
}

.tn-layout-journal .tn-nav {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 8px;
  padding: 22px 0 14px;
}

.tn-layout-journal .tn-nav__brand {
  font-family: "Klee One", "Yu Mincho", serif;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.12em;
}

.tn-layout-journal .tn-nav__brand::before {
  content: "✿";
  width: 42px;
  border-radius: 50%;
  background: #b75f7d;
  font-size: 17px;
}

.tn-layout-journal .tn-nav__links {
  justify-content: center;
}

.tn-layout-journal .tn-hero {
  min-height: 560px;
  border: 0;
  border-radius: 36px 36px 110px 36px;
  background: #fffdfd;
  box-shadow: 0 28px 80px rgba(126, 78, 96, 0.13);
}

.tn-layout-journal .tn-hero__copy {
  width: min(68%, 720px);
  margin-inline: auto;
  padding: clamp(72px, 9vw, 112px) 34px;
  text-align: center;
}

.tn-layout-journal .tn-hero__eyebrow {
  margin-inline: auto;
  color: #996074;
}

.tn-layout-journal .tn-hero__title span {
  width: auto;
  background: none;
  font-size: clamp(42px, 6.5vw, 76px);
  line-height: 1.28;
}

.tn-layout-journal .tn-hero__intro {
  margin-inline: auto;
}

.tn-layout-journal .tn-actions {
  justify-content: center;
}

.tn-layout-journal .tn-hero__visual {
  opacity: 0.3;
}

.tn-layout-journal .tn-hero__visual::after {
  background: radial-gradient(circle at center, rgba(255, 253, 253, 0.9) 0 38%, rgba(255, 253, 253, 0.3) 74%);
}

.tn-layout-journal .tn-newsletter {
  border-color: rgba(183, 95, 125, 0.32);
  border-radius: 34px;
  background: linear-gradient(135deg, #fff, #fae8ef 62%, #eee5f5);
}

.tn-layout-journal .tn-profile__image-wrap {
  border-radius: 42% 58% 48% 52% / 54% 42% 58% 46%;
}

/* Web magazine: dark masthead, hard edges and image-led editorial cards. */
.tn-front-page.tn-layout-magazine {
  background: #f1f0eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
}

.tn-layout-magazine .tn-shell {
  --tn-shell: 1180px;
}

.tn-layout-magazine .tn-site-header {
  border: 0;
  background: #172630;
  color: #fff;
}

.tn-layout-magazine .tn-nav {
  min-height: 96px;
}

.tn-layout-magazine .tn-nav__brand,
.tn-layout-magazine .tn-nav__links a {
  color: #fff !important;
}

.tn-layout-magazine .tn-nav__brand {
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.tn-layout-magazine .tn-nav__brand::before {
  content: "M";
  border-radius: 0;
  background: #df6a3b;
  font-family: system-ui, sans-serif;
  font-weight: 900;
}

.tn-layout-magazine .tn-nav__links a:hover,
.tn-layout-magazine .tn-nav__links .current-menu-item > a {
  background: #df6a3b;
  color: #fff;
}

.tn-layout-magazine .tn-hero {
  min-height: 470px;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.tn-layout-magazine .tn-hero__copy {
  width: 54%;
  padding: clamp(52px, 7vw, 82px);
}

.tn-layout-magazine .tn-hero__title {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.tn-layout-magazine .tn-hero__title span {
  background: none;
}

.tn-layout-magazine .tn-hero__eyebrow {
  display: inline-block;
  padding: 5px 10px;
  background: #df6a3b;
  color: #fff;
  letter-spacing: 0.08em;
}

.tn-layout-magazine .tn-hero__visual::after {
  background: linear-gradient(90deg, #fff 0 46%, rgba(255, 255, 255, 0.05) 68%);
}

.tn-layout-magazine .tn-news-index__rule {
  height: 8px;
  border: 0;
  background: #172630;
}

.tn-layout-magazine .tn-news-index__meta h2 {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.tn-layout-magazine .tn-latest-row {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.tn-layout-magazine .tn-latest-row__content {
  border-top: 5px solid #df6a3b;
}

.tn-layout-magazine .tn-category-card,
.tn-layout-magazine .tn-pr-card,
.tn-layout-magazine .tn-profile {
  border-radius: 0;
}

/* Revenue blog: utility header, compact hero and a content/sidebar dashboard. */
.tn-front-page.tn-layout-revenue {
  background: #f6f7f9;
  background-image: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
}

.tn-layout-revenue .tn-site-header {
  border-top: 6px solid #f2b705;
  border-bottom: 1px solid #dce1e6;
  background: #fff;
}

.tn-layout-revenue .tn-nav__brand {
  color: #142b3b !important;
  font-size: 22px;
  font-weight: 800;
}

.tn-layout-revenue .tn-nav__brand::before {
  content: "✓";
  border-radius: 9px;
  background: #f2b705;
  color: #142b3b;
  font-family: system-ui, sans-serif;
  font-weight: 900;
}

.tn-layout-revenue #tn-main {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(270px, 0.78fr);
  gap: 0 clamp(30px, 4vw, 52px);
}

/* Hidden blocks must not reserve an empty main or sidebar column. */
.tn-layout-revenue #tn-main.tn-home-single-column {
  display: block;
}

.tn-layout-revenue .tn-hero,
.tn-layout-revenue .tn-home-content,
.tn-layout-revenue .tn-newsletter,
.tn-layout-revenue .tn-manifesto {
  grid-column: 1 / -1;
}

.tn-layout-revenue .tn-hero {
  min-height: 350px;
  margin: 28px 0 58px;
  border: 0;
  border-left: 12px solid #f2b705;
  border-radius: 0;
  background: #142b3b;
  box-shadow: none;
}

.tn-layout-revenue .tn-hero__copy {
  width: 62%;
  padding: clamp(44px, 6vw, 68px);
}

.tn-layout-revenue .tn-hero__eyebrow,
.tn-layout-revenue .tn-hero__intro,
.tn-layout-revenue .tn-hero__title {
  color: #fff;
}

.tn-layout-revenue .tn-hero__title {
  font-family: system-ui, sans-serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.tn-layout-revenue .tn-hero__title span {
  background: none;
}

.tn-layout-revenue .tn-hero__visual {
  opacity: 0.42;
}

.tn-layout-revenue .tn-hero__visual::after {
  background: linear-gradient(90deg, #142b3b 0 48%, rgba(20, 43, 59, 0.16) 76%);
}

.tn-layout-revenue .tn-button--primary,
.tn-layout-revenue .tn-newsletter__button {
  background: #f2b705;
  color: #142b3b !important;
  box-shadow: none;
}

.tn-layout-revenue .tn-news-index {
  grid-column: 1;
  grid-row: 4 / span 2;
}

.tn-layout-revenue .tn-categories {
  grid-column: 2;
  grid-row: 4;
  padding-top: 0;
}

.tn-layout-revenue .tn-profile {
  grid-column: 2;
  grid-row: 5;
  grid-template-columns: 1fr;
  align-self: start;
  gap: 18px;
  padding: 26px;
  border: 1px solid #dce1e6;
  border-top: 6px solid #f2b705;
  border-radius: 0;
  background: #fff;
}

.tn-layout-revenue .tn-profile__figure {
  width: 110px;
}

.tn-layout-revenue .tn-profile__content h2 {
  font-size: 24px;
}

.tn-layout-revenue .tn-category-grid,
.tn-layout-revenue .tn-pr__grid {
  grid-template-columns: 1fr;
}

.tn-layout-revenue .tn-category-card,
.tn-layout-revenue .tn-pr-card {
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.tn-layout-revenue .tn-pr {
  grid-column: 1;
}

/* Keep later banner slots below the fixed article/sidebar rows. Explicit rows
   also prevent grid auto-placement from backfilling a gap above the articles. */
.tn-layout-revenue .tn-newsletter-position-after-latest {
  --tn-front-signup-row: 6;
  --tn-front-manifesto-row: 7;
  --tn-front-pr-row: 8;
}

.tn-layout-revenue .tn-newsletter-position-page-bottom {
  --tn-front-signup-row: 8;
  --tn-front-manifesto-row: 6;
  --tn-front-pr-row: 7;
}

.tn-layout-revenue :is(.tn-newsletter-position-after-latest, .tn-newsletter-position-page-bottom) > .tn-hero { grid-row: 1; }
.tn-layout-revenue :is(.tn-newsletter-position-after-latest, .tn-newsletter-position-page-bottom) > .tn-home-content { grid-row: 2; }
.tn-layout-revenue :is(.tn-newsletter-position-after-latest, .tn-newsletter-position-page-bottom) > .tn-newsletter { grid-row: var(--tn-front-signup-row); }
.tn-layout-revenue :is(.tn-newsletter-position-after-latest, .tn-newsletter-position-page-bottom) > .tn-manifesto { grid-row: var(--tn-front-manifesto-row); }
.tn-layout-revenue :is(.tn-newsletter-position-after-latest, .tn-newsletter-position-page-bottom) > .tn-pr { grid-row: var(--tn-front-pr-row); }

/* Reserve distinct full-width rows for each simultaneous banner. Empty rows
   collapse because the main grid has no row gap; article/sidebar rows stay put. */
.tn-layout-revenue .tn-newsletter-positions-multiple > .tn-hero { grid-row: 1; }
.tn-layout-revenue .tn-newsletter-positions-multiple > .tn-home-content { grid-row: 2; }
.tn-layout-revenue .tn-newsletter-positions-multiple > .tn-signup--front-after-hero { grid-row: 3; }
.tn-layout-revenue .tn-newsletter-positions-multiple > .tn-signup--front-after-latest { grid-row: 6; }
.tn-layout-revenue .tn-newsletter-positions-multiple > .tn-manifesto { grid-row: 7; }
.tn-layout-revenue .tn-newsletter-positions-multiple > .tn-pr { grid-row: 8; }
.tn-layout-revenue .tn-newsletter-positions-multiple > .tn-signup--front-page-bottom { grid-row: 9; }

/* Only a visible above-header banner shifts the revenue grid. Explicit rows
   prevent auto-placement from moving it below a later fixed article/sidebar row.
   Missing blocks leave zero-height rows; pre-existing selections stay unchanged. */
.tn-layout-revenue .tn-newsletter-has-before-hero > .tn-signup--front-before-hero { grid-row: 1; }
.tn-layout-revenue .tn-newsletter-has-before-hero > .tn-hero { grid-row: 2; }
.tn-layout-revenue .tn-newsletter-has-before-hero > .tn-home-content { grid-row: 3; }
.tn-layout-revenue .tn-newsletter-has-before-hero > .tn-signup--front-after-hero { grid-row: 4; }
.tn-layout-revenue .tn-newsletter-has-before-hero > .tn-news-index { grid-row: 5 / span 2; }
.tn-layout-revenue .tn-newsletter-has-before-hero > .tn-categories { grid-row: 5; }
.tn-layout-revenue .tn-newsletter-has-before-hero > .tn-profile { grid-row: 6; }
.tn-layout-revenue .tn-newsletter-has-before-hero > .tn-signup--front-after-latest { grid-row: 7; }
.tn-layout-revenue .tn-newsletter-has-before-hero > .tn-manifesto { grid-row: 8; }
.tn-layout-revenue .tn-newsletter-has-before-hero > .tn-pr { grid-row: 9; }
.tn-layout-revenue .tn-newsletter-has-before-hero > .tn-signup--front-page-bottom { grid-row: 10; }

.tn-layout-revenue .tn-latest-list {
  grid-template-columns: 1fr;
  gap: 18px;
}

.tn-layout-revenue .tn-latest-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid #dce1e6;
  border-left: 5px solid #f2b705;
  background: #fff;
}

.tn-layout-revenue .tn-latest-row__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef1f3;
}

.tn-layout-revenue .tn-latest-row__image,
.tn-layout-revenue .tn-latest-row__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tn-layout-revenue .tn-latest-row__placeholder {
  background: linear-gradient(135deg, #f2b705, #ffe27b);
}

.tn-layout-revenue .tn-latest-row__meta,
.tn-layout-revenue .tn-latest-row__excerpt {
  display: block;
}

.tn-layout-revenue .tn-latest-row__meta {
  margin-bottom: 5px;
  color: #61717c;
  font-size: 11px;
}

.tn-layout-revenue .tn-latest-row__meta time {
  margin-left: 10px;
}

.tn-layout-revenue .tn-latest-row__excerpt {
  margin: 7px 0 0;
  color: #61717c;
  font-size: 12px;
  line-height: 1.65;
}

.tn-layout-revenue .tn-latest-row__leader,
.tn-layout-revenue .tn-latest-row__date {
  display: none;
}

.tn-pagination {
  margin-top: 24px;
}

.tn-pagination > .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  line-height: normal;
  list-style: none;
}

.tn-pagination > .page-numbers > li {
  display: block;
  margin: 0;
}

.tn-pagination a,
.tn-pagination .current,
.tn-pagination .dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 44px;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid var(--tn-rule) !important;
  border-radius: var(--tn-radius);
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.tn-pagination .current {
  border-color: var(--tn-ink) !important;
  background: var(--tn-ink);
  color: var(--tn-paper);
}

.tn-pagination .dots {
  background: transparent;
}

.tn-kicker {
  margin: 0 0 10px;
  color: var(--tn-magenta);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.tn-section-title {
  margin: 0 0 28px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.tn-section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--tn-accent);
}

.tn-categories {
  padding: 24px 0 44px;
}

.tn-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tn-category-card {
  position: relative;
  padding: 22px 24px;
  border: 1px solid rgba(80, 111, 97, 0.17);
  border-radius: var(--tn-radius) var(--tn-radius) var(--tn-radius) 7px;
  background: rgba(255, 253, 252, 0.82);
  box-shadow: 0 12px 32px rgba(36, 53, 47, 0.055);
}

.tn-category-card__count {
  margin: 0 0 8px;
  color: var(--tn-magenta);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.tn-category-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
}

.tn-category-card p:not(.tn-category-card__count) {
  margin: 12px 0;
  color: var(--tn-muted);
  font-size: 14px;
  line-height: 1.95;
}

.tn-category-card > a,
.tn-pr-card > a,
.tn-pr__policy a {
  font-size: 14px;
  font-weight: 600;
}

.tn-manifesto {
  margin-top: clamp(50px, 7vw, 78px);
  padding: clamp(40px, 6vw, 66px) clamp(24px, 7vw, 78px);
  border: 1px solid rgba(80, 111, 97, 0.14);
  border-radius: calc(var(--tn-radius) + 6px);
  background:
    radial-gradient(circle at 92% 20%, rgba(218, 207, 219, 0.55), transparent 15rem),
    var(--tn-accent-soft);
}

.tn-manifesto blockquote {
  max-width: 30em;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--tn-ink);
  font-family: "Klee One", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(23px, 3vw, 33px);
  font-style: normal;
  line-height: 1.85;
  letter-spacing: 0.045em;
}

.tn-manifesto blockquote::before,
.tn-manifesto blockquote::after {
  content: none;
}

.tn-manifesto > p {
  margin: 18px 0 0;
  color: var(--tn-muted);
  font-size: 13px;
}

.tn-pr {
  padding: 64px 0 38px;
}

.tn-pr__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tn-pr-card {
  padding: 24px;
  border: 1px solid rgba(80, 111, 97, 0.17);
  border-radius: var(--tn-radius) 7px var(--tn-radius) var(--tn-radius);
  background: rgba(255, 253, 252, 0.82);
  box-shadow: 0 12px 32px rgba(36, 53, 47, 0.055);
}

.tn-pr-card p {
  margin: 12px 0;
  color: var(--tn-muted);
  font-size: 14px;
  line-height: 1.95;
}

.tn-pr-card > p:first-child {
  margin-top: 0;
}

.tn-pr-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.5;
}

.tn-pr-label {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--tn-accent-soft);
  color: var(--tn-magenta);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.tn-link-placeholder {
  color: var(--tn-muted);
  font-size: 13px;
}

.tn-pr__policy {
  margin: 22px 0 0;
}

.tn-profile {
  display: grid;
  grid-template-columns: minmax(220px, 4fr) minmax(0, 8fr);
  align-items: center;
  gap: 34px clamp(42px, 7vw, 92px);
  padding: clamp(70px, 9vw, 110px) 0 clamp(78px, 10vw, 120px);
  scroll-margin-top: 20px;
}

.tn-profile__figure {
  width: min(100%, 310px);
  margin: 0;
}

.tn-profile__image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 5px solid var(--tn-surface);
  border-radius: 50%;
  background: var(--tn-paper-deep);
  box-shadow:
    0 0 0 1px rgba(80, 111, 97, 0.25),
    0 18px 42px rgba(36, 53, 47, 0.12);
}

.tn-profile__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(36, 53, 47, 0.1) 0.55px, transparent 0.6px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
}

.tn-profile__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(0.98);
}

.tn-profile__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    radial-gradient(circle at 68% 23%, rgba(255, 255, 255, 0.52), transparent 25%),
    linear-gradient(145deg, var(--tn-plum), #9b7c95);
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(54px, 9vw, 94px);
}

.tn-profile__content h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.45;
}

.tn-profile__content h2 small {
  color: var(--tn-muted);
  font-size: 0.52em;
  font-weight: 400;
}

.tn-profile__content > p:not(.tn-kicker) {
  max-width: 42rem;
  margin: 18px 0 0;
  color: var(--tn-muted);
  font-size: 15px;
  line-height: 2.05;
}

.tn-empty {
  margin: 0;
  color: var(--tn-muted);
}

.tn-footer {
  border-top: 1px solid rgba(80, 111, 97, 0.16);
  background: var(--tn-paper-deep);
  color: var(--tn-muted);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 12px;
}

.tn-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 32px;
  padding-block: 38px 48px;
}

.tn-footer__inner p {
  margin: 0;
}

.tn-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.tn-footer a {
  color: var(--tn-muted);
}

@media (max-width: 880px) {
  .tn-nav {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 12px;
  }

  .tn-nav__links {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .tn-latest-list,
  .tn-pr__grid {
    grid-template-columns: 1fr;
  }

  .tn-layout-magazine .tn-latest-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tn-layout-revenue #tn-main {
    display: block;
  }

  .tn-layout-revenue .tn-profile {
    grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1.45fr);
    margin-bottom: 54px;
  }

  .tn-hero__copy {
    width: 64%;
    padding-inline: 42px;
  }

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

  .tn-profile {
    grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1.6fr);
  }

  .tn-newsletter {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .tn-newsletter__mark {
    width: 62px;
  }

  .tn-newsletter__mark::before {
    inset: 19px 13px;
  }

  .tn-newsletter__mark::after {
    top: 22px;
    left: 17px;
    width: 25px;
    height: 16px;
  }

  .tn-newsletter__action {
    grid-column: 2;
  }
}

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

  .tn-layout-magazine .tn-latest-list {
    grid-template-columns: 1fr;
  }

  .tn-layout-journal .tn-profile {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .tn-layout-journal .tn-profile__figure {
    width: min(62%, 180px);
  }

  .tn-layout-journal .tn-hero,
  .tn-layout-magazine .tn-hero,
  .tn-layout-revenue .tn-hero {
    min-height: 0;
    border-radius: 0;
  }

  .tn-layout-journal .tn-hero__copy,
  .tn-layout-magazine .tn-hero__copy,
  .tn-layout-revenue .tn-hero__copy {
    width: 100%;
    padding: 42px 24px;
  }

  .tn-layout-journal .tn-hero__copy {
    padding-block: 62px;
  }

  .tn-layout-journal .tn-hero__title span {
    font-size: clamp(36px, 12vw, 50px);
  }

  .tn-layout-revenue .tn-profile {
    grid-template-columns: 1fr;
  }

  .tn-layout-revenue .tn-latest-row {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
  }

  .tn-layout-revenue .tn-latest-row__excerpt {
    display: none;
  }

  .tn-nav {
    min-height: auto;
  }

  .tn-nav__brand {
    padding: 8px 0 2px;
  }

  .tn-nav__links {
    gap: 2px 18px;
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .tn-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: 22px;
    border-radius: calc(var(--tn-radius) + 4px);
  }

  .tn-hero__copy {
    width: 100%;
    padding: 42px 24px 30px;
    background: var(--tn-surface);
  }

  /* The revenue header keeps white copy when the photo stacks below it.
     Its image-free variant retains the later transparent-background rule. */
  .tn-layout-revenue .tn-hero__copy {
    background: #142b3b;
  }

  .tn-layout-revenue .tn-hero .tn-button--text {
    color: #fff !important;
  }

  .tn-hero__visual {
    position: relative;
    z-index: auto;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 3 / 2;
  }

  .tn-hero__visual::after {
    background: linear-gradient(180deg, rgba(255, 253, 252, 0.76), transparent 28%);
  }

  .tn-hero__image {
    object-position: 72% 50%;
  }

  .tn-hero-art__paper {
    top: 12%;
    right: 12%;
    width: 62%;
  }

  .tn-hero-art__pencil {
    right: 15%;
    bottom: 12%;
    width: 38%;
  }

  .tn-hero-art__tape {
    top: 8%;
    right: 39%;
    width: 70px;
  }

  .tn-hero__title {
    font-size: clamp(38px, 12vw, 50px);
    letter-spacing: 0.025em;
  }

  .tn-hero__intro {
    margin-top: 26px;
  }

  .tn-home-content {
    margin-top: -28px;
    padding: 24px 20px;
  }

  .tn-newsletter {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: -36px;
    padding: 24px 20px;
  }

  .tn-newsletter__mark {
    display: none;
  }

  .tn-newsletter__action {
    grid-column: auto;
  }

  .tn-news-index__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tn-latest-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    padding: 3px 0 10px;
    border-bottom: 1px dotted rgba(36, 53, 47, 0.24);
  }

  .tn-latest-row__leader {
    display: none;
  }

  .tn-latest-row__date {
    align-self: end;
    font-size: 12px;
  }

  .tn-category-grid {
    grid-template-columns: 1fr;
  }

  .tn-profile {
    grid-template-columns: 1fr;
  }

  .tn-profile__figure {
    width: min(58vw, 230px);
    margin-inline: auto;
  }

  .tn-footer__inner,
  .tn-footer nav {
    display: grid;
  }
}

@media (max-width: 520px) {
  .tn-news-index__meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .tn-actions,
  .tn-button {
    width: 100%;
  }

  .tn-category-card,
  .tn-pr-card,
  .tn-newsletter {
    padding: 20px;
  }
}

@media (max-width: 380px) {
  .tn-shell {
    width: min(calc(100% - 28px), var(--tn-shell));
  }

  .tn-hero__copy {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tn-front-page {
    animation: none !important;
  }

  .tn-front-page *,
  .tn-front-page *::before,
  .tn-front-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Explicit image-free header: no empty photo area, in every layout and viewport. */
.tn-front-page .tn-hero.tn-hero--no-image {
  min-height: 0;
  margin-top: 24px;
  margin-bottom: 56px;
}

.tn-front-page .tn-hero--no-image .tn-hero__copy {
  width: 100%;
  padding: clamp(24px, 3vw, 32px);
  background: transparent;
}

.tn-front-page .tn-hero--no-image .tn-hero__title,
.tn-front-page .tn-hero--no-image .tn-hero__title span {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.4;
}

.tn-front-page .tn-hero--no-image .tn-hero__eyebrow {
  margin-bottom: 16px;
}

.tn-front-page .tn-hero--no-image .tn-hero__intro {
  max-width: 65ch;
  margin-top: 16px;
  line-height: 1.8;
}

.tn-front-page .tn-hero--no-image .tn-actions {
  margin-top: 20px;
}

.tn-layout-revenue .tn-hero--no-image .tn-button--text {
  color: #fff !important;
}

.tn-front-page .tn-hero--no-image + .tn-newsletter {
  margin-top: 0;
}

/* Above-header placement has its own positive spacing, including small screens.
   It must not inherit the legacy banner's negative overlap with an earlier hero. */
.tn-front-page #tn-main > .tn-signup--front-before-hero {
  margin-top: clamp(24px, 3vw, 32px);
  margin-bottom: clamp(24px, 3vw, 32px);
}

.tn-front-page #tn-main > .tn-signup--front-before-hero + .tn-hero {
  margin-top: 0;
}

@media print {
  .tn-nav__links,
  .tn-actions,
  .tn-newsletter,
  .tn-hero__visual,
  .tn-footer nav {
    display: none !important;
  }

  .tn-front-page {
    background: #fff;
    color: #000;
  }
}

/* Home-only button depth. Direct-child paths exclude the neighboring text
   links, article CTAs and newsletter controls. Existing colors stay intact. */
.tn-front-page .tn-hero > .tn-hero__copy > .tn-actions > a.tn-button--primary:not(:disabled):not([aria-disabled="true"]) {
  --tn-home-button-depth: var(--tn-accent-dark, #39584c);
  box-shadow: inset 0 1px 0 #ffffff30, 0 3px 0 var(--tn-home-button-depth), 0 4px 6px #102b3814;
}
.tn-front-page.tn-layout-revenue .tn-hero > .tn-hero__copy > .tn-actions > a.tn-button--primary:not(:disabled):not([aria-disabled="true"]) {
  --tn-home-button-depth: #b18704;
}
.tn-front-page #tn-profile > .tn-profile__content > .tn-actions > a.tn-button--secondary:not(:disabled):not([aria-disabled="true"]) {
  box-shadow: inset 0 1px 0 #ffffff70, 0 2px 0 #24352f18, 0 4px 6px #24352f0a;
}
.tn-front-page .tn-hero > .tn-hero__copy > .tn-actions > a.tn-button--primary:not(:disabled):not([aria-disabled="true"]):active {
  box-shadow: inset 0 1px 0 #ffffff30, 0 1px 0 var(--tn-home-button-depth), 0 2px 4px #102b3814;
}
.tn-front-page #tn-profile > .tn-profile__content > .tn-actions > a.tn-button--secondary:not(:disabled):not([aria-disabled="true"]):active {
  box-shadow: inset 0 1px 0 #ffffff70, 0 1px 0 #24352f18, 0 2px 4px #24352f0a;
}
.tn-front-page .tn-hero > .tn-hero__copy > .tn-actions > a.tn-button--primary:focus-visible,
.tn-front-page #tn-profile > .tn-profile__content > .tn-actions > a.tn-button--secondary:focus-visible {
  outline: 3px solid var(--tn-ink, #24352f);
  outline-offset: 5px;
}
.tn-front-page.tn-layout-revenue .tn-hero > .tn-hero__copy > .tn-actions > a.tn-button--primary:focus-visible {
  outline-color: #fffdf8;
}
.tn-front-page .tn-hero > .tn-hero__copy > .tn-actions > a.tn-button--primary:is(:disabled, [aria-disabled="true"]),
.tn-front-page #tn-profile > .tn-profile__content > .tn-actions > a.tn-button--secondary:is(:disabled, [aria-disabled="true"]) {
  box-shadow: none;
  transform: none;
  transition: none;
}
@media (prefers-reduced-motion: no-preference) {
  .tn-front-page .tn-hero > .tn-hero__copy > .tn-actions > a.tn-button--primary:not(:disabled):not([aria-disabled="true"]),
  .tn-front-page #tn-profile > .tn-profile__content > .tn-actions > a.tn-button--secondary:not(:disabled):not([aria-disabled="true"]) {
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .tn-front-page .tn-hero > .tn-hero__copy > .tn-actions > a.tn-button--primary:not(:disabled):not([aria-disabled="true"]):active,
  .tn-front-page #tn-profile > .tn-profile__content > .tn-actions > a.tn-button--secondary:not(:disabled):not([aria-disabled="true"]):active {
    transform: translateY(2px);
  }
}
