/* ==========================================================================
   Legal — Privacy (sealed envelope, not a case instrument)
   ========================================================================== */

.page-legal {
  --legal: #3b3228;
  --legal-wax: #7a2e1f;
  --legal-cream: #f3ead8;
  --legal-ease: cubic-bezier(0.16, 1, 0.3, 1);
  background: #ebe4d6;
}

.page-legal .header.is-ready .nav,
.page-legal .header.is-ready .header__end {
  opacity: 1;
  transform: none;
  filter: none;
}

html:has(body.page-legal) { overflow-x: clip; }
body.page-legal { overflow-x: clip; }

.pv-mast {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: min(92svh, 52rem);
  padding: calc(var(--header-h) + 2.4rem) 0 3.2rem;
  background:
    radial-gradient(ellipse 70% 50% at 86% 12%, rgba(255, 255, 255, 0.78), transparent 58%),
    radial-gradient(ellipse 46% 40% at 8% 88%, rgba(122, 46, 31, 0.08), transparent 62%),
    linear-gradient(168deg, #f6efe2 0%, #ebe4d6 48%, #e4ddd0 100%);
}

.pv-mast__field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.pv-mast__wash {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
}

.pv-mast__wash--a {
  top: -8%;
  right: -6%;
  background: radial-gradient(circle, rgba(196, 163, 90, 0.28), transparent 70%);
}

.pv-mast__wash--b {
  bottom: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(59, 50, 40, 0.14), transparent 70%);
}

.pv-mast__grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: var(--tds-grain);
}

.pv-mast__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: 3.2rem 3.6rem;
  align-items: center;
}

.pv-crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(59, 50, 40, 0.55);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.pv-crumb a { color: inherit; text-decoration: none; }
.pv-crumb em { font-style: normal; color: #7a2e1f; font-weight: 640; }

.pv-kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(59, 50, 40, 0.55);
}

.pv-kicker i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #7a2e1f;
  box-shadow: 0 0 0 4px rgba(122, 46, 31, 0.16);
}

.pv-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  letter-spacing: -0.045em;
  font-weight: 560;
  line-height: 1.05;
  color: #1c1814;
}

.pv-title em {
  display: block;
  font-style: italic;
  background: linear-gradient(118deg, #1c1814 8%, #7a2e1f 62%, #c4a35a 140%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pv-lead {
  max-width: 34rem;
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: rgba(59, 50, 40, 0.62);
}

.pv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}

.pv-meta li {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: rgba(59, 50, 40, 0.7);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.pv-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
}

.pv-mast__cue {
  position: absolute;
  right: clamp(1.2rem, 4vw, 2.4rem);
  bottom: 1.4rem;
  z-index: 2;
}

.pv-seal {
  width: min(100%, 23.5rem);
  margin-left: auto;
}

.pv-seal__envelope {
  border-radius: 0.4rem 0.4rem 1rem 1rem;
  background: #f7f0e2;
  box-shadow: 0 28px 48px -22px rgba(59, 50, 40, 0.4);
  overflow: hidden;
  border: 1px solid rgba(59, 50, 40, 0.08);
}

.pv-seal__meta {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.9rem;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 240, 226, 0.5);
  background: #3b3228;
}

.pv-seal__face {
  position: relative;
  padding: 1.15rem 1.15rem 1.35rem;
  min-height: 8.4rem;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(59, 50, 40, 0.06) 27px 28px),
    #f7f0e2;
}

.pv-seal__face p {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
  align-items: baseline;
}

.pv-seal__face span {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(59, 50, 40, 0.42);
}

.pv-seal__face strong {
  font-size: 0.95rem;
  font-weight: 560;
  color: #1c1814;
}

.pv-seal__wax {
  position: absolute;
  right: 1.1rem;
  bottom: 0.85rem;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #a34432, #7a2e1f 62%, #5c2016);
  box-shadow: 0 8px 16px -10px rgba(122, 46, 31, 0.7);
  display: grid;
  place-items: center;
}

.pv-seal__wax i {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: rgba(247, 240, 226, 0.88);
}

.pv-seal__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #efe6d4;
  border-top: 1px solid rgba(59, 50, 40, 0.08);
}

.pv-seal__tabs button {
  border: 0;
  border-right: 1px solid rgba(59, 50, 40, 0.08);
  background: transparent;
  padding: 0.62rem 0.2rem;
  font: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(59, 50, 40, 0.5);
  cursor: pointer;
}

.pv-seal__tabs button:last-child { border-right: 0; }

.pv-seal__tabs button.is-on {
  background: #fff;
  color: #7a2e1f;
  box-shadow: inset 0 2px 0 #7a2e1f;
}

.pv-seal__live {
  padding: 0.75rem 0.9rem 0.85rem;
  background: #7a2e1f;
  color: #f7f0e2;
}

.pv-seal__live span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.78;
}

.pv-seal__live b {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9rem;
  font-weight: 560;
}

.pv-doc {
  position: relative;
  padding: 5.1rem 0 4.6rem;
  background: #1c1814;
  color: #efe6d4;
  overflow: clip;
}

.pv-doc__glow {
  position: absolute;
  width: 34rem;
  height: 34rem;
  right: -12%;
  top: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 46, 31, 0.28), transparent 68%);
  pointer-events: none;
}

.pv-doc__head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.pv-doc__head h2 {
  margin: 0.3rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -0.04em;
  font-weight: 560;
  color: #fff;
}

.pv-doc__head h2 em { font-style: italic; color: #c4b8a0; }

.pv-doc__head p {
  max-width: 22rem;
  margin: 0;
  color: rgba(239, 230, 212, 0.52);
}

.pv-toggle {
  display: inline-flex;
  margin-bottom: 1.15rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pv-toggle button {
  border: 0;
  background: transparent;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  color: rgba(239, 230, 212, 0.5);
  cursor: pointer;
}

.pv-toggle button.is-on {
  background: #7a2e1f;
  color: #fff;
}

.pv-stage {
  margin: 0 0 1.15rem;
  padding: 1.1rem 1.2rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.pv-stage__kicker {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4b8a0;
}

.pv-stage h3 {
  margin: 0 0 0.35rem;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
  font-weight: 560;
  color: #fff;
}

.pv-stage p:last-child {
  margin: 0;
  max-width: 40rem;
  color: rgba(239, 230, 212, 0.58);
}

.pv-sheet {
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 0.35rem;
  background: #f3ead8;
  color: #1c1814;
  box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.5);
}

.pv-sheet > span {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a2e1f;
}

.pv-sheet h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.pv-sheet p {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(28, 24, 20, 0.72);
}

.pv-sheet p:last-child { margin-bottom: 0; }

.pv-sheet mark {
  padding: 0.05em 0.12em;
  border-radius: 0.12rem;
  background: #1c1814;
  color: transparent;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background 0.35s var(--legal-ease), color 0.35s var(--legal-ease);
}

.pv-sheet[data-mode="plain"] mark {
  background: rgba(196, 163, 90, 0.35);
  color: #1c1814;
}

.pv-files {
  padding: 4.8rem 0 5rem;
  background:
    radial-gradient(ellipse 50% 40% at 12% 0%, rgba(122, 46, 31, 0.08), transparent 60%),
    #ebe4d6;
}

.pv-files__head { max-width: 36rem; margin-bottom: 1.5rem; }

.pv-files__head h2 {
  margin: 0.3rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.45rem);
  letter-spacing: -0.04em;
  font-weight: 560;
}

.pv-files__head h2 em { font-style: italic; color: #7a2e1f; }

.pv-files__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  align-items: stretch;
}

.pv-file {
  position: relative;
  padding: 1.5rem 1rem 1.2rem;
  border: 0;
  border-radius: 0.2rem 0.2rem 0.15rem 0.15rem;
  background:
    linear-gradient(#7a2e1f 0 0.42rem, #f4ecdc 0.42rem 100%);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  min-height: 14rem;
  box-shadow: 0 16px 28px -22px rgba(59, 50, 40, 0.4);
  transition: transform 0.35s var(--legal-ease), opacity 0.3s ease;
}

.pv-file em {
  display: block;
  margin-bottom: 1.1rem;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: #7a2e1f;
}

.pv-file h3 {
  writing-mode: horizontal-tb;
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: #1c1814;
}

.pv-file p {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(28, 24, 20, 0.58);
}

.pv-file.is-dim { opacity: 0.42; }
.pv-file.is-on { transform: translateY(-8px); }

.pv-law {
  padding: 4.8rem 0 4.6rem;
  background: #f3ead8;
}

.pv-law__grid {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 3rem;
}

.pv-law__rail p {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(59, 50, 40, 0.45);
}

.pv-law__rail a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  color: rgba(59, 50, 40, 0.5);
  text-decoration: none;
  font-size: 0.92rem;
}

.pv-law__rail a i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(59, 50, 40, 0.2);
}

.pv-law__rail a.is-on { color: #1c1814; }
.pv-law__rail a.is-on i { background: #7a2e1f; }

.pv-law article { max-width: 38rem; margin-bottom: 2.4rem; }

.pv-law h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  letter-spacing: -0.04em;
  font-weight: 560;
}

.pv-law p {
  margin: 0 0 0.85rem;
  color: rgba(28, 24, 20, 0.62);
}

.pv-law a { color: #7a2e1f; }

.pv-law blockquote {
  margin: 1.1rem 0 0;
  padding: 0 0 0 1rem;
  border-left: 2px solid #7a2e1f;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: #1c1814;
}

.page-legal .cta { background: #1c1814; }

@media (max-width: 980px) {
  .pv-mast__layout,
  .pv-law__grid { grid-template-columns: 1fr; }
  .pv-seal { margin: 0 auto; }
  .pv-files__grid { grid-template-columns: 1fr 1fr; }
  .pv-file { min-height: 12rem; }
}

@media (max-width: 640px) {
  .pv-files__grid { grid-template-columns: 1fr 1fr; }
  .pv-doc, .pv-files, .pv-law { padding: 3.4rem 0; }
  .pv-mast { padding-bottom: 4rem; }
}

/* ==========================================================================
   Terms — two-pan engagement scale
   Not an envelope, not a case board
   ========================================================================== */

.page-legal--terms {
  --legal: #1e2a24;
  --legal-brass: #c4a35a;
  --legal-ink: #2f4a3c;
  background: #e7ece8;
}

.page-legal--terms .cta { background: #1e2a24; }

.tm-mast {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: min(92svh, 52rem);
  padding: calc(var(--header-h) + 2.4rem) 0 3.2rem;
  background:
    radial-gradient(ellipse 70% 50% at 86% 12%, rgba(255, 255, 255, 0.82), transparent 58%),
    radial-gradient(ellipse 46% 40% at 8% 88%, rgba(47, 74, 60, 0.1), transparent 62%),
    linear-gradient(168deg, #f0f4f1 0%, #e7ece8 48%, #dce5df 100%);
}

.tm-mast__field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.tm-mast__wash {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
}

.tm-mast__wash--a {
  top: -8%;
  right: -6%;
  background: radial-gradient(circle, rgba(196, 163, 90, 0.32), transparent 70%);
}

.tm-mast__wash--b {
  bottom: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(30, 42, 36, 0.14), transparent 70%);
}

.tm-mast__grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: var(--tds-grain);
}

.tm-mast__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: 3.2rem 3.6rem;
  align-items: center;
}

.tm-crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(30, 42, 36, 0.55);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.tm-crumb a { color: inherit; text-decoration: none; }
.tm-crumb em { font-style: normal; color: #2f4a3c; font-weight: 640; }

.tm-kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(30, 42, 36, 0.55);
}

.tm-kicker i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #c4a35a;
  box-shadow: 0 0 0 4px rgba(196, 163, 90, 0.22);
}

.tm-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.4vw, 3.4rem);
  letter-spacing: -0.045em;
  font-weight: 560;
  line-height: 1.05;
  color: #1e2a24;
}

.tm-title em {
  display: block;
  font-style: italic;
  background: linear-gradient(118deg, #1e2a24 8%, #2f4a3c 52%, #c4a35a 140%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tm-lead {
  max-width: 34rem;
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: rgba(30, 42, 36, 0.62);
}

.tm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}

.tm-meta li {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: rgba(30, 42, 36, 0.7);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.tm-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
}

.tm-mast__cue {
  position: absolute;
  right: clamp(1.2rem, 4vw, 2.4rem);
  bottom: 1.4rem;
  z-index: 2;
}

.tm-scale {
  width: min(100%, 24.5rem);
  margin-left: auto;
}

.tm-scale__plate {
  border-radius: 1.05rem;
  background: #1e2a24;
  box-shadow: 0 28px 48px -22px rgba(30, 42, 36, 0.55);
  overflow: hidden;
}

.tm-scale__meta {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.9rem;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(231, 236, 232, 0.42);
  background: rgba(196, 163, 90, 0.16);
}

.tm-scale__rig {
  position: relative;
  height: 11.2rem;
  padding: 1.1rem 0.7rem 0.4rem;
}

.tm-scale__post {
  position: absolute;
  left: 50%;
  top: 0.85rem;
  width: 0.28rem;
  height: 3.2rem;
  margin-left: -0.14rem;
  background: linear-gradient(#c4a35a, #8a7040);
  border-radius: 0.1rem;
  z-index: 0;
}

.tm-scale__beam {
  --tilt: -7deg;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 0.35rem;
  margin-top: 2.4rem;
  transform: rotate(var(--tilt));
  transform-origin: 50% 0.55rem;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-scale__beam::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0.48rem;
  height: 0.22rem;
  background: #c4a35a;
  border-radius: 0.1rem;
  z-index: 0;
}

.tm-scale__fulcrum {
  position: relative;
  z-index: 1;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.12rem;
  border-radius: 0.12rem;
  background: #c4a35a;
  box-shadow: 0 0 0 4px rgba(196, 163, 90, 0.18);
}

.tm-scale__pan {
  position: relative;
  z-index: 1;
  padding: 0.55rem 0.6rem 0.6rem;
  border-radius: 0.2rem 0.2rem 0.55rem 0.55rem;
  background: #e7ece8;
  color: #1e2a24;
  transform: rotate(calc(-1 * var(--tilt)));
  transform-origin: 50% 0;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 4.4rem;
}

.tm-scale__pan span {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2f4a3c;
}

.tm-scale__pan strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 560;
  line-height: 1.25;
}

.tm-scale__weights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #24332c;
}

.tm-scale__weights button {
  border: 0;
  border-right: 1px solid rgba(231, 236, 232, 0.08);
  background: transparent;
  padding: 0.62rem 0.15rem;
  font: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(231, 236, 232, 0.45);
  cursor: pointer;
}

.tm-scale__weights button:last-child { border-right: 0; }

.tm-scale__weights button.is-on {
  background: #c4a35a;
  color: #1e2a24;
}

.tm-scale__live {
  padding: 0.75rem 0.9rem 0.85rem;
  background: #2f4a3c;
  color: #e7ece8;
}

.tm-scale__live span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.78;
}

.tm-scale__live b {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9rem;
  font-weight: 560;
}

.tm-ink {
  position: relative;
  padding: 5.1rem 0 4.6rem;
  background: #1e2a24;
  color: #dce5df;
  overflow: clip;
}

.tm-ink__glow {
  position: absolute;
  width: 34rem;
  height: 34rem;
  right: -12%;
  top: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 163, 90, 0.18), transparent 68%);
  pointer-events: none;
}

.tm-ink__head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.tm-ink__head h2 {
  margin: 0.3rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -0.04em;
  font-weight: 560;
  color: #fff;
}

.tm-ink__head h2 em { font-style: italic; color: #c4a35a; }

.tm-ink__head p {
  max-width: 22rem;
  margin: 0;
  color: rgba(220, 229, 223, 0.52);
}

.tm-toggle {
  display: inline-flex;
  margin-bottom: 1.15rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-toggle button {
  border: 0;
  background: transparent;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  color: rgba(220, 229, 223, 0.5);
  cursor: pointer;
}

.tm-toggle button.is-on {
  background: #c4a35a;
  color: #1e2a24;
}

.tm-stage {
  margin: 0 0 1.15rem;
  padding: 1.1rem 1.2rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.tm-stage__kicker {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4a35a;
}

.tm-stage h3 {
  margin: 0 0 0.35rem;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
  font-weight: 560;
  color: #fff;
}

.tm-stage p:last-child {
  margin: 0;
  max-width: 40rem;
  color: rgba(220, 229, 223, 0.58);
}

.tm-carbons[data-mode="pencil"] .tm-carbon--ink { display: none; }
.tm-carbons[data-mode="ink"] .tm-carbon--pencil { display: none; }

.tm-carbon {
  padding: 1.1rem 1rem 1.15rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.tm-carbon--pencil {
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(196, 163, 90, 0.08) 27px 28px),
    rgba(255, 255, 255, 0.03);
}

.tm-carbon span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4a35a;
}

.tm-carbon h3 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 560;
}

.tm-carbon ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-carbon li {
  position: relative;
  padding: 0.38rem 0 0.38rem 1.1rem;
  font-size: 0.88rem;
  color: rgba(220, 229, 223, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tm-carbon li:last-child { border-bottom: 0; }

.tm-carbon li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.55rem;
  height: 1px;
  background: #c4a35a;
}

.tm-plates {
  padding: 4.8rem 0 5rem;
  background:
    radial-gradient(ellipse 50% 40% at 88% 0%, rgba(196, 163, 90, 0.1), transparent 60%),
    #e7ece8;
}

.tm-plates__head { max-width: 36rem; margin-bottom: 1.5rem; }

.tm-plates__head h2 {
  margin: 0.3rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.45rem);
  letter-spacing: -0.04em;
  font-weight: 560;
}

.tm-plates__head h2 em { font-style: italic; color: #2f4a3c; }

.tm-plates__stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 42rem;
}

.tm-plate {
  display: grid;
  grid-template-columns: 5.2rem 8.5rem 1fr;
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: 1rem 1.15rem;
  border: 0;
  border-radius: 0.2rem;
  background:
    linear-gradient(#c4a35a 0 100%) 0 0 / 0.42rem 100% no-repeat,
    #f3f6f4;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 12px 24px -20px rgba(30, 42, 36, 0.4);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.tm-plate em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2f4a3c;
}

.tm-plate h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
  color: #1e2a24;
}

.tm-plate p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(30, 42, 36, 0.58);
}

.tm-plate.is-dim { opacity: 0.42; }
.tm-plate.is-on { transform: translateX(6px); background:
    linear-gradient(#2f4a3c 0 100%) 0 0 / 0.42rem 100% no-repeat,
    #fff; }

.tm-law {
  padding: 4.8rem 0 4.6rem;
  background: #f3f6f4;
}

.tm-law__grid {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 3rem;
}

.tm-law__rail p {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(30, 42, 36, 0.45);
}

.tm-law__rail a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  color: rgba(30, 42, 36, 0.5);
  text-decoration: none;
  font-size: 0.92rem;
}

.tm-law__rail a i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 1px;
  background: rgba(30, 42, 36, 0.2);
}

.tm-law__rail a.is-on { color: #1e2a24; }
.tm-law__rail a.is-on i { background: #c4a35a; }

.tm-law article { max-width: 40rem; margin-bottom: 2.4rem; }

.tm-law h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  letter-spacing: -0.04em;
  font-weight: 560;
}

.tm-law p {
  margin: 0 0 0.85rem;
  color: rgba(30, 42, 36, 0.62);
}

.tm-law a { color: #2f4a3c; }

.tm-law blockquote {
  margin: 1.1rem 0 0;
  padding: 0 0 0 1rem;
  border-left: 2px solid #c4a35a;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: #1e2a24;
}

@media (max-width: 980px) {
  .tm-mast__layout,
  .tm-law__grid { grid-template-columns: 1fr; }
  .tm-scale { margin: 0 auto; }
  .tm-plate {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (max-width: 640px) {
  .tm-ink, .tm-plates, .tm-law { padding: 3.4rem 0; }
  .tm-mast { padding-bottom: 4rem; }
}
