/* TENIMPER v55.25.137.5 — HOME POLISH + HERO COMPOSITION
   Scope: homepage assets are injected only for / and /index.php.
   No reader/header/comments/Pokoi selectors. */

:root {
  --home-paper: #f3eadb;
  --home-paper-deep: #e8dcc8;
  --home-ink: #2a211c;
  --home-muted: #76685d;
  --home-gold: #9d6b2a;
  --home-gold-soft: rgba(157,107,42,.18);
  --home-red: #7c312a;
  --home-line: rgba(104,73,43,.18);
  --home-surface: rgba(255,250,242,.74);
  --home-surface-strong: rgba(255,250,242,.92);
  --home-shadow: 0 18px 45px rgba(62,40,22,.09);
}

html[data-theme="dark"] {
  --home-paper: #100b0a;
  --home-paper-deep: #18100f;
  --home-ink: #eee1ce;
  --home-muted: #b8a895;
  --home-gold: #cfa15f;
  --home-gold-soft: rgba(207,161,95,.14);
  --home-red: #a0473e;
  --home-line: rgba(220,174,104,.14);
  --home-surface: rgba(27,18,17,.66);
  --home-surface-strong: rgba(29,20,18,.88);
  --home-shadow: 0 20px 52px rgba(0,0,0,.24);
}

/* Page atmosphere — deliberately quieter than v137. */
body {
  background-color: var(--home-paper);
  background-image:
    radial-gradient(700px 340px at 12% -4%, var(--home-gold-soft), transparent 72%),
    linear-gradient(180deg, transparent 0, color-mix(in srgb, var(--home-paper-deep) 40%, transparent) 100%);
  color: var(--home-ink);
}

/* Hero: preserve the existing composition; add depth instead of a new card language. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: var(--home-line);
  box-shadow: var(--home-shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(110deg, color-mix(in srgb, var(--home-paper) 26%, transparent), transparent 52%),
    radial-gradient(520px 260px at 78% 18%, var(--home-gold-soft), transparent 74%);
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(24px, 5vw, 72px);
  right: clamp(24px, 5vw, 72px);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--home-gold) 62%, transparent), transparent);
  opacity: .72;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 13ch;
  text-wrap: balance;
  letter-spacing: -.018em;
}

.hero p {
  color: var(--home-muted);
}

.hero .button,
.hero .btn {
  border-color: color-mix(in srgb, var(--home-gold) 42%, transparent);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--home-gold) 10%, transparent);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.hero .button:hover,
.hero .btn:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--home-gold) 64%, transparent);
  box-shadow: 0 11px 26px color-mix(in srgb, var(--home-gold) 14%, transparent);
}

/* Section rhythm: subtle editorial divider, not a generic boxed dashboard. */
.section-heading {
  position: relative;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.section-heading::after {
  content: "";
  display: block;
  width: min(120px, 24vw);
  height: 1px;
  margin-top: 12px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--home-gold) 58%, transparent), transparent);
}

.section-heading h2 {
  color: var(--home-ink);
  text-wrap: balance;
}

.section-heading .eyebrow,
.eyebrow {
  color: var(--home-gold);
}

/* Story cards: keep imagery dominant and make chrome recede. */
.story-card {
  position: relative;
  overflow: hidden;
  background: var(--home-surface);
  border-color: var(--home-line);
  box-shadow: 0 10px 28px rgba(62,40,22,.055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

html[data-theme="dark"] .story-card {
  box-shadow: 0 12px 30px rgba(0,0,0,.17);
}

.story-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--home-gold) 38%, transparent), transparent);
  opacity: .58;
}

.story-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--home-gold) 28%, var(--home-line));
  box-shadow: var(--home-shadow);
}

.story-card img {
  transition: transform .42s ease, filter .35s ease;
}

.story-card:hover img {
  transform: scale(1.012);
}

.story-card .card-body {
  color: var(--home-ink);
}

.story-card .status {
  color: var(--home-gold);
}

/* Latest publication: one focal editorial block, quieter border. */
.latest {
  position: relative;
  overflow: hidden;
  background: var(--home-surface-strong);
  border-color: var(--home-line);
  box-shadow: var(--home-shadow);
}

.latest::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--home-gold), transparent);
  opacity: .72;
}

.latest-copy {
  color: var(--home-ink);
}

.latest .meta {
  color: var(--home-muted);
}

.latest-media img {
  transition: transform .45s ease;
}

.latest:hover .latest-media img {
  transform: scale(1.012);
}

/* Quote block: literary, not another card. */
.quote-panel {
  position: relative;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--home-surface-strong) 92%, transparent), color-mix(in srgb, var(--home-gold) 4%, transparent));
  border-color: transparent;
  box-shadow: none;
}

.quote-panel::before {
  content: "";
  position: absolute;
  top: 16%;
  bottom: 16%;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--home-gold) 66%, transparent), transparent);
}

.quote-panel .mark {
  color: var(--home-red);
  opacity: .88;
}

.quote-panel p,
.quote-panel cite,
.quote-panel .quote-author {
  color: var(--home-muted);
}

/* Links used on the home page only. */
.text-link {
  color: var(--home-gold);
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
}

.text-link:hover {
  color: color-mix(in srgb, var(--home-gold) 78%, var(--home-ink));
}

/* Light theme gets paper depth without becoming yellow/beige everywhere. */
html:not([data-theme="dark"]) .hero,
html:not([data-theme="dark"]) .latest,
html:not([data-theme="dark"]) .story-card {
  backdrop-filter: blur(7px);
}

@media (max-width: 760px) {
  body {
    background-image:
      radial-gradient(520px 260px at 50% -5%, color-mix(in srgb, var(--home-gold) 10%, transparent), transparent 74%),
      linear-gradient(180deg, transparent, color-mix(in srgb, var(--home-paper-deep) 32%, transparent));
  }

  .hero h1 {
    max-width: 15ch;
  }

  .section-heading::after {
    margin-top: 9px;
  }

  .story-card:hover,
  .hero .button:hover,
  .hero .btn:hover {
    transform: none;
  }

  .latest::before {
    inset: 0 14% auto 14%;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--home-gold), transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-card,
  .story-card img,
  .latest-media img,
  .hero .button,
  .hero .btn {
    transition: none !important;
    transform: none !important;
  }
}

/* v55.25.137.5 — screenshot-led homepage corrections. */
.ti-home-hide-misplaced-glyph {
  display: none !important;
}

/* The Reader app invitation belongs with the opening of the site, not after the footer. */
.ti-home-pwa-top {
  width: min(1296px, calc(100% - 40px)) !important;
  margin: clamp(18px, 2.4vw, 30px) auto clamp(18px, 2.5vw, 34px) !important;
  position: relative;
  z-index: 2;
}

/* If the existing PWA component arrives with footer-oriented spacing, neutralize only that spacing. */
.ti-home-pwa-top:first-child {
  margin-top: clamp(16px, 2vw, 24px) !important;
}

@media (max-width: 760px) {
  .ti-home-pwa-top {
    width: calc(100% - 24px) !important;
    margin: 12px auto 18px !important;
  }
}

/* Hide only explicitly decorative oversized hero watermark class families.
   The intentional small square 影 seal remains untouched. */
.hero :is(.hero-watermark, .hero-sigil, .hero-glyph, .hero-emblem, .hero-hanzi, .hero-kanji) {
  display: none !important;
}


/* v55.25.137.3 — remove only an oversized decorative 影 pseudo-glyph detected at runtime. */
.ti-home-kill-before-glyph::before,
.ti-home-kill-after-glyph::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* v55.25.137.5 — CINEMATIC POSTER HERO
   The artwork stays the star. Copy occupies the lower-left negative space;
   faces remain unobstructed. Mobile gets a separate centered layout. */

.hero.ti-home-hero-v1375 {
  --ti-poster-left: clamp(42px, 5.2vw, 86px);
  --ti-poster-bottom: clamp(46px, 6.4vh, 78px);
  min-height: clamp(650px, 76vh, 790px);
}

/* Keep the picture luminous; darken only the copy zone and the very bottom edge. */
.hero.ti-home-hero-v1375::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 24% 70%, rgba(4,3,3,.58) 0%, rgba(4,3,3,.38) 28%, rgba(4,3,3,.10) 54%, transparent 70%),
    linear-gradient(90deg, rgba(5,4,4,.44) 0%, rgba(5,4,4,.20) 27%, rgba(5,4,4,.04) 55%, transparent 74%),
    linear-gradient(180deg, transparent 48%, rgba(4,3,3,.10) 70%, rgba(4,3,3,.34) 100%);
}

.hero.ti-home-hero-v1375 .ti-home-hero-copy {
  position: relative;
  z-index: 2;
  min-height: clamp(650px, 76vh, 790px);
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
  pointer-events: none;
}

/* Poster title block */
.hero.ti-home-hero-v1375 .ti-home-hero-title {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(560px, 45vw);
  max-width: none !important;
  margin: 0 0 0 var(--ti-poster-left) !important;
  color: #f7efe4;
  text-align: left !important;
  line-height: 1;
  text-shadow: 0 10px 34px rgba(0,0,0,.34);
  pointer-events: auto;
}

.hero.ti-home-hero-v1375 .ti-home-title-top {
  display: block;
  margin: 0 0 clamp(4px, .7vh, 8px);
  padding-left: 5px;
  color: rgba(232, 199, 142, .96);
  font-size: clamp(21px, 1.55vw, 29px);
  font-weight: 500;
  letter-spacing: .34em;
  line-height: 1;
  text-transform: uppercase;
}

.hero.ti-home-hero-v1375 .ti-home-title-main {
  display: block;
  font-size: clamp(68px, 5.15vw, 94px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .92;
  white-space: nowrap;
}

/* Gold seal + hairline becomes a small editorial divider, not a floating badge. */
.hero.ti-home-hero-v1375 .ti-home-hero-seal {
  order: 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: clamp(16px, 2vh, 22px) 0 clamp(14px, 1.8vh, 20px) var(--ti-poster-left) !important;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: auto;
}

.hero.ti-home-hero-v1375 .ti-home-hero-seal::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 14px);
  width: clamp(78px, 8.5vw, 138px);
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(213,164,91,.78), rgba(213,164,91,0));
  pointer-events: none;
}

.hero.ti-home-hero-v1375 .ti-home-hero-tagline {
  order: 3;
  width: min(470px, 39vw);
  max-width: 470px;
  margin: 0 0 0 var(--ti-poster-left) !important;
  color: rgba(248,239,226,.88) !important;
  font-size: clamp(17px, 1.22vw, 21px);
  line-height: 1.52;
  font-weight: 450 !important;
  letter-spacing: .006em;
  text-align: left !important;
  text-wrap: pretty;
  text-shadow: 0 4px 18px rgba(0,0,0,.34);
  pointer-events: auto;
}

.hero.ti-home-hero-v1375 .ti-home-hero-actions {
  order: 4;
  width: min(520px, 44vw);
  margin: clamp(24px, 3vh, 34px) 0 var(--ti-poster-bottom) var(--ti-poster-left) !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 2vw, 28px);
  flex-wrap: wrap;
  pointer-events: auto;
}

/* Main action: restrained antique-gold plaque, not a fat pill. */
.hero.ti-home-hero-v1375 .ti-home-hero-primary,
.hero.ti-home-hero-v1375 .ti-home-hero-secondary {
  min-height: 48px;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.hero.ti-home-hero-v1375 .ti-home-hero-primary {
  min-width: 190px;
  padding: 0 26px !important;
  border-radius: 5px !important;
  border: 1px solid rgba(228,181,106,.74) !important;
  background: linear-gradient(180deg, #d6a34d 0%, #c98d31 100%) !important;
  color: #29190b !important;
  box-shadow: 0 10px 28px rgba(88,52,11,.25), inset 0 1px 0 rgba(255,255,255,.28) !important;
}

.hero.ti-home-hero-v1375 .ti-home-hero-primary::after {
  content: "→";
  margin-left: 12px;
  font-size: 15px;
  line-height: 1;
  transition: transform .18s ease;
}

/* Secondary action deliberately reads like an editorial text link. */
.hero.ti-home-hero-v1375 .ti-home-hero-secondary {
  min-width: 0;
  padding: 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(247,236,220,.84) !important;
  box-shadow: inset 0 -1px 0 rgba(217,168,94,.40) !important;
  backdrop-filter: none !important;
}

.hero.ti-home-hero-v1375 .ti-home-hero-secondary::after {
  content: "↗";
  margin-left: 9px;
  color: rgba(219,171,98,.94);
  font-size: 13px;
}

.hero.ti-home-hero-v1375 .ti-home-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(88,52,11,.32), inset 0 1px 0 rgba(255,255,255,.32) !important;
}

.hero.ti-home-hero-v1375 .ti-home-hero-primary:hover::after {
  transform: translateX(3px);
}

.hero.ti-home-hero-v1375 .ti-home-hero-secondary:hover {
  transform: translateY(-1px);
  color: #fff4e5 !important;
  box-shadow: inset 0 -1px 0 rgba(226,182,113,.82) !important;
}

/* Mid-size desktop: retain poster structure, just tighten it. */
@media (min-width: 821px) and (max-width: 1180px) {
  .hero.ti-home-hero-v1375 {
    --ti-poster-left: clamp(34px, 4.8vw, 56px);
    --ti-poster-bottom: clamp(38px, 5vh, 56px);
  }

  .hero.ti-home-hero-v1375 .ti-home-hero-title {
    width: min(500px, 50vw);
  }

  .hero.ti-home-hero-v1375 .ti-home-title-main {
    font-size: clamp(58px, 6.4vw, 74px);
  }

  .hero.ti-home-hero-v1375 .ti-home-hero-tagline {
    width: min(430px, 44vw);
    font-size: clamp(16px, 1.55vw, 19px);
  }
}

/* Mobile is not a shrunken desktop poster: use a lower centered lockup. */
@media (max-width: 820px) {
  .hero.ti-home-hero-v1375 {
    min-height: clamp(610px, 82svh, 760px);
  }

  .hero.ti-home-hero-v1375::before {
    background:
      linear-gradient(180deg, rgba(5,4,4,.03) 0%, rgba(5,4,4,.12) 46%, rgba(5,4,4,.72) 100%),
      radial-gradient(ellipse at 50% 78%, rgba(5,4,4,.38), transparent 65%);
  }

  .hero.ti-home-hero-v1375 .ti-home-hero-copy {
    min-height: clamp(610px, 82svh, 760px);
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 0 18px clamp(30px, 5vh, 46px) !important;
  }

  .hero.ti-home-hero-v1375 .ti-home-hero-title {
    width: min(100%, 600px);
    margin: 0 !important;
    align-items: center;
    text-align: center !important;
  }

  .hero.ti-home-hero-v1375 .ti-home-title-top {
    padding-left: .34em;
    font-size: clamp(18px, 4.8vw, 23px);
    letter-spacing: .34em;
  }

  .hero.ti-home-hero-v1375 .ti-home-title-main {
    font-size: clamp(49px, 13.2vw, 72px);
    white-space: normal;
    text-align: center;
  }

  .hero.ti-home-hero-v1375 .ti-home-hero-seal {
    margin: 15px auto 14px !important;
  }

  .hero.ti-home-hero-v1375 .ti-home-hero-seal::after {
    display: none;
  }

  .hero.ti-home-hero-v1375 .ti-home-hero-tagline {
    width: min(100%, 480px);
    max-width: 480px;
    margin: 0 !important;
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.48;
    text-align: center !important;
  }

  .hero.ti-home-hero-v1375 .ti-home-hero-actions {
    width: min(100%, 430px);
    margin: 22px 0 0 !important;
    justify-content: center;
    gap: 16px 20px;
  }
}

@media (max-width: 540px) {
  .hero.ti-home-hero-v1375 .ti-home-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    width: min(100%, 320px);
    gap: 12px;
  }

  .hero.ti-home-hero-v1375 .ti-home-hero-primary {
    width: 100%;
    min-width: 0;
  }

  .hero.ti-home-hero-v1375 .ti-home-hero-secondary {
    width: max-content;
    min-width: 0;
    justify-self: center;
    min-height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.ti-home-hero-v1375 .ti-home-hero-primary,
  .hero.ti-home-hero-v1375 .ti-home-hero-secondary,
  .hero.ti-home-hero-v1375 .ti-home-hero-primary::after {
    transition: none !important;
    transform: none !important;
  }
}

/* v55.25.137.6 — INK TYPOGRAPHY PASS
   Typography-only refinement for the homepage hero.
   No external font CDN: resilient system serif/CJK stacks only. */
.hero.ti-home-hero-v1376 {
  --ti-title-serif: "Palatino Linotype", "Book Antiqua", Palatino, "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
  --ti-copy-serif: "Iowan Old Style", Baskerville, "Palatino Linotype", Georgia, "Times New Roman", serif;
  --ti-seal-serif: "Songti SC", STSong, SimSun, "Noto Serif CJK SC", "Source Han Serif SC", serif;
}

/* Carry the existing poster composition forward under the new class. */
.hero.ti-home-hero-v1376 {
  --ti-poster-left: clamp(42px, 5.2vw, 86px);
  --ti-poster-bottom: clamp(46px, 6.4vh, 78px);
  min-height: clamp(650px, 76vh, 790px);
}
.hero.ti-home-hero-v1376::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 24% 70%, rgba(4,3,3,.58) 0%, rgba(4,3,3,.38) 28%, rgba(4,3,3,.10) 54%, transparent 70%),
    linear-gradient(90deg, rgba(5,4,4,.44) 0%, rgba(5,4,4,.20) 27%, rgba(5,4,4,.04) 55%, transparent 74%),
    linear-gradient(180deg, transparent 48%, rgba(4,3,3,.10) 70%, rgba(4,3,3,.34) 100%);
}
.hero.ti-home-hero-v1376 .ti-home-hero-copy {
  position: relative;
  z-index: 2;
  min-height: clamp(650px, 76vh, 790px);
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
  pointer-events: none;
}
.hero.ti-home-hero-v1376 .ti-home-hero-title {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(590px, 47vw);
  max-width: none !important;
  margin: 0 0 0 var(--ti-poster-left) !important;
  color: #f7efe4;
  text-align: left !important;
  line-height: 1;
  text-shadow: 0 10px 34px rgba(0,0,0,.34);
  pointer-events: auto;
}

/* Small title: reads like a formal heading stamped above a manuscript title. */
.hero.ti-home-hero-v1376 .ti-home-title-top {
  display: inline-flex;
  align-items: center;
  margin: 0 0 clamp(7px, .9vh, 11px);
  padding-left: 2px;
  color: rgba(224,190,132,.96);
  font-family: var(--ti-title-serif);
  font-size: clamp(17px, 1.28vw, 23px);
  font-weight: 600;
  font-style: normal;
  font-variant-caps: small-caps;
  letter-spacing: .47em;
  line-height: 1;
  text-transform: uppercase;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.hero.ti-home-hero-v1376 .ti-home-title-top::before {
  content: "";
  width: clamp(28px, 3.2vw, 48px);
  height: 1px;
  margin-right: 15px;
  background: linear-gradient(90deg, rgba(209,158,82,0), rgba(219,170,95,.86));
}

/* Main word: high-contrast, slightly calligraphic, not faux-Chinese. */
.hero.ti-home-hero-v1376 .ti-home-title-main {
  display: block;
  font-family: var(--ti-title-serif);
  font-size: clamp(72px, 5.45vw, 102px);
  font-weight: 400;
  font-style: italic;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures discretionary-ligatures;
  letter-spacing: -.055em;
  line-height: .86;
  white-space: nowrap;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-shadow:
    0 12px 34px rgba(0,0,0,.34),
    0 1px 0 rgba(255,244,224,.10);
}

/* The seal gets a CJK serif stack so 影 feels like a seal inscription, not UI text. */
.hero.ti-home-hero-v1376 .ti-home-hero-seal {
  order: 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: clamp(18px, 2.2vh, 24px) 0 clamp(16px, 2vh, 22px) var(--ti-poster-left) !important;
  transform: none !important;
  box-shadow: none !important;
  font-family: var(--ti-seal-serif) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-rendering: geometricPrecision;
  pointer-events: auto;
}
.hero.ti-home-hero-v1376 .ti-home-hero-seal::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 14px);
  width: clamp(86px, 9.2vw, 150px);
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(213,164,91,.76), rgba(213,164,91,0));
  pointer-events: none;
}

/* Literary line: softer, lighter, almost a note written under the title. */
.hero.ti-home-hero-v1376 .ti-home-hero-tagline {
  order: 3;
  width: min(500px, 41vw);
  max-width: 500px;
  margin: 0 0 0 var(--ti-poster-left) !important;
  color: rgba(248,239,226,.90) !important;
  font-family: var(--ti-copy-serif);
  font-size: clamp(17px, 1.18vw, 20px);
  line-height: 1.58;
  font-weight: 400 !important;
  font-style: italic;
  letter-spacing: .012em;
  text-align: left !important;
  text-wrap: pretty;
  text-shadow: 0 4px 18px rgba(0,0,0,.36);
  pointer-events: auto;
}

.hero.ti-home-hero-v1376 .ti-home-hero-actions {
  order: 4;
  width: min(540px, 46vw);
  margin: clamp(25px, 3.2vh, 36px) 0 var(--ti-poster-bottom) var(--ti-poster-left) !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 2vw, 28px);
  flex-wrap: wrap;
  pointer-events: auto;
}
.hero.ti-home-hero-v1376 .ti-home-hero-primary,
.hero.ti-home-hero-v1376 .ti-home-hero-secondary {
  min-height: 48px;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  font-family: var(--ti-title-serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .115em;
  text-transform: uppercase;
  white-space: nowrap;
  font-variant-caps: small-caps;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.hero.ti-home-hero-v1376 .ti-home-hero-primary {
  min-width: 190px;
  padding: 0 26px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(228,181,106,.74) !important;
  background: linear-gradient(180deg, #d6a34d 0%, #c98d31 100%) !important;
  color: #29190b !important;
  box-shadow: 0 10px 28px rgba(88,52,11,.25), inset 0 1px 0 rgba(255,255,255,.28) !important;
}
.hero.ti-home-hero-v1376 .ti-home-hero-primary::after {
  content: "→";
  margin-left: 12px;
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1;
  transition: transform .18s ease;
}
.hero.ti-home-hero-v1376 .ti-home-hero-secondary {
  min-width: 0;
  padding: 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(247,236,220,.84) !important;
  box-shadow: inset 0 -1px 0 rgba(217,168,94,.40) !important;
  backdrop-filter: none !important;
}
.hero.ti-home-hero-v1376 .ti-home-hero-secondary::after {
  content: "↗";
  margin-left: 9px;
  color: rgba(219,171,98,.94);
  font-family: Georgia, serif;
  font-size: 13px;
}
.hero.ti-home-hero-v1376 .ti-home-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(88,52,11,.32), inset 0 1px 0 rgba(255,255,255,.32) !important;
}
.hero.ti-home-hero-v1376 .ti-home-hero-primary:hover::after { transform: translateX(3px); }
.hero.ti-home-hero-v1376 .ti-home-hero-secondary:hover {
  transform: translateY(-1px);
  color: #fff4e5 !important;
  box-shadow: inset 0 -1px 0 rgba(226,182,113,.82) !important;
}

@media (min-width: 821px) and (max-width: 1180px) {
  .hero.ti-home-hero-v1376 {
    --ti-poster-left: clamp(34px, 4.8vw, 56px);
    --ti-poster-bottom: clamp(38px, 5vh, 56px);
  }
  .hero.ti-home-hero-v1376 .ti-home-hero-title { width: min(530px, 53vw); }
  .hero.ti-home-hero-v1376 .ti-home-title-main { font-size: clamp(62px, 6.7vw, 80px); }
  .hero.ti-home-hero-v1376 .ti-home-hero-tagline {
    width: min(445px, 46vw);
    font-size: clamp(16px, 1.5vw, 19px);
  }
}

@media (max-width: 820px) {
  .hero.ti-home-hero-v1376 { min-height: clamp(610px, 82svh, 760px); }
  .hero.ti-home-hero-v1376::before {
    background:
      linear-gradient(180deg, rgba(5,4,4,.03) 0%, rgba(5,4,4,.12) 46%, rgba(5,4,4,.72) 100%),
      radial-gradient(ellipse at 50% 78%, rgba(5,4,4,.38), transparent 65%);
  }
  .hero.ti-home-hero-v1376 .ti-home-hero-copy {
    min-height: clamp(610px, 82svh, 760px);
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 0 18px clamp(30px, 5vh, 46px) !important;
  }
  .hero.ti-home-hero-v1376 .ti-home-hero-title {
    width: min(100%, 620px);
    margin: 0 !important;
    align-items: center;
    text-align: center !important;
  }
  .hero.ti-home-hero-v1376 .ti-home-title-top {
    padding-left: .47em;
    font-size: clamp(15px, 4vw, 20px);
    letter-spacing: .47em;
  }
  .hero.ti-home-hero-v1376 .ti-home-title-top::before { display: none; }
  .hero.ti-home-hero-v1376 .ti-home-title-main {
    font-size: clamp(52px, 13.8vw, 76px);
    white-space: normal;
    text-align: center;
    line-height: .9;
  }
  .hero.ti-home-hero-v1376 .ti-home-hero-seal { margin: 16px auto 15px !important; }
  .hero.ti-home-hero-v1376 .ti-home-hero-seal::after { display: none; }
  .hero.ti-home-hero-v1376 .ti-home-hero-tagline {
    width: min(100%, 490px);
    max-width: 490px;
    margin: 0 !important;
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.52;
    text-align: center !important;
  }
  .hero.ti-home-hero-v1376 .ti-home-hero-actions {
    width: min(100%, 440px);
    margin: 23px 0 0 !important;
    justify-content: center;
    gap: 16px 20px;
  }
}

@media (max-width: 540px) {
  .hero.ti-home-hero-v1376 .ti-home-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    width: min(100%, 320px);
    gap: 12px;
  }
  .hero.ti-home-hero-v1376 .ti-home-hero-primary { width: 100%; min-width: 0; }
  .hero.ti-home-hero-v1376 .ti-home-hero-secondary {
    width: max-content;
    min-width: 0;
    justify-self: center;
    min-height: 38px;
  }
}

/* v137.6 JS uses .ti-home-hero-v1376. Previous .ti-home-hero-v1375 rules remain inert. */

/* v55.25.137.7 — IMPERIAL CHRONICLE TITLE LOCKUP
   Screenshot-led correction: less romantic-luxury, more court chronicle / printed title page.
   No external fonts, no global reader/header changes. */
.hero.ti-home-hero-v1377 {
  --ti-chronicle-display: Georgia, "Times New Roman", "DejaVu Serif", serif;
  --ti-chronicle-text: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --ti-chronicle-ui: Georgia, "Times New Roman", serif;
  --ti-seal-serif: "Songti SC", STSong, SimSun, "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --ti-chronicle-left: clamp(52px, 7vw, 116px);
  --ti-chronicle-bottom: clamp(44px, 6vh, 72px);
  min-height: clamp(650px, 76vh, 790px);
}

/* Artwork stays readable; the dark field is local to the title area, not a blanket. */
.hero.ti-home-hero-v1377::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 22% 58%, rgba(4,3,3,.62) 0%, rgba(4,3,3,.43) 27%, rgba(4,3,3,.15) 49%, transparent 68%),
    linear-gradient(90deg, rgba(4,3,3,.48) 0%, rgba(4,3,3,.24) 30%, rgba(4,3,3,.05) 58%, transparent 76%),
    linear-gradient(180deg, rgba(4,3,3,.02) 42%, rgba(4,3,3,.10) 70%, rgba(4,3,3,.30) 100%);
}

.hero.ti-home-hero-v1377 .ti-home-hero-copy {
  position: relative;
  z-index: 2;
  min-height: clamp(650px, 76vh, 790px);
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
  pointer-events: none;
}

/* One deliberate title object. The seal is moved into this H1 by v137.7 JS. */
.hero.ti-home-hero-v1377 .ti-home-hero-title {
  order: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(580px, 47vw);
  max-width: none !important;
  margin: 0 0 0 var(--ti-chronicle-left) !important;
  padding: 0;
  color: #f5ead9;
  text-align: left !important;
  line-height: 1;
  text-shadow: 0 9px 28px rgba(0,0,0,.32);
  pointer-events: auto;
}

/* Kicker + seal read as the heading of a historical volume. */
.hero.ti-home-hero-v1377 .ti-home-title-top {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 12px 54px;
  color: rgba(221,181,115,.96);
  font-family: var(--ti-chronicle-text);
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 600;
  font-style: normal;
  letter-spacing: .39em;
  line-height: 1;
  text-transform: uppercase;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.hero.ti-home-hero-v1377 .ti-home-title-top::after {
  content: "";
  width: clamp(42px, 5.2vw, 76px);
  height: 1px;
  margin-left: 12px;
  background: linear-gradient(90deg, rgba(210,158,82,.76), rgba(210,158,82,0));
}

/* Upright display face: deliberately NOT italic — the previous pass felt too romantic. */
.hero.ti-home-hero-v1377 .ti-home-title-main {
  display: block;
  font-family: var(--ti-chronicle-display);
  font-size: clamp(70px, 5.25vw, 96px);
  font-weight: 400;
  font-style: normal;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  letter-spacing: -.044em;
  line-height: .91;
  white-space: nowrap;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-shadow:
    0 12px 32px rgba(0,0,0,.34),
    0 1px 0 rgba(255,246,229,.08);
}

/* Seal becomes the first mark of the heading instead of floating below the word. */
.hero.ti-home-hero-v1377 .ti-home-hero-title > .ti-home-hero-seal {
  position: absolute !important;
  top: -1px;
  left: 0;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transform: none !important;
  border: 1px solid rgba(196,137,49,.76) !important;
  border-radius: 2px !important;
  background: rgba(36,22,11,.42) !important;
  color: rgba(211,153,61,.96) !important;
  box-shadow: inset 0 0 0 1px rgba(255,225,173,.045) !important;
  font-family: var(--ti-seal-serif) !important;
  font-size: 21px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-rendering: geometricPrecision;
  pointer-events: auto;
}
.hero.ti-home-hero-v1377 .ti-home-hero-title > .ti-home-hero-seal::after {
  content: none !important;
  display: none !important;
}

/* Chronicle note, not a second script font. */
.hero.ti-home-hero-v1377 .ti-home-hero-tagline {
  order: 3;
  width: min(455px, 39vw);
  max-width: 455px;
  margin: clamp(26px, 3vh, 32px) 0 0 var(--ti-chronicle-left) !important;
  padding: 1px 0 1px 17px;
  border-left: 1px solid rgba(207,153,72,.58);
  color: rgba(244,234,219,.84) !important;
  font-family: var(--ti-chronicle-text);
  font-size: clamp(16px, 1.12vw, 19px);
  line-height: 1.58;
  font-weight: 400 !important;
  font-style: normal;
  letter-spacing: .003em;
  text-align: left !important;
  text-wrap: pretty;
  text-shadow: 0 4px 16px rgba(0,0,0,.34);
  pointer-events: auto;
}

.hero.ti-home-hero-v1377 .ti-home-hero-actions {
  order: 4;
  width: min(530px, 45vw);
  margin: clamp(24px, 3vh, 32px) 0 var(--ti-chronicle-bottom) var(--ti-chronicle-left) !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(20px, 2.2vw, 30px);
  flex-wrap: wrap;
  pointer-events: auto;
}

.hero.ti-home-hero-v1377 .ti-home-hero-primary,
.hero.ti-home-hero-v1377 .ti-home-hero-secondary {
  min-height: 46px;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  font-family: var(--ti-chronicle-ui);
  font-size: 15px;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
  letter-spacing: .035em;
  text-transform: none;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

/* Deeper bronze = part of the picture, not a bright web CTA. */
.hero.ti-home-hero-v1377 .ti-home-hero-primary {
  min-width: 178px;
  padding: 0 23px !important;
  border-radius: 3px !important;
  border: 1px solid rgba(202,148,68,.84) !important;
  background: linear-gradient(180deg, rgba(171,112,36,.96), rgba(132,79,25,.98)) !important;
  color: #fff0d8 !important;
  box-shadow: 0 10px 25px rgba(43,24,8,.25), inset 0 1px 0 rgba(255,231,190,.16) !important;
  text-shadow: 0 1px 0 rgba(35,17,4,.28);
}
.hero.ti-home-hero-v1377 .ti-home-hero-primary::after {
  content: "→";
  margin-left: 11px;
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  transition: transform .18s ease;
}

.hero.ti-home-hero-v1377 .ti-home-hero-secondary {
  min-width: 0;
  padding: 0 1px 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(243,231,213,.82) !important;
  box-shadow: inset 0 -1px 0 rgba(200,145,64,.36) !important;
  backdrop-filter: none !important;
}
.hero.ti-home-hero-v1377 .ti-home-hero-secondary::after {
  content: "↗";
  margin-left: 8px;
  color: rgba(208,155,77,.94);
  font-size: 12px;
}
.hero.ti-home-hero-v1377 .ti-home-hero-primary:hover {
  transform: translateY(-2px);
  border-color: rgba(222,174,101,.92) !important;
  background: linear-gradient(180deg, rgba(184,124,42,.98), rgba(145,88,27,.99)) !important;
  box-shadow: 0 14px 30px rgba(43,24,8,.31), inset 0 1px 0 rgba(255,235,200,.18) !important;
}
.hero.ti-home-hero-v1377 .ti-home-hero-primary:hover::after { transform: translateX(3px); }
.hero.ti-home-hero-v1377 .ti-home-hero-secondary:hover {
  transform: translateY(-1px);
  color: #fff3df !important;
  box-shadow: inset 0 -1px 0 rgba(224,176,103,.78) !important;
}

@media (min-width: 821px) and (max-width: 1180px) {
  .hero.ti-home-hero-v1377 {
    --ti-chronicle-left: clamp(38px, 5vw, 62px);
    --ti-chronicle-bottom: clamp(38px, 5vh, 56px);
  }
  .hero.ti-home-hero-v1377 .ti-home-hero-title { width: min(520px, 51vw); }
  .hero.ti-home-hero-v1377 .ti-home-title-main { font-size: clamp(60px, 6.35vw, 78px); }
  .hero.ti-home-hero-v1377 .ti-home-hero-tagline {
    width: min(420px, 44vw);
    font-size: clamp(15px, 1.45vw, 18px);
  }
}

/* Mobile gets a compact title-page lockup, not a scaled desktop poster. */
@media (max-width: 820px) {
  .hero.ti-home-hero-v1377 { min-height: clamp(610px, 82svh, 760px); }
  .hero.ti-home-hero-v1377::before {
    background:
      linear-gradient(180deg, rgba(4,3,3,.02) 0%, rgba(4,3,3,.10) 44%, rgba(4,3,3,.72) 100%),
      radial-gradient(ellipse at 50% 80%, rgba(4,3,3,.40), transparent 66%);
  }
  .hero.ti-home-hero-v1377 .ti-home-hero-copy {
    min-height: clamp(610px, 82svh, 760px);
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 0 18px clamp(28px, 5vh, 44px) !important;
  }
  .hero.ti-home-hero-v1377 .ti-home-hero-title {
    width: min(100%, 570px);
    margin: 0 !important;
    align-items: center;
    text-align: center !important;
  }
  .hero.ti-home-hero-v1377 .ti-home-title-top {
    min-height: 34px;
    margin: 0 0 10px 46px;
    font-size: clamp(13px, 3.6vw, 16px);
    letter-spacing: .35em;
  }
  .hero.ti-home-hero-v1377 .ti-home-title-top::after { width: clamp(28px, 9vw, 48px); }
  .hero.ti-home-hero-v1377 .ti-home-title-main {
    font-size: clamp(48px, 13vw, 72px);
    white-space: normal;
    text-align: center;
    line-height: .94;
  }
  .hero.ti-home-hero-v1377 .ti-home-hero-title > .ti-home-hero-seal {
    left: calc(50% - 112px);
    top: -2px;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    font-size: 19px !important;
  }
  .hero.ti-home-hero-v1377 .ti-home-hero-tagline {
    width: min(100%, 450px);
    max-width: 450px;
    margin: 23px 0 0 !important;
    padding: 0;
    border-left: 0;
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.5;
    text-align: center !important;
  }
  .hero.ti-home-hero-v1377 .ti-home-hero-actions {
    width: min(100%, 430px);
    margin: 22px 0 0 !important;
    justify-content: center;
    gap: 16px 22px;
  }
}

@media (max-width: 540px) {
  .hero.ti-home-hero-v1377 .ti-home-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    width: min(100%, 310px);
    gap: 11px;
  }
  .hero.ti-home-hero-v1377 .ti-home-hero-primary { width: 100%; min-width: 0; }
  .hero.ti-home-hero-v1377 .ti-home-hero-secondary {
    width: max-content;
    min-width: 0;
    min-height: 36px;
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.ti-home-hero-v1377 .ti-home-hero-primary,
  .hero.ti-home-hero-v1377 .ti-home-hero-secondary,
  .hero.ti-home-hero-v1377 .ti-home-hero-primary::after {
    transition: none !important;
    transform: none !important;
  }
}
