.targeted-restoration-page {
  --tr-dark: #041018;
  --tr-ink: #0b2a36;
  --tr-teal: #08747a;
  --tr-cyan: #20d6cf;
  --tr-paper: #f7f6f2;
  background: var(--tr-paper);
  color: var(--tr-ink);
  font-family: "Manrope", "Plus Jakarta Sans", Arial, sans-serif;
  min-height: 100vh;
}

.targeted-restoration-page h1,
.targeted-restoration-page h2,
.targeted-restoration-page h3,
.targeted-restoration-page p {
  margin: 0;
}

.tr-nav {
  background: #040b10;
  display: grid;
  grid-template-columns: 350px 1fr;
  min-height: 132px;
}

.tr-brand {
  align-content: center;
  border-right: 1px solid rgba(255,255,255,.18);
  display: grid;
  padding-left: 28px;
  text-decoration: none;
}

.tr-brand img {
  filter: brightness(0) invert(1);
  height: 80px;
  object-fit: contain;
  object-position: left;
  width: 295px;
}

.tr-brand span {
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-left: 75px;
  margin-top: -13px;
  text-transform: uppercase;
}

.tr-menu {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.tr-menu a {
  border-right: 1px solid rgba(255,255,255,.18);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: center;
  padding: 0 12px;
  text-align: center;
  text-decoration: none;
}

.tr-menu strong {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.tr-menu a.active strong {
  color: var(--tr-cyan);
}

.tr-menu strong::after {
  content: " v";
  font-size: 10px;
}

.tr-menu span {
  color: rgba(255,255,255,.84);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.tr-hero {
  align-items: start;
  background:
    radial-gradient(circle at 73% 52%, rgba(22, 192, 193, .18), transparent 27%),
    linear-gradient(90deg, #061018 0%, #06212a 53%, #061018 100%);
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 640px;
  overflow: hidden;
  padding: 78px 38px 190px 52px;
}

.tr-hero-copy {
  transform: none;
}

.tr-hero-copy h1 {
  color: #fbf5ec;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.08;
}

.tr-hero-copy h2 {
  color: var(--tr-cyan);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
  margin-top: 5px;
}

.tr-hero-copy p {
  color: rgba(255,255,255,.92);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.58;
  margin-top: 30px;
  max-width: 570px;
}

.tr-hero img {
  display: block;
  filter: drop-shadow(0 0 20px rgba(32, 214, 207, .2)) saturate(1.08);
  height: 410px;
  justify-self: start;
  margin-left: clamp(42px, 5.8vw, 92px);
  mix-blend-mode: normal;
  object-fit: contain;
  opacity: .96;
  transform: translateY(-78px);
  width: min(100%, 760px);
}

.tr-paper {
  background: linear-gradient(to bottom, transparent 0 118px, var(--tr-paper) 118px 100%);
  padding: 0 14px 28px;
  position: relative;
  z-index: 1;
}

.tr-doctrine {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(8,45,54,.24);
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(8,38,46,.08);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 2.1fr;
  margin: -246px auto 4px;
  max-width: 1710px;
  min-height: 176px;
  padding: 22px 34px 24px;
  position: relative;
  z-index: 2;
}

.tr-doctrine h2,
.tr-title h2 {
  color: #132b35;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tr-doctrine p {
  color: #15323d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 7px;
}

.tr-doctrine-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.tr-doctrine-grid div {
  align-content: center;
  border-left: 1px solid rgba(8,45,54,.15);
  color: #15323d;
  display: grid;
  justify-items: center;
  min-height: 124px;
  padding: 14px 10px 12px;
  text-align: center;
}

.tr-doctrine-grid i {
  color: #0a6570;
  font-size: 40px;
}

.tr-doctrine-grid span {
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
}

.tr-title {
  margin: 32px auto 12px;
  text-align: center;
}

.tr-title::after {
  background: #1fb7b1;
  content: "";
  display: block;
  height: 2px;
  margin: 10px auto 0;
  width: 62px;
}

.tr-title.compact {
  margin: 0 0 14px;
}

.tr-title.compact p {
  color: #173541;
  font-size: 15px;
  font-weight: 700;
}

.tr-phases {
  display: grid;
  gap: 8px;
  margin: 0 auto;
  max-width: 1370px;
  padding: 26px 0 0;
}

.tr-phase {
  align-items: stretch;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(8,45,54,.18);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 220px 225px 1fr 165px 265px;
  min-height: 142px;
  overflow: hidden;
}

.tr-phase-label {
  align-items: center;
  background: linear-gradient(145deg, #07313b, #041820);
  color: #fff;
  display: grid;
  grid-template-columns: 74px 1fr;
  padding: 18px 18px;
}

.tr-phase-label span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tr-phase-label b {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 58px;
  font-weight: 500;
  grid-row: 2 / 5;
  line-height: 1;
}

.tr-phase-label strong {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.tr-phase-label em {
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.tr-phase-label i {
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  display: inline-flex;
  font-size: 33px;
  height: 58px;
  justify-content: center;
  align-items: center;
  width: 58px;
}

.tr-phase-intro,
.tr-focus,
.tr-goal {
  border-left: 1px solid rgba(8,45,54,.13);
  padding: 22px 20px;
}

.tr-phase-intro {
  color: #15323d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.tr-focus strong,
.tr-goal strong {
  color: #0b6470;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.tr-focus ul {
  color: #112f39;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin: 8px 0 0;
  padding-left: 18px;
}

.tr-goal {
  align-self: center;
  background: rgba(10, 40, 48, .06);
  border-left: 0;
  border-radius: 8px;
  margin: 12px;
  min-height: 102px;
  padding: 18px 18px;
}

.tr-goal p {
  color: #15323d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 8px;
}

.tr-phase > img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tr-method-row {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 315px;
  margin: 18px auto 0;
  max-width: 1370px;
}

.tr-method,
.tr-modalities {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(8,45,54,.22);
  border-radius: 12px;
  padding: 16px 22px;
}

.tr-method-steps {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr 28px 1fr;
  text-align: center;
}

.tr-method-steps em {
  color: #0b8083;
  display: flex;
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  justify-content: center;
  line-height: 1;
  padding-top: 34px;
}

.tr-method-steps i {
  align-items: center;
  background: #06323d;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 35px;
  height: 70px;
  justify-content: center;
  width: 70px;
}

.tr-method-steps strong,
.tr-modality-grid strong {
  color: #0b3d4c;
  display: block;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  margin-top: 10px;
  text-transform: uppercase;
}

.tr-method-steps p,
.tr-modality-grid p {
  color: #14313b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 8px;
}

.tr-principles {
  background: linear-gradient(145deg, #073944, #041820);
  border-radius: 8px;
  color: #fff;
  padding: 24px 28px;
}

.tr-principles h3 {
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tr-principles p {
  color: #fff;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  line-height: 1.35;
  margin-top: 13px;
}

.tr-principles i {
  color: #55ded8;
}

.tr-modalities {
  margin: 16px auto 0;
  max-width: 1370px;
  padding-top: 22px;
}

.tr-modalities .tr-title.compact {
  margin-bottom: 18px;
}

.tr-modalities .tr-title.compact h2 {
  line-height: 1.38;
  padding-top: 4px;
}

.tr-modality-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.tr-modality-grid article {
  border-left: 1px solid rgba(8,45,54,.13);
  padding: 18px 14px;
}

.tr-modality-grid article:first-child {
  border-left: 0;
}

.tr-modality-grid i {
  color: #0a6570;
  font-size: 44px;
}

.tr-safety {
  align-items: center;
  background: linear-gradient(90deg, #06323d, #031820);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 22px;
  grid-template-columns: 64px 1fr 285px;
  margin: 16px auto 0;
  max-width: 1370px;
  padding: 18px 28px;
}

.tr-safety > i {
  font-size: 54px;
}

.tr-safety p,
.tr-safety strong {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.tr-safety aside {
  align-items: center;
  border-left: 1px solid rgba(255,255,255,.25);
  display: grid;
  gap: 18px;
  grid-template-columns: 62px 1fr;
  padding-left: 26px;
}

.tr-safety aside i {
  font-size: 46px;
}

.tr-bottom {
  align-items: center;
  background: #f8f7f4;
  color: #102f3b;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: space-between;
  padding: 20px 54px;
}

@media (max-width: 1100px) {
  .tr-nav,
  .tr-hero,
  .tr-doctrine,
  .tr-method-row,
  .tr-safety {
    grid-template-columns: 1fr;
  }

  .tr-menu,
  .tr-doctrine-grid,
  .tr-modality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tr-phase {
    grid-template-columns: 180px 1fr;
  }

  .tr-phase > img {
    min-height: 180px;
  }
}

@media (max-width: 720px) {
  .tr-menu {
    display: none;
  }

  .tr-hero {
    padding: 34px 22px;
  }

  .tr-hero-copy h1 {
    font-size: 34px;
  }

  .tr-doctrine,
  .tr-paper {
    padding-left: 14px;
    padding-right: 14px;
  }

  .tr-method-steps,
  .tr-modality-grid,
  .tr-doctrine-grid {
    grid-template-columns: 1fr;
  }

  .tr-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

/* Reference-style Targeted Restoration hero */
.targeted-restoration-page .tr-nav {
  align-items: center;
  background: linear-gradient(180deg, #071017 0%, #03090e 100%);
  border-bottom: 2px solid rgba(18, 49, 56, 0.9);
  display: flex;
  gap: clamp(20px, 2.1vw, 34px);
  min-height: 106px;
  padding: 0 clamp(16px, 2.2vw, 30px);
  position: relative;
  z-index: 5;
}

.targeted-restoration-page .tr-brand {
  border-right: 0;
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  min-height: 106px;
  min-width: clamp(300px, 27vw, 350px);
  padding-left: 0;
}

.targeted-restoration-page .tr-brand img {
  filter: brightness(0) invert(1) contrast(1.12);
  height: 78px;
  width: clamp(285px, 25vw, 325px);
}

.targeted-restoration-page .tr-brand span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-left: 88px;
  margin-top: -13px;
}

.targeted-restoration-page .tr-menu {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: clamp(22px, 3vw, 48px);
  justify-content: flex-start;
  min-width: 0;
}

.targeted-restoration-page .tr-menu a {
  align-items: center;
  border-right: 0;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  flex-direction: row;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 900;
  gap: 8px;
  line-height: 1.25;
  max-width: 150px;
  padding: 0 0 10px;
  position: relative;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  text-transform: uppercase;
}

.targeted-restoration-page .tr-menu a.active,
.targeted-restoration-page .tr-menu a:hover {
  color: #18d6cf;
}

.targeted-restoration-page .tr-menu a.active::after {
  background: #18d6cf;
  bottom: -17px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}

.targeted-restoration-page .tr-menu i {
  color: currentColor;
  font-size: 10px;
  opacity: 0.72;
}

.targeted-restoration-page .tr-menu strong,
.targeted-restoration-page .tr-menu span,
.targeted-restoration-page .tr-menu strong::after {
  display: none;
}

.targeted-restoration-page .tr-nav-cta {
  align-items: center;
  border: 2px solid rgba(19, 200, 196, 0.78);
  border-radius: 7px;
  color: #19ccc7;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 900;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.targeted-restoration-page .tr-nav-cta i {
  border: 1px solid rgba(24, 214, 207, 0.55);
  border-radius: 4px;
  font-size: 17px;
  height: 24px;
  line-height: 22px;
  text-align: center;
  width: 24px;
}

.targeted-restoration-page .tr-hero {
  align-items: stretch;
  background:
    radial-gradient(circle at 73% 46%, rgba(25, 211, 205, 0.18), transparent 30%),
    linear-gradient(90deg, #071016 0%, #07151c 42%, #061820 62%, #031016 100%);
  border-bottom: 2px solid rgba(92, 77, 50, 0.42);
  display: grid;
  grid-template-columns: minmax(640px, 50%) minmax(0, 50%);
  min-height: 560px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.targeted-restoration-page .tr-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 64px 20px 118px clamp(42px, 4.6vw, 70px);
  position: relative;
  z-index: 2;
}

.targeted-restoration-page .tr-hero-copy h1 {
  color: #f7f0e8;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(58px, 5.2vw, 82px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.18), 0 8px 20px rgba(0, 0, 0, 0.78);
}

.targeted-restoration-page .tr-hero-copy h2 {
  color: #16c8c4;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(29px, 2.5vw, 38px);
  font-weight: 600;
  line-height: 1.22;
  margin-top: 18px;
  text-shadow: 0 0 18px rgba(20, 211, 207, 0.22);
}

.targeted-restoration-page .tr-hero-copy p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 600;
  line-height: 1.58;
  margin-top: 28px;
  max-width: 640px;
}

.targeted-restoration-page .tr-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.targeted-restoration-page .tr-primary-btn,
.targeted-restoration-page .tr-secondary-btn {
  align-items: center;
  border-radius: 6px;
  box-sizing: border-box;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  gap: 12px;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  text-decoration: none;
  text-transform: uppercase;
}

.targeted-restoration-page .tr-primary-btn {
  background: linear-gradient(90deg, #24c4c2 0%, #43d5cf 100%);
  box-shadow: 0 0 0 1px rgba(122, 255, 249, 0.25) inset, 0 12px 28px rgba(22, 207, 201, 0.24);
  color: #fff;
  width: 322px;
}

.targeted-restoration-page .tr-secondary-btn {
  background: rgba(3, 12, 16, 0.45);
  border: 2px solid rgba(75, 207, 202, 0.72);
  color: #fff;
  width: 244px;
}

.targeted-restoration-page .tr-primary-btn:hover,
.targeted-restoration-page .tr-secondary-btn:hover {
  color: #fff;
  transform: translateY(-1px);
}

.targeted-restoration-page .tr-hero-pillars {
  align-items: center;
  bottom: 112px;
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  left: clamp(42px, 4.6vw, 70px);
  position: absolute;
  right: 20px;
}

.targeted-restoration-page .tr-hero-pillars div {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-height: 46px;
}

.targeted-restoration-page .tr-hero-pillars i {
  color: #24c8c0;
  font-size: 31px;
}

.targeted-restoration-page .tr-hero-pillars strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.28;
}

.targeted-restoration-page .tr-hero-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 560px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.targeted-restoration-page .tr-hero-visual img,
.targeted-restoration-page .tr-hero img {
  box-shadow: none;
  display: block;
  filter: contrast(1.08) saturate(1.15) brightness(0.95) drop-shadow(0 0 26px rgba(32, 214, 207, 0.18));
  height: 100%;
  margin: 0;
  max-width: none;
  object-fit: cover;
  object-position: center 48%;
  opacity: 1;
  transform: none;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 100%);
}

.targeted-restoration-page .tr-pathway-orbits {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.targeted-restoration-page .tr-orbit {
  align-items: center;
  background: radial-gradient(circle at 50% 28%, rgba(16, 48, 55, 0.92), rgba(2, 18, 24, 0.95));
  border: 2px solid rgba(70, 218, 211, 0.75);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(19, 211, 203, 0.22);
  color: #fff;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 900;
  height: 92px;
  justify-content: center;
  line-height: 1.1;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  width: 92px;
}

.targeted-restoration-page .tr-orbit b {
  color: #4ce7df;
  display: block;
  font-size: 25px;
  line-height: 1;
}

.targeted-restoration-page .tr-orbit small {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 3px;
  max-width: 74px;
  text-transform: none;
}

.targeted-restoration-page .tr-orbit.rescue {
  left: 39%;
  top: 5%;
}

.targeted-restoration-page .tr-orbit.control {
  right: 10%;
  top: 27%;
}

.targeted-restoration-page .tr-orbit.regulate {
  bottom: 17%;
  right: 16%;
}

.targeted-restoration-page .tr-orbit.rebuild {
  bottom: 15%;
  left: 21%;
}

.targeted-restoration-page .tr-orbit.reconnect {
  left: 15%;
  top: 27%;
}

.targeted-restoration-page .tr-paper {
  background: linear-gradient(to bottom, transparent 0 98px, var(--tr-paper) 98px 100%);
  padding: 0 18px 28px;
}

.targeted-restoration-page .tr-doctrine {
  align-items: center;
  border-radius: 6px;
  grid-template-columns: minmax(420px, 1fr) 2fr;
  margin: -98px auto 4px;
  max-width: 1360px;
  min-height: 156px;
  padding: 26px 24px;
}

.targeted-restoration-page .tr-doctrine-copy {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 54px 1fr;
}

.targeted-restoration-page .tr-doctrine-copy > span {
  align-items: center;
  background: #0d8e8d;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 29px;
  font-weight: 900;
  height: 50px;
  justify-content: center;
  width: 50px;
}

.targeted-restoration-page .tr-doctrine h2 {
  font-size: clamp(19px, 1.55vw, 25px);
  letter-spacing: 0.11em;
}

.targeted-restoration-page .tr-doctrine p {
  font-size: 13px;
  line-height: 1.45;
  max-width: 520px;
}

.targeted-restoration-page .tr-doctrine-grid div {
  min-height: 112px;
  padding: 12px 10px;
}

.targeted-restoration-page .tr-doctrine-grid i {
  color: #0a6570;
  font-size: 42px;
}

.targeted-restoration-page .tr-doctrine-grid span {
  font-size: 13px;
}

@media (max-width: 1180px) {
  .targeted-restoration-page .tr-nav {
    flex-wrap: wrap;
    min-height: auto;
    padding-bottom: 18px;
    padding-top: 18px;
  }

  .targeted-restoration-page .tr-brand {
    min-height: auto;
    min-width: 270px;
  }

  .targeted-restoration-page .tr-brand img {
    height: 68px;
    width: 270px;
  }

  .targeted-restoration-page .tr-brand span {
    font-size: 10px;
    margin-left: 72px;
    margin-top: -11px;
  }

  .targeted-restoration-page .tr-menu {
    flex-basis: 100%;
    order: 3;
  }

  .targeted-restoration-page .tr-hero {
    grid-template-columns: minmax(430px, 50%) minmax(0, 50%);
  }

  .targeted-restoration-page .tr-hero-pillars {
    flex-wrap: wrap;
  }

  .targeted-restoration-page .tr-doctrine {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .targeted-restoration-page .tr-hero {
    grid-template-columns: 1fr;
  }

  .targeted-restoration-page .tr-hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .targeted-restoration-page .tr-nav {
    justify-content: space-between;
    padding: 14px 16px;
  }

  .targeted-restoration-page .tr-menu {
    display: none;
  }

  .targeted-restoration-page .tr-brand {
    min-width: 0;
    padding: 0;
  }

  .targeted-restoration-page .tr-brand img {
    height: 54px;
    width: 218px;
  }

  .targeted-restoration-page .tr-brand span {
    font-size: 8px;
    margin-left: 58px;
    margin-top: -8px;
  }

  .targeted-restoration-page .tr-nav-cta {
    font-size: 0;
    min-height: 44px;
    padding: 0 12px;
  }

  .targeted-restoration-page .tr-hero-copy {
    padding: 42px 22px 30px;
  }

  .targeted-restoration-page .tr-hero-copy h1 {
    font-size: clamp(45px, 13vw, 62px);
  }

  .targeted-restoration-page .tr-primary-btn,
  .targeted-restoration-page .tr-secondary-btn {
    width: 100%;
  }

  .targeted-restoration-page .tr-hero-pillars {
    gap: 14px 0;
    position: static;
    margin-top: 24px;
  }

  .targeted-restoration-page .tr-hero-pillars div {
    flex: 1 1 50%;
    padding-right: 12px;
  }

  .targeted-restoration-page .tr-hero-visual {
    min-height: 330px;
  }

  .targeted-restoration-page .tr-paper {
    background: var(--tr-paper);
  }

  .targeted-restoration-page .tr-doctrine {
    margin-top: 18px;
    padding: 20px;
  }

  .targeted-restoration-page .tr-doctrine-copy,
  .targeted-restoration-page .tr-doctrine-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .targeted-restoration-page .tr-doctrine-copy > span {
    margin: 0 auto;
  }
}

/* Full reference-page treatment */
.targeted-restoration-page {
  background: #030b10;
}

.targeted-restoration-page .tr-paper {
  background:
    linear-gradient(to bottom, transparent 0 98px, #030b10 98px 100%);
  padding: 0 clamp(16px, 3.7vw, 58px) 22px;
}

.targeted-restoration-page .tr-doctrine,
.targeted-restoration-page .tr-phases,
.targeted-restoration-page .tr-method,
.targeted-restoration-page .tr-modalities,
.targeted-restoration-page .tr-journey-cta,
.targeted-restoration-page .tr-values-strip,
.targeted-restoration-page .tr-emergency-card {
  max-width: 1360px;
}

.targeted-restoration-page .tr-title {
  align-items: center;
  background: #fff;
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 16px auto 0;
  max-width: 1360px;
  padding: 14px 20px 6px;
  text-align: center;
}

.targeted-restoration-page .tr-title::after {
  display: none;
}

.targeted-restoration-page .tr-title > span,
.targeted-restoration-page .tr-title.compact > span {
  align-items: center;
  background: #0b8e8d;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.targeted-restoration-page .tr-title h2,
.targeted-restoration-page .tr-title.compact h2 {
  color: #102b35;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(21px, 1.45vw, 27px);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  padding: 0;
  text-transform: uppercase;
}

.targeted-restoration-page .tr-phases {
  background: #fff;
  border: 1px solid rgba(8, 45, 54, 0.2);
  border-radius: 0 0 7px 7px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  gap: 0;
  margin: 0 auto 16px;
  padding: 0 24px 22px;
}

.targeted-restoration-page .tr-phase-head {
  color: #0c2f3a;
  display: grid;
  font-size: 11px;
  font-weight: 900;
  grid-template-columns: 350px 250px 1fr 310px;
  letter-spacing: 0.06em;
  padding: 0 0 8px;
  text-align: center;
  text-transform: uppercase;
}

.targeted-restoration-page .tr-phase {
  background: linear-gradient(90deg, #06343d, #03222b);
  border: 1px solid rgba(122, 205, 202, 0.55);
  border-radius: 7px;
  color: #fff;
  display: grid;
  grid-template-columns: 350px 250px 1fr 310px;
  margin-top: 4px;
  min-height: 118px;
  overflow: hidden;
}

.targeted-restoration-page .tr-phase-photo {
  min-height: 118px;
  position: relative;
}

.targeted-restoration-page .tr-phase-photo img {
  display: block;
  filter: contrast(1.08) saturate(0.94);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.targeted-restoration-page .tr-phase-photo::after {
  background: linear-gradient(90deg, rgba(3, 18, 24, 0.08), rgba(3, 18, 24, 0.42));
  content: "";
  inset: 0;
  position: absolute;
}

.targeted-restoration-page .tr-phase-photo b {
  align-items: center;
  background: #078f90;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(16, 219, 212, 0.25);
  color: #fff;
  display: inline-flex;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 27px;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  left: 22px;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  z-index: 2;
}

.targeted-restoration-page .tr-phase-label {
  align-content: center;
  background: transparent;
  color: #fff;
  display: block;
  padding: 20px 22px;
}

.targeted-restoration-page .tr-phase-label strong {
  color: #fff;
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
}

.targeted-restoration-page .tr-phase-label em {
  color: rgba(255, 255, 255, 0.92);
  display: block;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 3px;
}

.targeted-restoration-page .tr-phase-label p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 8px;
}

.targeted-restoration-page .tr-focus,
.targeted-restoration-page .tr-goal {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding: 20px 28px;
}

.targeted-restoration-page .tr-focus ul {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.42;
  list-style: none;
  margin: 0;
  padding: 0;
}

.targeted-restoration-page .tr-focus li + li {
  margin-top: 2px;
}

.targeted-restoration-page .tr-goal {
  align-self: stretch;
  background: transparent;
  border-radius: 0;
  margin: 0;
  min-height: 0;
}

.targeted-restoration-page .tr-goal p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.targeted-restoration-page .tr-method {
  background: #fff;
  border: 1px solid rgba(8, 45, 54, 0.2);
  border-radius: 7px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  margin: 16px auto 0;
  padding: 22px 24px 30px;
}

.targeted-restoration-page .tr-method .tr-title.compact,
.targeted-restoration-page .tr-modalities .tr-title.compact {
  margin: 0 auto 22px;
  padding: 0;
}

.targeted-restoration-page .tr-method-steps {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 46px 1fr 46px 1fr 46px 1fr 46px 1fr;
}

.targeted-restoration-page .tr-method-steps i {
  background: #fff;
  border: 1px solid rgba(8, 45, 54, 0.28);
  border-radius: 50%;
  color: #0b7380;
  font-size: 44px;
  height: 92px;
  width: 92px;
}

.targeted-restoration-page .tr-method-steps em {
  color: #0b6370;
  font-size: 48px;
  padding-top: 30px;
}

.targeted-restoration-page .tr-method-steps strong {
  color: #0f3540;
  font-size: 13px;
  margin-top: 12px;
}

.targeted-restoration-page .tr-method-steps p {
  color: #24444d;
  font-size: 12px;
  line-height: 1.42;
  margin: 8px auto 0;
  max-width: 150px;
}

.targeted-restoration-page .tr-modalities {
  background: #fff;
  border: 1px solid rgba(8, 45, 54, 0.2);
  border-radius: 7px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  margin: 16px auto 0;
  padding: 22px 24px 18px;
}

.targeted-restoration-page .tr-modality-grid {
  gap: 18px;
  grid-template-columns: repeat(7, 1fr);
}

.targeted-restoration-page .tr-modality-grid article {
  border: 1px solid rgba(8, 45, 54, 0.22);
  border-radius: 6px;
  padding: 18px 12px;
}

.targeted-restoration-page .tr-modality-grid i {
  color: #0b7580;
  font-size: 48px;
}

.targeted-restoration-page .tr-modality-grid strong {
  color: #15343f;
  font-size: 11px;
}

.targeted-restoration-page .tr-modality-grid p {
  color: #284a54;
  font-size: 11px;
}

.targeted-restoration-page .tr-modality-note {
  color: #123641;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  margin-top: 18px;
  text-align: center;
}

.targeted-restoration-page .tr-journey-cta {
  background:
    radial-gradient(circle at 8% 50%, rgba(23, 220, 212, 0.18), transparent 28%),
    radial-gradient(circle at 92% 50%, rgba(23, 220, 212, 0.18), transparent 28%),
    linear-gradient(90deg, #07363f, #03131a);
  border: 1px solid rgba(38, 207, 201, 0.7);
  border-radius: 7px;
  box-shadow: inset 0 0 34px rgba(20, 188, 184, 0.08);
  color: #fff;
  margin: 16px auto 0;
  padding: 28px 30px;
  text-align: center;
}

.targeted-restoration-page .tr-journey-cta h2 {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 2.2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}

.targeted-restoration-page .tr-journey-cta p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 10px;
}

.targeted-restoration-page .tr-journey-cta div {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-top: 22px;
}

.targeted-restoration-page .tr-values-strip {
  background: #fff;
  border: 1px solid rgba(8, 45, 54, 0.2);
  border-radius: 7px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 16px auto 0;
  padding: 20px 18px;
}

.targeted-restoration-page .tr-values-strip div {
  align-items: center;
  border-left: 1px solid rgba(8, 45, 54, 0.16);
  display: grid;
  gap: 4px 16px;
  grid-template-columns: 52px 1fr;
  padding: 0 18px;
}

.targeted-restoration-page .tr-values-strip div:first-child {
  border-left: 0;
}

.targeted-restoration-page .tr-values-strip i {
  color: #0b7580;
  font-size: 42px;
  grid-row: span 2;
}

.targeted-restoration-page .tr-values-strip strong {
  color: #173541;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.targeted-restoration-page .tr-values-strip span {
  color: #36525b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.targeted-restoration-page .tr-emergency-card {
  align-items: center;
  background: #fff;
  border: 2px solid rgba(200, 32, 32, 0.62);
  border-radius: 9px;
  display: grid;
  gap: 24px;
  grid-template-columns: 110px 1fr 420px;
  margin: 16px auto 0;
  padding: 24px 32px;
}

.targeted-restoration-page .tr-emergency-card > i {
  color: #c91d1d;
  font-size: 82px;
}

.targeted-restoration-page .tr-emergency-card h2 {
  color: #c91d1d;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.targeted-restoration-page .tr-emergency-card p {
  color: #263f48;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 8px;
}

.targeted-restoration-page .tr-emergency-card aside {
  align-items: center;
  border-left: 1px solid rgba(200, 32, 32, 0.28);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 112px;
  padding-left: 28px;
}

.targeted-restoration-page .tr-emergency-card aside p {
  color: #263f48;
  font-weight: 900;
  margin: 0;
  text-align: center;
}

.targeted-restoration-page .tr-emergency-card aside i {
  color: #c91d1d;
  font-size: 86px;
}

.targeted-restoration-page .tr-site-footer {
  background:
    radial-gradient(circle at 8% 4%, rgba(20, 207, 199, 0.14), transparent 28%),
    linear-gradient(90deg, #06252e 0%, #03141c 48%, #04131a 100%);
  color: #fff;
  padding: 30px clamp(16px, 3.7vw, 58px) 18px;
}

.targeted-restoration-page .tr-footer-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(155px, 0.75fr)) minmax(240px, 0.9fr);
  margin: 0 auto;
  max-width: 1360px;
}

.targeted-restoration-page .tr-footer-grid > div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 26px;
}

.targeted-restoration-page .tr-footer-grid > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.targeted-restoration-page .tr-footer-brand img {
  filter: brightness(0) invert(1) contrast(1.1);
  max-width: 270px;
  width: 100%;
}

.targeted-restoration-page .tr-footer-brand p,
.targeted-restoration-page .tr-footer-connect p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 14px;
}

.targeted-restoration-page .tr-site-footer h3 {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.targeted-restoration-page .tr-site-footer a:not(.tr-footer-appointment) {
  color: rgba(255, 255, 255, 0.75);
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 10px;
  text-decoration: none;
}

.targeted-restoration-page .tr-socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.targeted-restoration-page .tr-site-footer .tr-socials a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  height: 36px;
  justify-content: center;
  margin: 0;
  width: 36px;
}

.targeted-restoration-page .tr-footer-appointment {
  align-items: center;
  background: linear-gradient(90deg, #08a8a4, #28c4bd);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  min-height: 58px;
  padding: 0 22px;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
}

.targeted-restoration-page .tr-footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: space-between;
  margin: 26px auto 0;
  max-width: 1360px;
  padding-top: 16px;
}

.targeted-restoration-page .tr-footer-bottom strong {
  color: #18d6cf;
}

@media (max-width: 1180px) {
  .targeted-restoration-page .tr-phase-head,
  .targeted-restoration-page .tr-phase {
    grid-template-columns: 260px 220px 1fr;
  }

  .targeted-restoration-page .tr-phase-head span:last-child,
  .targeted-restoration-page .tr-goal {
    grid-column: 3;
  }

  .targeted-restoration-page .tr-values-strip,
  .targeted-restoration-page .tr-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .targeted-restoration-page .tr-emergency-card {
    grid-template-columns: 90px 1fr;
  }

  .targeted-restoration-page .tr-emergency-card aside {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .targeted-restoration-page .tr-method-steps,
  .targeted-restoration-page .tr-modality-grid {
    grid-template-columns: 1fr;
  }

  .targeted-restoration-page .tr-method-steps em {
    transform: rotate(90deg);
    padding: 0;
  }
}

@media (max-width: 720px) {
  .targeted-restoration-page .tr-paper {
    background: #030b10;
    padding: 0 14px 18px;
  }

  .targeted-restoration-page .tr-phase-head {
    display: none;
  }

  .targeted-restoration-page .tr-phases,
  .targeted-restoration-page .tr-method,
  .targeted-restoration-page .tr-modalities,
  .targeted-restoration-page .tr-values-strip,
  .targeted-restoration-page .tr-emergency-card,
  .targeted-restoration-page .tr-footer-grid {
    grid-template-columns: 1fr;
  }

  .targeted-restoration-page .tr-phase {
    grid-template-columns: 1fr;
  }

  .targeted-restoration-page .tr-phase-photo {
    min-height: 190px;
  }

  .targeted-restoration-page .tr-focus,
  .targeted-restoration-page .tr-goal {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .targeted-restoration-page .tr-values-strip div,
  .targeted-restoration-page .tr-footer-grid > div {
    border-left: 0;
    border-top: 1px solid rgba(8, 45, 54, 0.16);
    padding: 18px 8px;
  }

  .targeted-restoration-page .tr-values-strip div:first-child,
  .targeted-restoration-page .tr-footer-grid > div:first-child {
    border-top: 0;
  }

  .targeted-restoration-page .tr-emergency-card {
    text-align: center;
  }

  .targeted-restoration-page .tr-emergency-card > i {
    margin: 0 auto;
  }

  .targeted-restoration-page .tr-emergency-card aside {
    border-left: 0;
    border-top: 1px solid rgba(200, 32, 32, 0.28);
    grid-template-columns: 1fr;
    padding: 18px 0 0;
  }

  .targeted-restoration-page .tr-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

/* Final hero fit fixes */
@media (min-width: 901px) {
  .targeted-restoration-page .tr-hero {
    grid-template-columns: minmax(610px, 48%) minmax(0, 52%);
    min-height: 600px;
  }

  .targeted-restoration-page .tr-hero-copy {
    padding-bottom: 56px;
    padding-top: 58px;
  }

  .targeted-restoration-page .tr-hero-actions {
    margin-top: 34px;
  }

  .targeted-restoration-page .tr-hero-visual {
    min-height: 600px;
  }

  .targeted-restoration-page .tr-hero-visual img,
  .targeted-restoration-page .tr-hero img {
    border-radius: 0;
    filter: contrast(1.08) saturate(1.08) brightness(0.92) drop-shadow(0 0 34px rgba(30, 214, 207, 0.12));
    height: auto;
    max-height: 500px;
    max-width: 88%;
    object-fit: contain;
    object-position: center;
    opacity: 0.94;
    transform: scale(1);
    width: auto;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-composite: intersect;
  }

  .targeted-restoration-page .tr-pathway-orbits {
    display: none;
  }

  .targeted-restoration-page .tr-hero-pillars {
    bottom: auto;
    gap: 26px;
    left: auto;
    margin-top: 22px;
    position: static;
    right: auto;
  }

  .targeted-restoration-page .tr-orbit {
    height: 90px;
    overflow: visible;
    width: 90px;
    z-index: 3;
  }

  .targeted-restoration-page .tr-orbit::before {
    background: radial-gradient(ellipse at center, rgba(2, 16, 22, 0.96) 0%, rgba(2, 16, 22, 0.92) 46%, rgba(2, 16, 22, 0) 72%);
    content: "";
    height: 138px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 156px;
    z-index: -1;
  }

  .targeted-restoration-page .tr-orbit b {
    font-size: 23px;
  }

  .targeted-restoration-page .tr-orbit small {
    font-size: 8px;
    max-width: 66px;
  }

  .targeted-restoration-page .tr-orbit.rescue {
    left: 46%;
    top: 12%;
  }

  .targeted-restoration-page .tr-orbit.control {
    right: 14%;
    top: 38%;
  }

  .targeted-restoration-page .tr-orbit.regulate {
    bottom: 18%;
    right: 20%;
  }

  .targeted-restoration-page .tr-orbit.rebuild {
    bottom: 19%;
    left: 24%;
  }

  .targeted-restoration-page .tr-orbit.reconnect {
    left: 18%;
    top: 38%;
  }

  .targeted-restoration-page .tr-paper {
    background: linear-gradient(to bottom, transparent 0 0, #030b10 0 100%);
  }

  .targeted-restoration-page .tr-doctrine {
    margin-top: 20px;
    min-height: 132px;
    padding: 18px 24px;
  }

  .targeted-restoration-page .tr-doctrine-grid div {
    min-height: 96px;
    padding-bottom: 8px;
    padding-top: 8px;
  }

  .targeted-restoration-page .tr-doctrine h2 {
    font-size: 23px;
  }

  .targeted-restoration-page .tr-doctrine p {
    font-size: 12px;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 390px) {
  .targeted-restoration-page .tr-focus,
  .targeted-restoration-page .tr-goal {
    min-width: 0;
    padding-left: 18px;
    padding-right: 18px;
    width: 100%;
  }
}
