/* ═══════════════════════════════════════════════
   TECHROBOTIC INNER PAGES — STYLES
   Loaded on all non-front-page pages.
   Shares token/base system with homepage.css.
   ═══════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --evergreen: #0D2C11;
  --evergreen-deep: #071A09;
  --evergreen-light: #143A1A;
  --evergreen-mid: #0F2E13;
  --ivory: #FBFCEF;
  --ivory-75: rgba(251, 252, 239, 0.75);
  --ivory-60: rgba(251, 252, 239, 0.60);
  --ivory-40: rgba(251, 252, 239, 0.40);
  --ivory-20: rgba(251, 252, 239, 0.20);
  --ivory-10: rgba(251, 252, 239, 0.10);
  --ivory-05: rgba(251, 252, 239, 0.05);
  --lavender: #CECAE2;
  --celadon: #BAD5BD;
  --indigo: #3D3172;
  --lime: #3ACD48;
  --lime-glow: rgba(58, 205, 72, 0.25);
  --lime-glow-strong: rgba(58, 205, 72, 0.4);

  --font-display: 'Cairo', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;

  --glass-bg: rgba(13, 44, 17, 0.55);
  --glass-border: rgba(251, 252, 239, 0.09);
  --glass-border-hover: rgba(251, 252, 239, 0.18);
  --glass-blur: 24px;
  --glass-inner-glow: inset 0 1px 0 rgba(251, 252, 239, 0.06), inset 0 0 20px rgba(251, 252, 239, 0.02);

  --space-section-inner: 48px;
  --space-section-outer: 96px;
}


/* ─── PARENT THEME INTEGRATION ─── */

body {
  background: var(--evergreen-deep) !important;
  background-color: var(--evergreen-deep) !important;
  color: var(--ivory) !important;
  font-family: var(--font-body) !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.65;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display) !important;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ivory);
}
a { color: inherit; }

/* WordPress margin-block fix */
:where(.site-content) > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.site-content {
  padding-top: 0 !important;
}

/* Hide parent footer (we have our own) */
.site-footer { display: none; }


/* ─── GRADIENT TEXT ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--lime), var(--celadon), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}
.gradient-text--dark {
  background: linear-gradient(135deg, var(--indigo), var(--lime));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}


/* ─── PILL BADGES ─── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ivory-10);
  background: rgba(13, 44, 17, 0.6);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lavender);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
}
.pill__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lavender);
  animation: pulse-dot 2s ease infinite;
}
.pill--celadon { color: var(--celadon); border-color: rgba(186, 213, 189, 0.15); }
.pill__dot--celadon { background: var(--celadon); }
.pill--ivory {
  background: rgba(13, 44, 17, 0.06);
  border-color: rgba(13, 44, 17, 0.12);
  color: var(--indigo);
  backdrop-filter: none;
}
.pill__dot--ivory { background: var(--indigo); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}


/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-spring);
  text-decoration: none;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left 0.6s var(--ease-spring);
  pointer-events: none;
}
.btn:hover::before {
  left: 120%;
}
.btn::after {
  content: '\2192';
  font-size: 1.1em;
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}
.btn:hover::after {
  transform: translateX(4px);
}

.btn--lime {
  background: linear-gradient(135deg, var(--lime), #2DB83A);
  color: var(--evergreen-deep);
  box-shadow:
    0 0 0 0 var(--lime-glow),
    0 4px 20px rgba(58, 205, 72, 0.25),
    0 1px 3px rgba(0, 0, 0, 0.3);
}
.btn--lime:hover {
  transform: translateY(-2px);
  color: var(--evergreen-deep);
  box-shadow: 0 0 20px var(--lime-glow), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn--outline {
  background: rgba(7, 26, 9, 0.75);
  color: var(--ivory);
  border: 1px solid var(--ivory-20);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.btn--outline:hover {
  border-color: var(--lime);
  color: var(--ivory);
  box-shadow: 0 0 20px var(--lime-glow), 0 4px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.btn--sm { /* unified sizing */ }
.btn--lg { /* unified sizing */ }
.btn--full { width: 100%; box-sizing: border-box; }


/* ─── CARD SYSTEM ─── */
.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring), filter 0.5s var(--ease-out);
}
.card--dark {
  background: rgba(7, 26, 9, 0.75);
  border: 1px solid var(--glass-border);
}
.card--dark::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(58, 205, 72, 0.10), rgba(58, 205, 72, 0.02));
  pointer-events: none;
  border-radius: var(--radius-xl);
  z-index: 0;
  transition: height 0.3s ease, background 0.3s ease;
}
.card--dark:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.card--dark:hover::after {
  height: 100%;
}


/* ─── ANIMATION SYSTEM ─── */
[data-anim] {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring), filter 0.5s var(--ease-out);
  filter: blur(4px);
}
[data-anim="up"] { transform: translateY(28px); }
[data-anim="down"] { transform: translateY(-28px); }
[data-anim="left"] { transform: translateX(-28px); }
[data-anim="right"] { transform: translateX(28px); }
[data-anim="fade"] { transform: none; }

[data-anim] { transition-delay: var(--anim-delay, 0s); }

[data-anim].is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
  filter: blur(0);
}


/* ─── SECTION HEADER ─── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 2;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 16px 0 0;
  margin-block: 0;
  margin-top: 16px;
  letter-spacing: -0.03em;
}
.section-header p {
  margin: 16px 0 0;
  margin-block: 0;
  margin-top: 16px;
  color: var(--ivory-60);
  font-size: 1.05rem;
}


/* ─── CONTENT WIDTH ENFORCEMENT ─── */
.tr-page-hero__inner,
.tr-team__inner,
.tr-about-pillars .section-header,
.tr-about-pillars__grid,
.tr-estimator__inner,
.tr-cta-final__content,
.footer__main,
.footer__bottom {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}


/* ═══════════════════════════════════════════════
   PAGE HERO (compact — NOT 100vh)
   ═══════════════════════════════════════════════ */
.tr-page-hero {
  position: relative;
  padding: 160px 24px var(--space-section-outer);
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(58, 205, 72, 0.04), transparent 70%);
}
.hero__waves-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,1) 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,1) 70%);
}
.cta-final__canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,1) 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,1) 70%);
}
.tr-page-hero__inner {
  max-width: 800px;
  position: relative;
  z-index: 2;
}
.tr-page-hero__headline {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
  margin: 24px 0 0;
  margin-block: 0;
  margin-top: 24px;
  line-height: 1.05;
}
.tr-page-hero__sub {
  margin: 24px auto 0;
  margin-block: 0;
  margin-top: 24px;
  font-size: 1.1rem;
  color: var(--ivory-60);
  max-width: 560px;
  line-height: 1.7;
}
.tr-page-hero__actions {
  margin: 40px 0 0;
  margin-block: 0;
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.tr-page-hero__deliverables {
  margin: 32px 0 0;
  margin-block: 0;
  margin-top: 32px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.tr-page-hero__deliverable {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ivory-75);
  padding-left: 20px;
  position: relative;
}
.tr-page-hero__deliverable::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
  font-size: 0.8rem;
}


/* ═══════════════════════════════════════════════
   ABOUT — ORIGIN STORY (ivory section)
   ═══════════════════════════════════════════════ */
.tr-origin-story {
  background: var(--ivory);
  padding: var(--space-section-outer) 24px;
}
.tr-origin-story__inner {
  max-width: 800px;
  margin: 0 auto;
}
.tr-origin-story__content {
  text-align: left;
}
.tr-origin-story__lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--evergreen);
  margin: 0 0 24px;
  margin-block: 0;
  margin-bottom: 24px;
}
.tr-origin-story__lead strong {
  color: var(--lime);
}
.tr-origin-story__content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(13, 44, 17, 0.65);
  margin: 0 0 20px;
  margin-block: 0;
  margin-bottom: 20px;
}
.tr-origin-story__content p:last-child {
  margin-bottom: 0;
}


/* ═══════════════════════════════════════════════
   ABOUT — TEAM (dark, photo + bio layout)
   ═══════════════════════════════════════════════ */
.tr-team {
  padding: var(--space-section-outer) 24px 48px;
}
.tr-team__inner {
  max-width: 1200px;
  margin: 0 auto;
}
/* Featured team member (founder) — half left-right inside card */
.tr-team-featured {
  max-width: 1200px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
}
.tr-team-featured > .tr-team-card--featured {
  grid-column: 1 / 3;
}
/* Pull quote in 3rd column */
.tr-team-pullquote {
  grid-column: 3 / 4;
  position: sticky;
  top: 120px;
  align-self: start;
  display: flex;
  align-items: center;
}
.tr-team-pullquote__frame {
  --corner-size: 24px;
  --corner-weight: 2px;
  --corner-color: var(--lime);
  position: relative;
  padding: 28px 24px;
}
.tr-team-pullquote__frame::before,
.tr-team-pullquote__frame::after {
  content: '';
  position: absolute;
  width: var(--corner-size);
  height: var(--corner-size);
  pointer-events: none;
}
.tr-team-pullquote__frame::before {
  top: 0;
  left: 0;
  border-top: var(--corner-weight) solid var(--corner-color);
  border-left: var(--corner-weight) solid var(--corner-color);
}
.tr-team-pullquote__frame::after {
  bottom: 0;
  right: 0;
  border-bottom: var(--corner-weight) solid var(--corner-color);
  border-right: var(--corner-weight) solid var(--corner-color);
}
.tr-team-pullquote__text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ivory-60);
  letter-spacing: -0.02em;
  margin: 0;
  margin-block: 0;
  text-align: center;
}
.tr-team-pullquote__text strong {
  color: var(--lime);
  font-weight: 700;
}
.tr-team-card.tr-team-card--featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  text-align: left;
  padding: 0;
  overflow: hidden;
}
.tr-team-card--featured .tr-team-card__photo {
  aspect-ratio: auto;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  margin: 0;
  height: 100%;
  transition: transform 0.5s var(--ease-spring);
}
.tr-team-card--featured .tr-team-card__photo .tr-team-card__img {
  transition: transform 0.5s var(--ease-spring);
}
.tr-team-card--featured:hover .tr-team-card__photo .tr-team-card__img {
  transform: scale(1.05);
}
.tr-team-card--featured .tr-team-card__info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
/* No card-level wash on featured card */
.tr-team-card--featured.card--dark::after {
  display: none;
}
/* Wash on the info div instead */
.tr-team-card--featured .tr-team-card__info::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(58, 205, 72, 0.10), rgba(58, 205, 72, 0.02));
  pointer-events: none;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  z-index: 0;
  transition: height 0.3s ease;
}
.tr-team-card--featured:hover .tr-team-card__info::after {
  height: 100%;
}
.tr-team-card--featured .tr-team-card__name {
  font-size: 1.6rem;
  letter-spacing: -0.025em;
}
.tr-team-card--featured .tr-team-card__title {
  font-size: 1rem;
}
.tr-team-card--featured .tr-team-card__bio {
  font-size: 1rem;
  line-height: 1.7;
  max-width: none;
}
/* Team grid — 3 across, images inside cards */
.tr-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tr-team-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
}
.tr-team-card__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  margin: 0;
}
.tr-team-card .tr-team-card__info {
  padding: 24px;
  flex: 1;
}
/* No card-level wash on grid team cards */
.tr-team-grid .tr-team-card.card--dark::after {
  display: none;
}
/* Wash on the info div instead */
.tr-team-grid .tr-team-card__info {
  position: relative;
}
.tr-team-grid .tr-team-card__info::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(58, 205, 72, 0.10), rgba(58, 205, 72, 0.02));
  pointer-events: none;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  z-index: 0;
  transition: height 0.3s ease;
}
.tr-team-grid .tr-team-card:hover .tr-team-card__info::after {
  height: 100%;
}
.tr-team-grid .tr-team-card__img {
  transition: transform 0.5s var(--ease-spring);
}
.tr-team-grid .tr-team-card:hover .tr-team-card__img {
  transform: scale(1.05);
}
.tr-team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tr-team-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ivory-40);
}
.tr-team-card__name {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  margin-block: 0;
  margin-bottom: 4px;
}
.tr-team-card__title {
  display: block;
  font-size: 0.85rem;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 16px;
}
.tr-team-card__bio {
  color: var(--ivory-60);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
  margin-block: 0;
}


/* ═══════════════════════════════════════════════
   ABOUT — PORTFOLIO (ivory)
   ═══════════════════════════════════════════════ */
.tr-portfolio {
  background: var(--ivory);
  padding: var(--space-section-outer) 24px;
  position: relative;
  overflow: hidden;
}
/* Atmospheric structural field — right side */
.tr-portfolio__field {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 75%;
  pointer-events: none;
  z-index: 0;
}
.tr-portfolio__svg {
  width: 100%;
  height: 100%;
}
/* Content */
.tr-portfolio__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.tr-portfolio__content {
  text-align: left;
  max-width: 540px;
}
.tr-portfolio__content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--evergreen);
  margin: 16px 0 0;
  margin-block: 0;
  margin-top: 16px;
  letter-spacing: -0.03em;
}
.tr-portfolio__content p {
  margin: 16px 0 24px;
  margin-block: 0;
  margin-top: 16px;
  margin-bottom: 24px;
  color: rgba(13, 44, 17, 0.60);
  font-size: 1.05rem;
  line-height: 1.7;
}
.tr-portfolio__content .btn {
  margin-top: 8px;
}


/* ═══════════════════════════════════════════════
   ABOUT — THREE PILLARS (dark, 3-col cards)
   ═══════════════════════════════════════════════ */
.tr-about-pillars {
  padding: 48px 24px var(--space-section-outer);
}
.tr-about-pillars .section-header {
  max-width: 520px;
}
.tr-about-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tr-about-pillars__card {
  position: relative;
  z-index: 1;
}
.tr-about-pillars__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ivory-05);
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 0;
  pointer-events: none;
}
.tr-about-pillars__card h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  margin-block: 0;
  position: relative;
  z-index: 1;
}
.tr-about-pillars__card p {
  color: var(--ivory-60);
  font-size: 0.95rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
  margin: 0;
}


/* ═══════════════════════════════════════════════
   HOMEPAGE CARD PATTERN (reused on inner pages)
   Copied from homepage.css — needed because homepage.css only loads on front page
   ═══════════════════════════════════════════════ */
.rpa-explainer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rpa-explainer__card {
  /* extends .card--dark via HTML class */
}
.rpa-explainer__number {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 6vw, 5rem);
  color: var(--lime);
  opacity: 0.15;
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
}
.rpa-explainer__card h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 0 0 12px; margin-block: 0; margin-bottom: 12px;
  color: var(--ivory);
  position: relative;
  z-index: 1;
  padding-top: 44px;
}
.rpa-explainer__card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ivory-60);
  margin: 0; margin-block: 0;
}
.rpa-explainer__tagline {
  text-align: center;
  max-width: 1200px;
  margin: 32px auto 0;
  font-size: 0.85rem;
  color: var(--ivory-40);
  letter-spacing: 0.04em;
}
.rpa-explainer__tagline strong {
  color: var(--lime);
}


/* ═══════════════════════════════════════════════
   CTA SECTION (reusable — same as homepage)
   ═══════════════════════════════════════════════ */
.tr-cta-final {
  position: relative;
  z-index: 2;
  padding: var(--space-section-outer) 24px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
}
.tr-cta-final--services {
  background: var(--evergreen);
}
.tr-cta-final__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.tr-cta-final__content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
  margin-block: 0;
  margin-top: 16px;
  margin-bottom: 20px;
}
.tr-cta-final__content p {
  color: var(--ivory-60);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 40px;
  margin-block: 0;
  margin-bottom: 40px;
}


/* ═══════════════════════════════════════════════
   FOOTER (same as homepage)
   ═══════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  padding: 64px 24px 32px;
  background: rgba(4, 14, 6, 0.5);
}
.footer__main {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--glass-border);
}
.footer__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  display: block;
  text-decoration: none;
  color: var(--ivory);
  transition: color 0.2s var(--ease-out);
}
.footer__logo:hover {
  color: var(--lime);
  margin-bottom: 12px;
}
.footer__tagline {
  font-size: 0.9rem;
  color: var(--ivory-60);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 320px;
}
.footer__heading {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ivory-75);
  margin-bottom: 16px;
}
.footer__nav,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav a,
.footer__contact a,
.footer__contact span:not(.footer__heading) {
  font-size: 0.9rem;
  color: var(--ivory-60);
  transition: color 0.2s ease;
  text-decoration: none;
}
.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--ivory);
}
.footer__powered-link {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--ivory-40);
  text-decoration: none;
  margin-top: 12px;
  transition: color 0.2s var(--ease-out);
}
.footer__powered-link strong { color: var(--ivory-60); transition: color 0.2s var(--ease-out); }
.footer__powered-link:hover { color: var(--ivory-60); }
.footer__powered-link:hover strong { color: var(--lime); }
.footer .btn:hover { transform: none; }
.footer__bottom-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__made-in-ny {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}
.footer__copy {
  font-size: 0.8rem;
  color: var(--ivory-75);
}
.footer__legal {
  display: flex;
  gap: 24px;
}
.footer__legal a {
  font-size: 0.8rem;
  color: var(--ivory-60);
  transition: color 0.2s ease;
  text-decoration: none;
}
.footer__legal a:hover {
  color: var(--ivory);
}

/* Logo dot (footer logo) */
.nav__logo-dot { color: var(--lime); }


/* ═══════════════════════════════════════════════
   REUSABLE INNER PAGE PATTERNS (stubs for future pages)
   ═══════════════════════════════════════════════ */

/* Services page — ivory background for entire content area below hero */
.tr-services-page {
  background: var(--ivory);
}
.tr-services-page .tr-page-hero,
.tr-services-page .footer {
  background: var(--evergreen-deep);
}

/* Services hero — extra bottom padding creates ivory gap below */
.tr-services-page .tr-page-hero {
  padding-bottom: var(--space-section-outer);
  margin-bottom: var(--space-section-outer);
}
/* Section nav — sits in hero, becomes sticky on scroll */
.tr-section-nav {
  position: sticky;
  top: calc(var(--mv-header-top, 16px) + var(--mv-header-height, 64px) + 4px);
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 12px 0;
}
.tr-section-nav__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  max-width: 1200px;
  border-radius: 100px;
  background: rgba(7, 26, 9, 0.75);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  overflow-x: auto;
  scrollbar-width: none;
}
.tr-section-nav__inner::-webkit-scrollbar { display: none; }
.tr-section-nav.is-hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.tr-section-nav:not(.is-hidden) {
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.tr-section-nav__pill {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--ivory-60);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.tr-section-nav__pill:hover,
.tr-section-nav__pill.is-active {
  border-color: var(--lime);
  color: var(--ivory);
  background: rgba(58, 205, 72, 0.08);
}

/* ═══════════════════════════════════════════════
   SERVICE SECTIONS — alternating image/copy layout
   ═══════════════════════════════════════════════ */
.tr-svc {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}
.tr-svc + .tr-svc {
  margin-top: var(--space-section-outer);
}
.tr-svc:last-of-type {
  margin-bottom: 0;
}
.tr-svc--reverse {
  grid-template-columns: 0.85fr 1.15fr;
}
.tr-svc--reverse .tr-svc__copy {
  order: -1;
}

/* Image column */
.tr-svc__media {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(13, 44, 17, 0.12),
    0 2px 8px rgba(13, 44, 17, 0.08);
}
.tr-svc__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tr-svc__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    transparent 75%,
    rgba(13, 44, 17, 0.04) 83%,
    rgba(13, 44, 17, 0.10) 92%,
    rgba(13, 44, 17, 0.18) 100%
  );
}
.tr-svc__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Rounded corners — outside edge only */
.tr-svc .tr-svc__media {
  border-radius: 0 clamp(12px, 1.5vw, 20px) clamp(12px, 1.5vw, 20px) 0;
}
.tr-svc--reverse .tr-svc__media {
  border-radius: clamp(12px, 1.5vw, 20px) 0 0 clamp(12px, 1.5vw, 20px);
}

/* Copy column */
.tr-svc__copy {
  padding: clamp(32px, 5vw, 80px) clamp(32px, 5vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.tr-svc__copy h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.03em;
  color: var(--evergreen);
  margin: 16px 0 0;
  margin-block: 0;
  margin-top: 16px;
}
.tr-svc__body {
  color: rgba(13, 44, 17, 0.65);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 16px 0 0;
  margin-block: 0;
  margin-top: 16px;
}
.tr-svc__roles {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tr-svc__role {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.tr-svc__role p {
  font-size: 0.9rem;
  color: rgba(13, 44, 17, 0.60);
  line-height: 1.55;
  margin: 0;
}
.tr-svc__role-tag {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  line-height: 1.4;
  min-width: 62px;
  text-align: center;
}
.tr-svc__role-tag--bot {
  background: rgba(58, 205, 72, 0.10);
  color: #1a8f26;
}
.tr-svc__role-tag--human {
  background: rgba(61, 49, 114, 0.08);
  color: var(--indigo);
}
.card--ivory:hover {
  border-color: rgba(13, 44, 17, 0.15);
  box-shadow: 0 4px 20px rgba(13, 44, 17, 0.06);
}


/* ═══════════════════════════════════════════════
   LOGOS SECTION (inner pages)
   ═══════════════════════════════════════════════ */
.tr-logos-section {
  padding: var(--space-section-outer) 24px;
}
.tr-logos-section--ivory {
  background: var(--ivory);
}
.tr-logos-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.tr-logos-section__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  text-align: center;
  color: rgba(13, 44, 17, 0.50);
  margin: 0 0 24px;
  margin-block: 0;
  margin-bottom: 24px;
}
.logos__track-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.logos__track {
  display: flex;
  width: max-content;
}
.logos__slide {
  display: flex;
  gap: 40px;
  align-items: center;
  animation: logo-scroll 45s linear infinite;
}
.logos__track-wrap:hover .logos__slide {
  animation-duration: 120s;
}
.logo-box {
  height: 28px;
  width: auto;
  opacity: 0.55;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}
.logo-box:hover {
  opacity: 0.85;
}
@keyframes logo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* Other services — catch-all section */
.tr-svc-other {
  background: var(--ivory);
  padding: var(--space-section-outer) 24px 0;
  text-align: center;
}
.tr-svc-other__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tr-svc-other__inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--evergreen);
  margin: 16px 0 0;
  margin-block: 0;
  margin-top: 16px;
}
.tr-svc-other__body {
  color: rgba(13, 44, 17, 0.65);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 20px 0 32px;
  margin-block: 0;
  margin-top: 20px;
  margin-bottom: 32px;
}

/* Fit filter — transparency section */
.tr-fit-filter {
  padding: var(--space-section-outer) 24px;
}
.tr-fit-filter__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.tr-fit-filter__inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin: 16px 0 0;
  margin-block: 0;
  margin-top: 16px;
}
.tr-fit-filter__sub {
  color: var(--ivory-60);
  font-size: 1.05rem;
  margin: 16px 0 0;
  margin-block: 0;
  margin-top: 16px;
}
.tr-fit-filter__list {
  list-style: none;
  padding: 0;
  margin: 32px auto 0;
  margin-block: 0;
  margin-top: 32px;
  max-width: 480px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tr-fit-filter__list li {
  font-size: 0.95rem;
  color: var(--ivory-60);
  padding: 6px 0 6px 28px;
  position: relative;
  line-height: 1.5;
}
.tr-fit-filter__list li::before {
  content: '\2715';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--lavender);
  font-weight: 500;
  font-size: 0.85rem;
  opacity: 0.65;
}

/* Pricing explainer — two-part fee structure */
.tr-pricing-explainer {
  background: var(--ivory);
  padding: var(--space-section-outer) 24px;
}
.tr-pricing-explainer__inner {
  max-width: 900px;
  margin: 0 auto;
}
.tr-pricing-explainer__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--evergreen);
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 0 48px;
  margin-block: 0;
  margin-bottom: 48px;
}
.tr-pricing-explainer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.tr-pricing-explainer__col {
  padding: 32px;
  background: rgba(13, 44, 17, 0.03);
  border: 1px solid rgba(13, 44, 17, 0.08);
  border-radius: var(--radius-xl);
}
.tr-pricing-explainer__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1a8f26;
  background: rgba(58, 205, 72, 0.10);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.tr-pricing-explainer__col h3 {
  font-size: 1.2rem;
  color: var(--evergreen);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  margin-block: 0;
  margin-bottom: 12px;
}
.tr-pricing-explainer__col p {
  font-size: 0.95rem;
  color: rgba(13, 44, 17, 0.60);
  line-height: 1.65;
  margin: 0;
}
.tr-pricing-explainer__note {
  text-align: center;
  font-size: 0.95rem;
  color: rgba(13, 44, 17, 0.50);
  margin: 32px 0 0;
  margin-block: 0;
  margin-top: 32px;
  font-style: italic;
}

/* Pricing bands — rough cost by complexity */
.tr-pricing-bands {
  background: var(--ivory);
  padding: var(--space-section-outer) 24px;
}
.tr-pricing-bands__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.tr-pricing-bands__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--evergreen);
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 0 12px;
  margin-block: 0;
  margin-bottom: 12px;
}
.tr-pricing-bands__sub {
  text-align: center;
  font-size: 0.95rem;
  color: rgba(13, 44, 17, 0.55);
  margin: 0 0 40px;
  margin-block: 0;
  margin-bottom: 40px;
}
.tr-pricing-bands__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tr-pricing-band {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(13, 44, 17, 0.08);
  background: rgba(13, 44, 17, 0.02);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring), filter 0.5s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.tr-pricing-band::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(58, 205, 72, 0.08), rgba(58, 205, 72, 0.01));
  pointer-events: none;
  border-radius: var(--radius-xl);
  z-index: 0;
  transition: height 0.3s ease;
}
.tr-pricing-band:hover {
  border-color: rgba(58, 205, 72, 0.25);
  box-shadow: 0 4px 20px rgba(13, 44, 17, 0.08);
}
.tr-pricing-band:hover::after {
  height: 100%;
}
.tr-pricing-band--featured {
  border-color: rgba(58, 205, 72, 0.30);
  background: rgba(58, 205, 72, 0.03);
  transform: scale(1.02);
}
.tr-pricing-band__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--evergreen-deep);
  background: var(--lime);
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  z-index: 2;
}
.tr-pricing-band__label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--evergreen);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.tr-pricing-band__desc {
  font-size: 0.85rem;
  color: rgba(13, 44, 17, 0.55);
  line-height: 1.5;
  margin: 0 0 20px;
  margin-block: 0;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.tr-pricing-band__numbers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(13, 44, 17, 0.08);
  padding-top: 18px;
  position: relative;
  z-index: 1;
}
.tr-pricing-band__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tr-pricing-band__key {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(13, 44, 17, 0.40);
}
.tr-pricing-band__val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--evergreen);
}

/* Pricing baseline — included features grid */
.tr-pricing-baseline {
  background: var(--ivory);
  padding: var(--space-section-outer) 24px var(--space-section-inner);
}
.tr-pricing-baseline__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.tr-pricing-baseline__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--evergreen);
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 0 48px;
  margin-block: 0;
  margin-bottom: 48px;
}
.tr-pricing-baseline__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tr-pricing-baseline__item {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: rgba(13, 44, 17, 0.04);
  border: 1px solid rgba(13, 44, 17, 0.08);
  position: relative;
  overflow: hidden;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring), filter 0.5s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.tr-pricing-baseline__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(160, 148, 200, 0.15), rgba(160, 148, 200, 0.03));
  pointer-events: none;
  border-radius: var(--radius-xl);
  transition: height 0.3s ease;
}
.tr-pricing-baseline__item:hover {
  border-color: rgba(160, 148, 200, 0.45);
  box-shadow: 0 4px 20px rgba(13, 44, 17, 0.06);
}
.tr-pricing-baseline__item:hover::before {
  height: 100%;
}
.tr-pricing-baseline__icon {
  display: none;
}
.tr-pricing-baseline__item h3 {
  font-size: 1.1rem;
  color: var(--evergreen);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  margin-block: 0;
  margin-bottom: 8px;
}
.tr-pricing-baseline__item p {
  font-size: 0.9rem;
  color: rgba(13, 44, 17, 0.55);
  line-height: 1.6;
  margin: 0;
  margin-block: 0;
}


/* ═══════════════════════════════════════════════
   PRICING ESTIMATOR — 2-step widget + results
   ═══════════════════════════════════════════════ */
.tr-estimator {
  padding: var(--space-section-outer) 24px;
}
.tr-estimator__inner {
  max-width: 800px;
  margin: 0 auto;
}
.tr-estimator__header {
  text-align: center;
  margin-bottom: 24px;
}
.tr-estimator__header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin: 16px 0 0;
  margin-block: 0;
  margin-top: 16px;
}
.tr-estimator__sub {
  color: var(--ivory-60);
  font-size: 1.05rem;
  margin: 12px 0 0;
  margin-block: 0;
  margin-top: 12px;
}

/* Progress bar */
.tr-estimator__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.tr-estimator__progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
}
.tr-estimator__progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--glass-border);
  background: transparent;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.tr-estimator__progress-step.is-active .tr-estimator__progress-dot,
.tr-estimator__progress-step.is-done .tr-estimator__progress-dot {
  background: var(--lime);
  border-color: var(--lime);
}
.tr-estimator__progress-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ivory-40);
  transition: color 0.3s var(--ease-out);
}
.tr-estimator__progress-step.is-active .tr-estimator__progress-label {
  color: var(--ivory);
}
.tr-estimator__progress-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--glass-border);
  margin: 0 16px;
  margin-top: -20px;
}

/* Step visibility */
.tr-estimator__step {
  display: none;
}
.tr-estimator__step.is-active {
  display: block;
}

/* Estimator card */
.tr-estimator__card {
  background: rgba(7, 26, 9, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
}
.tr-estimator__card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin: 0 0 24px;
  margin-block: 0;
  margin-bottom: 24px;
}
.tr-estimator__card-helper {
  color: var(--ivory-60);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 32px;
  margin-block: 0;
  margin-bottom: 32px;
}

/* Fields */
.tr-estimator__field {
  margin-bottom: 24px;
}
.tr-estimator__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ivory);
  margin-bottom: 4px;
}
.tr-estimator__hint {
  font-size: 0.8rem;
  color: var(--ivory-40);
  margin: 0 0 14px;
  margin-block: 0;
  margin-bottom: 14px;
}

/* Pill button selectors */
.tr-estimator__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tr-estimator__pills button {
  background: rgba(251, 252, 239, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ivory-60);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}
.tr-estimator__pills button:hover {
  border-color: var(--ivory-40);
  color: var(--ivory);
}
.tr-estimator__pills button.is-selected {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--evergreen-deep);
}
/* Multi-select pills */
.tr-estimator__pills--multi button.is-selected {
  background: rgba(58, 205, 72, 0.15);
  border-color: var(--lime);
  color: var(--lime);
}

/* Slider */
.tr-estimator__slider-field {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tr-estimator__slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--glass-border);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
}
.tr-estimator__slider:focus {
  outline: none;
}
.tr-estimator__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--evergreen-deep);
  cursor: pointer;
  transition: transform 0.15s var(--ease-out);
}
.tr-estimator__slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.tr-estimator__slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--evergreen-deep);
  cursor: pointer;
}
.tr-estimator__slider-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ivory);
  min-width: 32px;
  text-align: center;
}

/* Submit */
.tr-estimator__submit {
  margin-top: 32px;
}
.tr-estimator__submit:disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Restart */
/* Actions row */
.tr-estimator__actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.tr-estimator__next {
  flex: 1;
}
.tr-estimator__back {
  flex: 0 0 auto;
}
button.tr-estimator__back::after,
button.tr-estimator__restart::after {
  content: '\2190';
  order: -1;
}
button.tr-estimator__back:hover::after,
button.tr-estimator__restart:hover::after {
  transform: translateX(-4px);
}
.tr-estimator__next:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.tr-estimator__restart {
  width: 100%;
}
.tr-estimator__results .tr-estimator__actions {
  justify-content: center;
  margin-top: 16px;
}
.tr-estimator__results .tr-estimator__restart {
  width: auto;
}

/* ─── Results card ─── */
.tr-estimator__interpretation {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ivory-75);
  text-align: center;
  margin: 0 0 28px;
  margin-block: 0;
  margin-bottom: 28px;
  font-style: italic;
}

/* Bento KPI cards */
.tr-estimator__bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.tr-estimator__bento-card {
  background: rgba(251, 252, 239, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
}
.tr-estimator__bento-card:nth-child(4),
.tr-estimator__bento-card:nth-child(5) {
  grid-column: span 1;
}
.tr-estimator__bento:has(.tr-estimator__bento-card:nth-child(5)) {
  grid-template-columns: 1fr 1fr 1fr;
}
.tr-estimator__bento-card:nth-child(4) {
  grid-column: 1 / 2;
}
.tr-estimator__bento-card:nth-child(5) {
  grid-column: 2 / 4;
}
.tr-estimator__bento-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ivory-40);
  margin-bottom: 8px;
}
.tr-estimator__bento-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ivory);
}
.tr-estimator__bento-value--simple { color: var(--celadon); }
.tr-estimator__bento-value--moderate { color: var(--lavender); }
.tr-estimator__bento-value--complex { color: var(--lime); }
.tr-estimator__bento-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--ivory-40);
  margin-top: 4px;
}
.tr-estimator__disclaimer {
  font-size: 0.75rem;
  color: var(--ivory-40);
  text-align: center;
  margin: 16px 0 0;
  margin-block: 0;
  margin-top: 16px;
  line-height: 1.5;
}

/* FAQ accordion — details/summary, Techromatic pattern */
.tr-faq {
  background: var(--ivory);
  padding: var(--space-section-outer) 24px;
}
.tr-pricing-baseline + .tr-faq {
  padding-top: var(--space-section-inner);
}
.tr-faq__inner {
  max-width: 800px;
  margin: 0 auto;
}
.tr-faq__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--evergreen);
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 0 48px;
  margin-block: 0;
  margin-bottom: 48px;
}

/* Each item */
.tr-faq__item {
  border-bottom: 1px solid rgba(13, 44, 17, 0.10);
}
.tr-faq__item:first-child {
  border-top: 1px solid rgba(13, 44, 17, 0.10);
}

/* Summary trigger */
.tr-faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 16px;
  margin: 0 -16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--evergreen);
  gap: 24px;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: color 0.2s var(--ease-out), background 0.15s var(--ease-out);
}
.tr-faq__item summary::-webkit-details-marker { display: none; }

/* Chevron */
.tr-faq__item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(13, 44, 17, 0.30);
  border-bottom: 2px solid rgba(13, 44, 17, 0.30);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease-spring), border-color 0.2s var(--ease-out);
  margin-top: 5px;
  flex-shrink: 0;
}

/* Open state — flip chevron */
.tr-faq__item[open] summary::after {
  transform: rotate(45deg) scaleY(-1);
}

/* Hover */
.tr-faq__item summary:hover {
  color: var(--lime);
  background: rgba(13, 44, 17, 0.04);
}
.tr-faq__item summary:hover::after {
  border-color: var(--lime);
}

/* Answer body */
.tr-faq__body {
  padding-bottom: 24px;
}
.tr-faq__body p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(13, 44, 17, 0.60);
  max-width: 600px;
  margin: 0;
}

/* Contact form */
.tr-contact-form {
  background: var(--ivory);
  padding: var(--space-section-outer) 24px;
}
.tr-contact-form__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.tr-contact-form__context {
  position: sticky;
  top: 120px;
}
.tr-contact-form__context h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--evergreen);
  margin: 0 0 24px;
  margin-block: 0;
  margin-bottom: 24px;
}
.tr-contact-form__intro {
  color: rgba(13, 44, 17, 0.60);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 32px;
  margin-block: 0;
  margin-bottom: 32px;
}
.tr-contact-form__review-heading {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(13, 44, 17, 0.40);
  margin-bottom: 12px;
}
.tr-contact-form__review-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tr-contact-form__review-list li {
  font-size: 0.9rem;
  color: rgba(13, 44, 17, 0.60);
  padding-left: 24px;
  position: relative;
}
.tr-contact-form__review-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
  font-size: 0.8rem;
}
.tr-contact-form__card {
  background: rgba(13, 44, 17, 0.03);
  border: 1px solid rgba(13, 44, 17, 0.10);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.tr-contact-form__success {
  text-align: center;
  padding: 48px 24px;
}
.tr-contact-form__success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--evergreen);
  margin: 0 0 12px;
  margin-block: 0;
  margin-bottom: 12px;
}
.tr-contact-form__success p {
  font-size: 1rem;
  color: rgba(13, 44, 17, 0.60);
  line-height: 1.65;
  margin: 0;
}
.tr-contact-form__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tr-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tr-contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tr-contact-form__field--full {
  grid-column: 1 / -1;
}
.tr-contact-form__field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  color: rgba(13, 44, 17, 0.65);
  letter-spacing: 0.02em;
}
.tr-contact-form__field input,
.tr-contact-form__field textarea,
.tr-contact-form__field select {
  background: rgba(13, 44, 17, 0.03);
  border: 1px solid rgba(13, 44, 17, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--evergreen);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  resize: vertical;
}
.tr-contact-form__field input::placeholder,
.tr-contact-form__field textarea::placeholder {
  color: rgba(13, 44, 17, 0.35);
}
.tr-contact-form__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230D2C11' stroke-width='1.5' fill='none' opacity='0.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.tr-contact-form__field select {
  color: rgba(13, 44, 17, 0.35);
}
.tr-contact-form__field select.has-value {
  color: var(--evergreen);
}
.tr-contact-form__field input:focus,
.tr-contact-form__field textarea:focus,
.tr-contact-form__field select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-glow);
}

/* Process walkthrough — contact page */
.tr-process {
  padding: var(--space-section-outer) 24px;
}
.tr-process__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.tr-process__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin: 16px 0 0;
  margin-block: 0;
  margin-top: 16px;
  margin-bottom: 56px;
}

/* 4-column step grid */
.tr-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  text-align: center;
}

/* Horizontal connector line */
.tr-process__steps::before {
  content: '';
  position: absolute;
  top: 5px;
  left: calc(100% / 8);
  right: calc(100% / 8);
  height: 1px;
  background: linear-gradient(to right, var(--lime), var(--lavender) 33%, var(--celadon) 66%, var(--lime));
  opacity: 0.4;
  pointer-events: none;
}

/* Step dot — sits on the connector line */
.tr-process__dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  border: 2px solid var(--evergreen-deep);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.tr-process__step:nth-child(1) .tr-process__dot {
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(58, 205, 72, 0.15);
}
.tr-process__step:nth-child(2) .tr-process__dot {
  background: var(--lavender);
  box-shadow: 0 0 0 3px rgba(206, 202, 226, 0.15);
}
.tr-process__step:nth-child(3) .tr-process__dot {
  background: var(--celadon);
  box-shadow: 0 0 0 3px rgba(186, 213, 189, 0.15);
}
.tr-process__step:nth-child(4) .tr-process__dot {
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(58, 205, 72, 0.15);
}
.tr-process__step:hover .tr-process__dot {
  transform: scale(1.5);
}

/* Ghost number watermark */
.tr-process__number {
  display: block;
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 700;
  color: rgba(251, 252, 239, 0.10);
  line-height: 0.8;
  letter-spacing: -0.05em;
  margin-bottom: -32px;
}

/* Step title — overlaps bottom of number */
.tr-process__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.tr-process__body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ivory-60);
  margin: 0;
}

/* Lead magnet — email capture */
.tr-lead-magnet {
  background: var(--ivory);
  padding: var(--space-section-inner) 24px;
}
.tr-lead-magnet__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Contact form button — no lift on hover */
.tr-contact-form .btn:hover {
  transform: none;
}

/* Trust note */
.tr-trust-note {
  background: var(--ivory);
  padding: var(--space-section-inner) 24px var(--space-section-outer);
}
.tr-trust-note__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(13, 44, 17, 0.50);
  line-height: 1.65;
}


/* ═══════════════════════════════════════════════
   BLOG LISTING (ivory section, card grid)
   ═══════════════════════════════════════════════ */
.tr-blog-listing {
  background: var(--ivory);
  padding: var(--space-section-outer) 24px;
}
.tr-blog-listing__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.tr-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tr-blog-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(13, 44, 17, 0.08);
  background: rgba(13, 44, 17, 0.02);
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  position: relative;
}
.tr-blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(160, 148, 200, 0.15), rgba(160, 148, 200, 0.03));
  pointer-events: none;
  border-radius: var(--radius-xl);
  transition: height 0.3s ease;
  z-index: 0;
}
.tr-blog-card:hover {
  border-color: rgba(160, 148, 200, 0.45);
  box-shadow: 0 4px 20px rgba(13, 44, 17, 0.06);
}
.tr-blog-card:hover::before {
  height: 100%;
}
.tr-blog-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 1;
}
.tr-blog-card__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--evergreen-deep);
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.tr-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}
.tr-blog-card:hover .tr-blog-card__img {
  transform: scale(1.04);
}
.tr-blog-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--evergreen-deep);
}
.tr-blog-card__placeholder-icon {
  font-size: 1.5rem;
  color: var(--ivory-20);
}
.tr-blog-card__body {
  padding: 24px;
}
.tr-blog-card__cat {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ivory);
  background: rgba(7, 26, 9, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.tr-blog-card__date {
  display: block;
  font-size: 0.8rem;
  color: rgba(13, 44, 17, 0.45);
  margin-bottom: 8px;
}
.tr-blog-card__title {
  font-size: 1.15rem;
  color: var(--evergreen);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  margin-block: 0;
  margin-bottom: 8px;
  line-height: 1.3;
}
.tr-blog-card__excerpt {
  font-size: 0.9rem;
  color: rgba(13, 44, 17, 0.60);
  line-height: 1.6;
  margin: 0 0 16px;
  margin-block: 0;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tr-blog-card__read {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--evergreen);
  transition: color 0.2s ease;
}
.tr-blog-card:hover .tr-blog-card__read {
  color: var(--indigo);
}

/* Blog pagination */
.tr-blog-pagination {
  text-align: center;
  margin-top: 48px;
}
.tr-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(13, 44, 17, 0.10);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--evergreen);
  text-decoration: none;
  margin: 0 4px;
  transition: all 0.2s ease;
}
.tr-blog-pagination .page-numbers:hover {
  border-color: var(--lime);
  color: var(--lime);
}
.tr-blog-pagination .page-numbers.current {
  background: var(--evergreen);
  color: var(--ivory);
  border-color: var(--evergreen);
}
.tr-blog-pagination .prev,
.tr-blog-pagination .next {
  font-size: 0.8rem;
  padding: 0 20px;
}

/* Blog empty state */
.tr-blog-empty {
  text-align: center;
  padding: 64px 0;
}
.tr-blog-empty h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--evergreen);
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  margin-block: 0;
  margin-bottom: 16px;
}
.tr-blog-empty p {
  color: rgba(13, 44, 17, 0.55);
  font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════
   LEGAL PAGES (Privacy Policy, Terms)
   ═══════════════════════════════════════════════ */
.tr-page-hero--short {
  padding-top: 140px;
  padding-bottom: var(--space-section-outer);
}
.tr-legal-content {
  background: var(--ivory);
  padding: var(--space-section-outer) 24px;
}
.tr-legal-content__inner {
  max-width: 800px;
  margin: 0 auto;
}
.tr-legal-prose h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--evergreen);
  margin: 40px 0 16px;
  margin-block: 0;
  margin-top: 40px;
  margin-bottom: 16px;
}
.tr-legal-prose h2:first-child {
  margin-top: 0;
}
.tr-legal-prose p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(13, 44, 17, 0.65);
  margin: 0 0 16px;
  margin-block: 0;
  margin-bottom: 16px;
}
.tr-legal-prose ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  margin-block: 0;
  margin-bottom: 16px;
}
.tr-legal-prose li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(13, 44, 17, 0.65);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.tr-legal-prose li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--lime);
}
.tr-legal-prose a {
  color: var(--evergreen);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tr-legal-prose a:hover {
  color: var(--lime);
}
.tr-legal-prose strong {
  color: var(--evergreen);
}


/* ═══════════════════════════════════════════════
   SINGLE POST (ivory content area)
   ═══════════════════════════════════════════════ */
.tr-post-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}
.tr-post-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 0;
  margin-block: 0;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--ivory-60);
}
.tr-post-hero__sep {
  color: var(--ivory-40);
}
.tr-post-hero__author {
  font-weight: 600;
}

.tr-post-body {
  background: var(--ivory);
  padding: var(--space-section-outer) 24px;
}
.tr-post-content {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(13, 44, 17, 0.70);
}
.tr-post-content h1,
.tr-post-content h2,
.tr-post-content h3,
.tr-post-content h4,
.tr-post-content h5,
.tr-post-content h6 {
  font-family: var(--font-display);
  color: var(--evergreen);
  margin: 40px 0 16px;
  margin-block: 0;
  margin-top: 40px;
  margin-bottom: 16px;
}
.tr-post-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}
.tr-post-content h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  letter-spacing: -0.02em;
}
.tr-post-content p {
  margin: 0 0 24px;
  margin-block: 0;
  margin-bottom: 24px;
}
.tr-post-content a {
  color: #1a8f26;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.tr-post-content a:hover {
  color: var(--lime);
}
.tr-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 24px 0;
}
.tr-post-content ul,
.tr-post-content ol {
  padding-left: 0;
  margin: 0 0 24px;
  margin-block: 0;
  margin-bottom: 24px;
  list-style: none;
}
.tr-post-content ul li,
.tr-post-content ol li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
  line-height: 1.7;
}
.tr-post-content ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1.5;
}
.tr-post-content ol {
  counter-reset: post-counter;
}
.tr-post-content ol li {
  counter-increment: post-counter;
}
.tr-post-content ol li::before {
  content: counter(post-counter) '.';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.tr-post-content blockquote {
  border-left: 3px solid var(--lime);
  padding: 16px 24px;
  margin: 32px 0;
  font-style: italic;
  color: rgba(13, 44, 17, 0.60);
  background: rgba(13, 44, 17, 0.02);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.tr-post-content blockquote p:last-child {
  margin-bottom: 0;
}
.tr-post-content pre,
.tr-post-content code {
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 0.9em;
}
.tr-post-content pre {
  background: var(--evergreen-deep);
  color: var(--ivory-75);
  padding: 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 24px 0;
}
.tr-post-content code {
  background: rgba(13, 44, 17, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--evergreen);
}
.tr-post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* WordPress block editor compat */
.tr-post-content .wp-block-image {
  margin: 24px 0;
}
.tr-post-content .wp-block-image img {
  border-radius: var(--radius-md);
}
.tr-post-content .wp-block-separator {
  border: none;
  border-top: 1px solid rgba(13, 44, 17, 0.10);
  margin: 40px 0;
}

/* Back link */
.tr-post-back {
  max-width: 800px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(13, 44, 17, 0.10);
}
.tr-post-back__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--indigo);
  text-decoration: none;
  transition: color 0.2s ease;
}
.tr-post-back__link:hover {
  color: var(--lime);
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

/* TABLET (<=1024px) */
@media (max-width: 1024px) {
  .tr-page-hero,
  .tr-origin-story,
  .tr-team,
  .tr-portfolio,
  .tr-about-pillars,
  .tr-cta-final,
  .footer,
  .tr-section-nav,
  .tr-svc-other,
  .tr-fit-filter,
  .tr-pricing-explainer,
  .tr-pricing-bands,
  .tr-pricing-baseline,
  .tr-estimator,
  .tr-faq,
  .tr-contact-form,
  .tr-process,
  .tr-lead-magnet,
  .tr-trust-note,
  .tr-logos-section,
  .tr-blog-listing,
  .tr-post-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .tr-origin-story,
  .tr-team,
  .tr-portfolio,
  .tr-about-pillars,
  .tr-cta-final,
  .tr-svc-other,
  .tr-fit-filter,
  .tr-pricing-explainer,
  .tr-pricing-bands,
  .tr-pricing-baseline,
  .tr-estimator,
  .tr-faq,
  .tr-contact-form,
  .tr-blog-listing,
  .tr-post-body {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .tr-process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }
  .tr-process__steps::before {
    display: none;
  }

  /* Paul's card — stack image-top / text-below on tablet */
  .tr-team-card.tr-team-card--featured {
    grid-template-columns: 1fr;
  }
  .tr-team-card--featured .tr-team-card__photo {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    aspect-ratio: 1/1;
  }
  .tr-team-featured {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .tr-team-pullquote {
    display: none;
  }
  .tr-team-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

/* SMALL TABLET (<=900px) */
@media (max-width: 900px) {
  .tr-origin-story__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tr-team-card--featured {
    grid-template-columns: 1fr;
  }
  .tr-team-card--featured .tr-team-card__photo {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    aspect-ratio: 1/1;
  }
  .tr-team-card--featured .tr-team-card__name {
    font-size: 1.2rem;
  }
  .tr-team-card--featured .tr-team-card__bio {
    font-size: 0.9rem;
  }
  .tr-team-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .tr-team-featured {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .tr-team-pullquote {
    display: none;
  }
  .tr-team {
    padding-bottom: 32px;
  }
  .tr-about-pillars {
    padding-top: 32px;
  }
  .tr-about-pillars .rpa-explainer__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tr-about-pillars .rpa-explainer__number {
    font-size: clamp(3.5rem, 6vw, 5rem);
  }
  .tr-portfolio__field {
    width: 100%;
    opacity: 0.35;
  }
  .tr-about-pillars__grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .tr-svc {
    grid-template-columns: 1fr;
    margin: 0 clamp(16px, 3vw, 24px);
  }
  .tr-svc + .tr-svc,
  .tr-services-page .tr-page-hero,
  .tr-svc:last-of-type {
    margin-bottom: 40px;
  }
  .tr-svc + .tr-svc {
    margin-top: 40px;
  }
  .tr-svc:last-of-type {
    margin-bottom: 0;
  }
  .tr-svc-other {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .tr-logos-section {
    padding-top: 24px;
    padding-bottom: 32px;
  }
  .logos__slide {
    gap: 28px;
  }
  .logo-box {
    height: 20px;
  }
  .tr-svc--reverse {
    grid-template-columns: 1fr;
  }
  .tr-svc--reverse .tr-svc__copy {
    order: 0;
  }
  .tr-svc__media,
  .tr-svc .tr-svc__media,
  .tr-svc--reverse .tr-svc__media {
    height: clamp(240px, 50vw, 400px);
    border-radius: var(--radius-xl);
    overflow: hidden;
  }
  .tr-svc__copy {
    padding: 36px 16px 16px;
  }
  .tr-pricing-explainer__cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tr-pricing-bands__grid {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .tr-pricing-band--featured {
    transform: none;
  }
  .tr-pricing-baseline {
    padding-bottom: 24px;
  }
  .tr-pricing-baseline + .tr-faq {
    padding-top: 24px;
  }
  .tr-pricing-baseline__grid {
    grid-template-columns: 1fr;
  }
  .tr-estimator__card {
    padding: 28px 20px;
  }
  .tr-estimator__bento {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .tr-estimator__bento-card:nth-child(4),
  .tr-estimator__bento-card:nth-child(5) {
    grid-column: auto;
  }
  .tr-estimator__bento-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .tr-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tr-contact-form__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .tr-contact-form__row {
    grid-template-columns: 1fr;
  }
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__main > .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .section-header { margin: 0 auto 40px; }
}

/* MOBILE (<=768px) */
@media (max-width: 768px) {
  .tr-page-hero,
  .tr-origin-story,
  .tr-team,
  .tr-portfolio,
  .tr-about-pillars,
  .tr-cta-final,
  .footer,
  .tr-section-nav,
  .tr-svc-other,
  .tr-fit-filter,
  .tr-pricing-explainer,
  .tr-pricing-bands,
  .tr-pricing-baseline,
  .tr-estimator,
  .tr-faq,
  .tr-contact-form,
  .tr-process,
  .tr-lead-magnet,
  .tr-trust-note,
  .tr-logos-section,
  .tr-blog-listing,
  .tr-post-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tr-origin-story,
  .tr-team,
  .tr-portfolio,
  .tr-about-pillars,
  .tr-cta-final,
  .tr-svc-other,
  .tr-fit-filter,
  .tr-pricing-explainer,
  .tr-pricing-bands,
  .tr-pricing-baseline,
  .tr-estimator,
  .tr-faq,
  .tr-contact-form,
  .tr-blog-listing,
  .tr-post-body {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .tr-team {
    padding-bottom: 32px;
  }
  .tr-about-pillars {
    padding-top: 32px;
  }

  .tr-blog-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .tr-svc-other {
    padding-top: 24px;
  }
  .tr-contact-form__context {
    position: static;
  }
  .tr-process__steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tr-process__steps::before {
    display: none;
  }
  .tr-process__dot {
    display: none;
  }
  .tr-process__step {
    text-align: left;
  }
  .tr-process__number {
    font-size: 72px;
    text-align: left;
    margin-bottom: -24px;
  }
  .tr-process__title {
    text-align: left;
  }
  .tr-process__body {
    text-align: left;
  }

  .tr-page-hero {
    padding-top: 120px;
  }
  .tr-page-hero__headline {
    font-size: 2.25rem;
  }
  .tr-page-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .tr-page-hero__deliverables {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .tr-section-nav {
    gap: 6px;
  }
  .tr-section-nav__pill {
    padding: 6px 14px;
    font-size: 0.75rem;
  }
}
