@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/montserrat-latin.woff2") format("woff2");
}

:root {
  --ink: #211d1c;
  --burgundy: #4c0704;
  --burgundy-deep: #1c1111;
  --paper: #f4f1ec;
  --paper-bright: #fcfaf7;
  --white: #ffffff;
  --gold: #d2af60;
  --gold-dark: #89671b;
  --muted: #68615d;
  --line: rgba(33, 29, 28, .16);
  --line-dark: rgba(255, 255, 255, .16);
  --display: "Montserrat", "Avenir Next", sans-serif;
  --body: "Montserrat", "Avenir Next", sans-serif;
  --mono: "Montserrat", "Avenir Next", sans-serif;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); scroll-padding-top: 98px; }
body {
  margin: 0;
  background: var(--paper-bright);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: var(--gold); color: var(--burgundy-deep); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--burgundy-deep);
  font-weight: 700;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px clamp(20px, 4.2vw, 68px);
  color: var(--ink);
  background: rgba(255, 255, 255, .98);
  transition: background .25s ease, color .25s ease, min-height .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  min-height: 68px;
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-filter-defs { position: absolute; pointer-events: none; }
.brand-logo { width: 224px; height: auto; filter: url("#triumphi-logo-alpha"); }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: .85rem; letter-spacing: .17em; }
.brand-copy small { margin-top: 5px; font-family: var(--mono); font-size: .58rem; letter-spacing: .22em; opacity: .68; }

.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.main-nav a {
  position: relative;
  font-size: .79rem;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--burgundy);
  border-radius: 999px;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--gold); color: var(--burgundy-deep); border-color: var(--gold); }
.menu-toggle { display: none; }

.hero {
  min-height: 800px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: center;
  gap: clamp(32px, 4vw, 72px);
  position: relative;
  overflow: hidden;
  padding: 150px clamp(24px, 6vw, 92px) 80px;
  background: radial-gradient(ellipse at 88% 22%, #4c0704 0%, #2a1514 40%, #171313 78%);
  color: var(--paper-bright);
}
.hero-grid, .closing-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(183, 140, 42, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 140, 42, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, black, transparent 85%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  left: -260px;
  bottom: -320px;
  border: 1px solid rgba(183, 140, 42, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(183, 140, 42, .02), 0 0 0 140px rgba(183, 140, 42, .02);
}
.hero-copy, .hero-visual { position: relative; z-index: 2; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--burgundy);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 2px; background: var(--gold-dark); }
.hero .eyebrow, .eyebrow-light { color: var(--gold); }
.hero h1 {
  max-width: 830px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 4.6vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.07;
}
.hero h1 em { display: block; color: var(--gold); font-weight: 500; font-style: normal; }
.hero-lead {
  max-width: 660px;
  margin: 36px 0 0;
  color: rgba(251, 250, 245, .78);
  font-size: clamp(1.03rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}
.hero-actions, .closing-actions, .result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: var(--burgundy-deep); gap: 18px; }
.button-primary:hover, .button-primary:focus-visible { background: #e3c57d; }
.button-gold { background: var(--gold); color: var(--burgundy-deep); }
.button-gold:hover, .button-gold:focus-visible { background: #e3c57d; }
.button-ghost { color: var(--paper-bright); border-color: rgba(255, 255, 255, .3); }
.button-ghost:hover, .button-ghost:focus-visible { color: var(--burgundy-deep); background: var(--paper-bright); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: inherit;
  font-size: .82rem;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.text-link span { font-family: var(--mono); font-size: .66rem; opacity: .58; }
.hero-proof {
  max-width: 650px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-proof span { color: rgba(251, 250, 245, .58); font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-proof span::before { content: "•"; margin-right: 8px; color: var(--gold); }

.hero-visual { min-height: 0; padding-top: 20px; }
.hero-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(183, 140, 42, .22);
  border-radius: 4px;
  background: #2b1917;
  box-shadow: 0 48px 90px rgba(0, 0, 0, .28);
}
.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(28, 17, 17, .12));
  pointer-events: none;
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-wrap.image-missing img { display: none; }
.hero-image-fallback {
  position: absolute;
  inset: 0;
  display: none;
  background:
    radial-gradient(circle at 74% 28%, rgba(183, 140, 42, .18), transparent 16%),
    linear-gradient(155deg, transparent 0 38%, rgba(183, 140, 42, .08) 38.2% 39%, transparent 39.2%),
    repeating-linear-gradient(168deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 28px),
    #2b1917;
}
.image-missing .hero-image-fallback { display: block; }
.fallback-line { position: absolute; width: 72%; height: 2px; top: 52%; left: 14%; background: var(--gold); transform: rotate(-19deg); box-shadow: 0 0 18px var(--gold); }
.fallback-node { position: absolute; width: 18px; height: 18px; border: 4px solid var(--burgundy-deep); border-radius: 50%; background: var(--gold); }
.node-a { left: 20%; top: 61%; }.node-b { left: 50%; top: 48%; }.node-c { right: 17%; top: 32%; background: var(--gold-dark); }
.visual-label {
  position: absolute;
  z-index: 3;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(28, 17, 17, .8);
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .1em;
  backdrop-filter: blur(7px);
}
.visual-label b { color: var(--gold); }
.label-a { left: 0; bottom: 155px; }
.label-b { right: -18px; top: 210px; }
.label-c { left: 75px; top: 0; }
.visual-note {
  margin: 24px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  color: rgba(251, 250, 245, .74);
  font-family: var(--mono);
  font-size: .7rem;
  line-height: 1.7;
  text-align: left;
}
.hero-index {
  position: absolute;
  right: clamp(20px, 2vw, 34px);
  bottom: 24px;
  color: rgba(183, 140, 42, .36);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .12em;
}

.section-dark, .section-light, .section-paper, .closing, .site-footer { padding-right: clamp(24px, 6vw, 92px); padding-left: clamp(24px, 6vw, 92px); }
.section-dark { background: var(--burgundy); color: var(--paper-bright); }
.section-light { background: var(--paper-bright); }
.section-paper { background: var(--paper); }

.thesis {
  min-height: 480px;
  display: grid;
  grid-template-columns: .12fr 1.1fr .9fr;
  align-items: center;
  gap: clamp(30px, 5vw, 84px);
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
}
.section-number { align-self: start; padding-top: 16px; color: var(--gold); font-family: var(--mono); font-size: .75rem; }
.thesis h2 {
  max-width: 830px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 3.8vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.13;
}
.thesis-detail { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.thesis-detail p { margin: 0 0 26px; color: rgba(251, 250, 245, .7); line-height: 1.8; }
.thesis-detail p:last-child { margin: 0; }

.services, .principles, .faq { padding-top: clamp(90px, 10vw, 150px); padding-bottom: clamp(90px, 10vw, 150px); }
.section-heading {
  max-width: var(--max);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  align-items: end;
  gap: 56px;
  margin: 0 auto clamp(54px, 8vw, 100px);
}
.section-heading h2, .method-intro h2, .faq-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.1vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.12;
}
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.8; }
.service-list { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--ink); }
.service-card {
  min-height: 320px;
  display: grid;
  grid-template-columns: .12fr 1fr 1fr .85fr;
  gap: clamp(22px, 3vw, 48px);
  align-items: start;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}
.service-card > * { min-width: 0; }
.service-card-featured { position: relative; }
.service-card-featured::before {
  content: "";
  position: absolute;
  inset: 14px -24px;
  z-index: 0;
  background: var(--burgundy);
}
.service-card-featured > * { position: relative; z-index: 1; }
.service-card-featured, .service-card-featured p { color: var(--paper-bright); }
.service-card-featured .service-title span, .service-card-featured li { color: rgba(251, 250, 245, .62); }
.service-index { font-family: var(--mono); font-size: .72rem; color: var(--gold-dark); }
.service-title span { display: block; margin-bottom: 18px; color: var(--muted); font-family: var(--mono); font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }
.service-title h3 { margin: 0; font-family: var(--display); font-size: clamp(1.65rem, 2.3vw, 2.8rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.2; }
.service-card > p { margin: 0; color: var(--muted); line-height: 1.8; }
.service-card ul { margin: 0; padding: 0; list-style: none; }
.service-card li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.service-card-featured li { border-color: var(--line-dark); color: rgba(251, 250, 245, .74); }
.service-card li::before { content: "+"; margin-right: 10px; color: var(--gold-dark); font-family: var(--mono); }

.method { padding: clamp(90px, 10vw, 150px) clamp(24px, 6vw, 92px); }
.method-intro { max-width: 980px; margin: 0 auto 90px; text-align: center; }
.method-intro .eyebrow { justify-content: center; }
.method-intro > p:last-child { max-width: 650px; margin: 28px auto 0; color: var(--muted); line-height: 1.8; }
.method-track { max-width: 1180px; margin: 0 auto; padding: 0; list-style: none; }
.method-track li {
  min-height: 210px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  position: relative;
}
.method-track li > div { min-width: 0; }
.method-track li:not(:last-child)::before { content: ""; position: absolute; top: 54px; bottom: -2px; left: 54px; width: 1px; background: var(--line); }
.method-marker { position: relative; z-index: 1; }
.method-marker span { width: 108px; height: 108px; display: grid; place-items: center; border: 1px solid var(--burgundy); border-radius: 50%; background: var(--paper); color: var(--burgundy); font-family: var(--mono); }
.method-track li:hover .method-marker span { background: var(--gold); }
.method-track h3 { margin: 0 0 14px; font-family: var(--display); font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 600; line-height: 1.12; }
.method-track p { max-width: 670px; margin: 0 0 16px; color: var(--muted); line-height: 1.75; }
.method-track small { color: var(--burgundy); font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }

.experts { padding-top: clamp(90px, 10vw, 150px); padding-bottom: clamp(90px, 10vw, 150px); }
.experts-top { max-width: var(--max); display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 0 auto 72px; }
.program-name { margin: 0; color: var(--gold); font-family: var(--mono); font-size: 1.05rem; letter-spacing: .14em; }
.program-status { padding: 8px 11px; border: 1px solid var(--line-dark); border-radius: 999px; color: rgba(251, 250, 245, .62); font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .07em; }
.experts-hero { max-width: var(--max); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: clamp(40px, 7vw, 120px); align-items: end; margin: 0 auto 90px; }
.experts-hero h2 { margin: 0; font-family: var(--display); font-size: clamp(2.6rem, 4.5vw, 5.2rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.1; }
.experts-hero h2 em { color: var(--gold); font-weight: 500; font-style: normal; }
.experts-hero > p { margin: 0; color: rgba(251, 250, 245, .7); line-height: 1.8; }
.expert-system { max-width: var(--max); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 auto; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.expert-step { min-height: 350px; display: flex; flex-direction: column; padding: 30px 24px; border-right: 1px solid var(--line-dark); }
.expert-step:last-child { border: 0; }
.expert-step > span { color: var(--gold-dark); font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; }
.expert-step h3 { min-height: 76px; margin: 32px 0 18px; font-family: var(--display); font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.expert-step p { margin: 0; color: rgba(251, 250, 245, .58); font-size: .88rem; line-height: 1.7; }
.expert-step b { margin-top: auto; padding-top: 28px; color: var(--gold); font-family: var(--mono); font-size: .61rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.experts-outcome { max-width: var(--max); display: flex; align-items: center; justify-content: space-between; gap: 40px; margin: 54px auto 0; }
.experts-outcome p { max-width: 720px; margin: 0; font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.5; }

.principles .section-heading { grid-template-columns: 1fr; }
.principle-grid { max-width: var(--max); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 auto; background: var(--line); border: 1px solid var(--line); }
.principle-grid article { min-height: 330px; padding: 30px; background: var(--paper-bright); }
.principle-grid span { color: var(--gold-dark); font-family: var(--mono); font-size: .67rem; }
.principle-grid h3 { margin: 60px 0 18px; font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.25; }
.principle-grid p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.75; }

.diagnostic { padding: clamp(90px, 10vw, 150px) clamp(24px, 6vw, 92px); }
.diagnostic-shell { max-width: 1220px; margin: 0 auto; padding: clamp(30px, 5vw, 72px); border: 1px solid var(--line); background: var(--paper-bright); box-shadow: 12px 12px 0 var(--burgundy); }
.diagnostic-intro { max-width: 800px; }
.diagnostic-intro h2 { margin: 0; font-family: var(--display); font-size: clamp(2.4rem, 4vw, 4.4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.1; }
.diagnostic-intro > p:last-child { max-width: 650px; margin: 28px 0 0; color: var(--muted); line-height: 1.8; }
.diagnostic-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 58px; }
.diagnostic-options button { min-height: 190px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 32px; border: 1px solid var(--line); background: var(--paper-bright); color: var(--ink); text-align: left; cursor: pointer; transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease; }
.diagnostic-options button:hover, .diagnostic-options button:focus-visible, .diagnostic-options button.is-active { background: var(--burgundy); color: var(--paper-bright); border-color: var(--burgundy); transform: translateY(-4px); }
.diagnostic-options button span { color: var(--gold-dark); font-family: var(--mono); font-size: .72rem; }
.diagnostic-options button b { max-width: 310px; font-family: var(--display); font-size: 1.05rem; font-weight: 500; line-height: 1.5; }
.diagnostic-result { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; margin-top: 16px; padding: 34px; background: var(--gold); color: var(--burgundy-deep); }
.diagnostic-result[hidden] { display: none; }
.result-label { margin: 0 0 10px; font-family: var(--mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; }
.diagnostic-result h3 { margin: 0 0 12px; font-family: var(--display); font-size: clamp(1.4rem, 2vw, 2.1rem); font-weight: 600; line-height: 1.2; }
.diagnostic-result p:not(.result-label):not(.copy-feedback) { max-width: 680px; margin: 0; }
.result-actions { justify-content: flex-end; align-content: center; margin: 0; }
.result-actions .text-link { font-size: .76rem; }
.copy-feedback { grid-column: 1 / -1; min-height: 1.4em; margin: 0; font-family: var(--mono); font-size: .65rem; }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(44px, 8vw, 120px); }
.faq-heading h2 { max-width: 620px; font-size: clamp(2.4rem, 4vw, 4.4rem); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 27px 48px 27px 0; font-family: var(--display); font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 600; line-height: 1.5; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 28px; right: 0; color: var(--gold-dark); font-family: var(--mono); font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 700px; margin: -4px 0 28px; color: var(--muted); line-height: 1.8; }

.closing {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px;
  padding-bottom: 90px;
  background: var(--burgundy-deep);
  color: var(--paper-bright);
  text-align: center;
}
.closing > *:not(.closing-grid) { position: relative; z-index: 1; }
.closing-grid { mask-image: radial-gradient(circle at center, black, transparent 75%); }
.closing h2 { margin: 0; font-family: var(--display); font-size: clamp(2.6rem, 5vw, 6rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.1; }
.closing > p:not(.eyebrow) { max-width: 650px; margin: 36px auto 0; color: rgba(251, 250, 245, .65); font-size: 1.05rem; line-height: 1.8; }
.closing-actions { justify-content: center; }

.site-footer {
  min-height: 260px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  grid-template-rows: 1fr auto;
  gap: 30px;
  align-items: start;
  padding-top: 52px;
  padding-bottom: 30px;
  background: var(--ink);
  color: var(--paper-bright);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.brand-footer { align-self: start; }
.site-footer > p { margin: 5px 0 0; color: rgba(251, 250, 245, .55); }
.footer-links { display: grid; justify-items: end; gap: 8px; font-size: .78rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--gold); }
.footer-links span { color: rgba(251, 250, 245, .45); }
.site-footer > small { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(251, 250, 245, .55); font-family: var(--mono); font-size: .62rem; }

.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal-delay { transition-delay: .18s; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 4px; }

@media (max-width: 1180px) {
  .hero { grid-template-columns: 1.05fr .95fr; gap: 32px; }
  .hero-visual { min-height: 0; }
  .service-card { grid-template-columns: .16fr .9fr .75fr; }
  .service-card ul { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expert-system { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expert-step { border-bottom: 1px solid var(--line-dark); }
  .expert-step:nth-child(2n) { border-right: 0; }
  .expert-step:last-child { grid-column: 1 / -1; min-height: 280px; }
  .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-header { min-height: 70px; }
  .menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: transparent; color: inherit; }
  .menu-toggle span:not(.sr-only) { width: 19px; height: 1px; display: block; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 70px 0 auto; display: none; align-items: stretch; gap: 0; padding: 18px 24px 26px; background: var(--burgundy-deep); border-top: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 50px rgba(0, 0, 0, .3); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-cta { min-height: 48px; justify-content: center; margin-top: 16px; padding: 0 18px !important; border: 1px solid var(--gold) !important; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 130px; }
  .hero h1 { font-size: clamp(3.2rem, 6vw, 5rem); }
  .hero-visual { min-height: 0; margin-top: 16px; padding-top: 0; }
  .label-b { right: 0; }
  .thesis { grid-template-columns: 60px 1fr; }
  .thesis-detail { grid-column: 2; max-width: 670px; }
  .section-heading, .experts-hero, .faq { grid-template-columns: 1fr; }
  .section-heading { align-items: start; }
  .service-card { grid-template-columns: 55px minmax(0, 1fr); }
  .service-card > p, .service-card > .service-description, .service-card ul { grid-column: 2; }
  .experts-hero { align-items: start; }
  .experts-hero > p { max-width: 620px; }
  .diagnostic-options { grid-template-columns: 1fr; }
  .diagnostic-options button { min-height: 140px; }
  .diagnostic-result { grid-template-columns: 1fr; }
  .result-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .site-header { padding: 13px 16px; }
  .brand-logo { width: 188px; }
  .hero { padding: 116px 20px 58px; }
  .hero h1 { font-size: clamp(2.6rem, 9.5vw, 3.7rem); line-height: 1.12; }
  .hero-lead { margin-top: 28px; font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }
  .hero-proof { gap: 10px; margin-top: 38px; }
  .hero-proof span { width: 100%; }
  .hero-visual { min-height: 0; }
  .label-a { left: 0; bottom: 118px; }.label-b { top: 168px; right: -10px; }.label-c { left: 45px; }
  .visual-note { font-size: .62rem; }
  .section-dark, .section-light, .section-paper, .closing, .site-footer { padding-right: 20px; padding-left: 20px; }
  .thesis { min-height: auto; grid-template-columns: 1fr; padding-top: 78px; padding-bottom: 78px; }
  .section-number { display: none; }
  .thesis-detail { grid-column: auto; padding: 28px 0 0; border-top: 1px solid var(--line-dark); border-left: 0; }
  .section-heading { gap: 28px; margin-bottom: 50px; }
  .section-heading h2, .method-intro h2, .faq-heading h2 { font-size: clamp(2.05rem, 7.2vw, 3rem); }
  .service-card { min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 42px 0; }
  .service-card > p, .service-card > .service-description, .service-card ul { grid-column: 1; }
  .service-card ul { display: block; }
  .service-card-featured::before { inset: 12px -20px; }
  .method { padding-right: 20px; padding-left: 20px; }
  .method-intro { margin-bottom: 60px; text-align: left; }
  .method-intro .eyebrow { justify-content: flex-start; }
  .method-intro > p:last-child { margin-left: 0; }
  .method-track li { min-height: 0; grid-template-columns: 54px minmax(0, 1fr); gap: 20px; padding-bottom: 54px; }
  .method-track li:not(:last-child)::before { top: 24px; bottom: 0; left: 24px; }
  .method-marker span { width: 50px; height: 50px; font-size: .65rem; }
  .method-track h3 { font-size: clamp(1.45rem, 7vw, 1.75rem); overflow-wrap: break-word; }
  .experts-top, .experts-outcome { align-items: flex-start; flex-direction: column; }
  .program-status { display: none; }
  .experts-hero { margin-bottom: 60px; }
  .experts-hero h2 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .expert-system { grid-template-columns: 1fr; }
  .expert-step, .expert-step:nth-child(2n), .expert-step:last-child { grid-column: auto; min-height: 300px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .expert-step h3 { min-height: 0; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: 270px; }
  .diagnostic { padding-right: 20px; padding-left: 20px; }
  .diagnostic-shell { padding: 30px 22px; box-shadow: 8px 8px 0 var(--gold); }
  .diagnostic-intro h2 { font-size: clamp(2.05rem, 7.2vw, 3rem); }
  .diagnostic-result { padding: 24px; }
  .result-actions { align-items: stretch; flex-direction: column; }
  .faq { gap: 44px; }
  .closing { min-height: 590px; }
  .closing h2 { font-size: clamp(2.35rem, 8vw, 3.5rem); }
  .closing-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .site-footer { grid-template-columns: 1fr; grid-template-rows: auto; }
  .footer-links { justify-items: start; }
  .site-footer > small { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Identidade institucional e páginas de serviço. */
.button span { margin-left: 12px; }
.service-description p { margin: 0; line-height: 1.8; }
.service-description p { color: var(--muted); }
.service-card-featured .service-description p { color: var(--paper-bright); }
.service-description .text-link { margin-top: 22px; color: var(--burgundy); line-height: 1.5; }
.service-card-featured .service-description .text-link { color: var(--gold); }
.brand-footer { background: transparent; padding: 0; }
.site-header .menu-toggle { border-color: var(--line); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.home-contact { margin-top: 42px; padding-top: 36px; border-top: 1px solid var(--line); }
.form-field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.form-field label { font-size: .79rem; font-weight: 600; }
.form-field label span { font-size: .72rem; font-weight: 400; color: var(--muted); }
.form-field input, .form-field textarea {
  width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: 2px;
  background: white; color: var(--ink); font: inherit; font-size: .9rem; line-height: 1.5;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #756e67; }
.form-field-wide, .contact-form .form-field:has(textarea), .form-note, .form-feedback { grid-column: 1 / -1; }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.form-submit p, .form-note { max-width: 460px; margin: 0; font-size: .74rem; line-height: 1.7; color: var(--muted); }
.form-submit .button { flex-shrink: 0; }
.form-feedback { margin: 0; font-size: .82rem; line-height: 1.6; }
.form-feedback:empty { display: none; }
.form-feedback a { font-weight: 600; text-underline-offset: 3px; }
.systems-hero { min-height: 780px; grid-template-columns: 1.15fr .85fr; }
.systems-hero-detail { max-width: 620px; color: rgba(252,250,247,.65); line-height: 1.8; font-size: .92rem; margin: 20px 0 0; }
.systems-route { position: relative; z-index: 2; max-width: 480px; border: 1px solid rgba(210,175,96,.32); background: rgba(20,16,15,.48); padding: 40px; }
.systems-route-label { margin: 0 0 30px; color: var(--gold); font-size: .68rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.systems-flow { margin: 0; padding: 0; list-style: none; }
.systems-flow li { display: grid; grid-template-columns: 46px 1fr; gap: 20px; position: relative; padding: 20px 0; }
.systems-flow li:not(:last-child)::after { content: ''; position: absolute; left: 22px; top: 65px; bottom: -20px; border-left: 1px solid rgba(210,175,96,.3); }
.systems-flow li > span { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(210,175,96,.6); color: var(--gold); font-size: .72rem; }
.systems-flow strong { display: block; font-size: 1.15rem; font-weight: 500; line-height: 1.3; }
.systems-flow small { display: block; margin-top: 6px; font-size: .75rem; color: rgba(252,250,247,.6); }
.systems-route-note { border-top: 1px solid var(--line-dark); padding-top: 25px; margin: 28px 0 0; font-size: .77rem; color: rgba(252,250,247,.65); }
.systems-section, .contact-section { padding-top: clamp(80px,9vw,130px); padding-bottom: clamp(80px,9vw,130px); }
.pain-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.pain-card { padding: 32px 0 0; border-top: 1px solid var(--gold-dark); }
.pain-index { font-size: .7rem; color: var(--gold-dark); letter-spacing: .1em; }
.pain-card h3 { font-size: clamp(1.3rem,2vw,1.8rem); line-height: 1.3; font-weight: 600; margin: 40px 0 20px; letter-spacing: -.025em; }
.pain-card p { color: var(--muted); font-size: .93rem; line-height: 1.8; margin: 0; }
.comparison-wrap { max-width: 1200px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--line); }
.comparison-table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.7; }
.comparison-table th, .comparison-table td { padding: 26px 30px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.comparison-table thead { background: var(--burgundy); color: var(--paper-bright); }
.comparison-table tbody th { width: 20%; font-weight: 600; background: rgba(255,255,255,.45); }
.comparison-table td { width: 40%; color: var(--muted); }
.comparison-table td:last-child { color: var(--ink); background: rgba(210,175,96,.07); }
.comparison-table tr:last-child td, .comparison-table tr:last-child th { border-bottom: 0; }
.delivery-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.delivery-card { padding: 34px; background: var(--paper-bright); }
.delivery-card > span { font-size: .7rem; color: var(--gold-dark); }
.delivery-card h3 { margin: 36px 0 18px; font-size: 1.18rem; font-weight: 600; line-height: 1.4; }
.delivery-card p { color: var(--muted); font-size: .88rem; line-height: 1.8; margin: 0; }
.contact-shell { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px,6vw,96px); align-items: start; }
.contact-copy h2 { font-size: clamp(2.3rem,3.5vw,4rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 600; margin: 0 0 30px; }
.contact-copy > p:not(.eyebrow) { color: rgba(252,250,247,.75); line-height: 1.8; }
.contact-email { display: inline-block; margin-top: 20px; font-size: .87rem; text-underline-offset: 5px; }
.contact-section .contact-form { padding: 36px; border: 1px solid var(--line); background: var(--paper-bright); color: var(--ink); }
.contact-section .contact-form button { grid-column: 1 / -1; justify-self: start; }
.diagnostic-options button.is-active > span { color: var(--gold); }
.expert-step > span, .service-card-featured .service-index { color: var(--gold); }
@media (max-width: 900px) {
  .main-nav { background: white; color: var(--ink); border-top-color: var(--line); }
  .main-nav a { border-bottom-color: var(--line); }
  .systems-hero { grid-template-columns: 1fr; }
  .systems-route { max-width: 620px; width: 100%; margin-top: 32px; }
  .pain-grid { gap: 24px; }
  .delivery-grid { grid-template-columns: repeat(2,1fr); }
  .contact-shell { grid-template-columns: 1fr; }
  .form-submit { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 150px; }
}
@media (max-width: 640px) {
  .brand-logo { width: 180px; }
  .hero { padding-top: 128px; }
  .hero .eyebrow { font-size: .59rem; letter-spacing: .06em; line-height: 1.7; }
  .hero .eyebrow span { flex-shrink: 0; width: 18px; }
  .thesis h2 { font-size: 2.25rem; }
  .contact-form { grid-template-columns: 1fr; gap: 20px; }
  .form-submit .button { width: 100%; }
  .form-field-wide { grid-column: 1; }
  .systems-route { padding: 28px; }
  .pain-grid, .delivery-grid { grid-template-columns: 1fr; }
  .pain-card { padding-bottom: 18px; }
  .pain-card h3 { margin-top: 26px; }
  .comparison-table { font-size: .77rem; min-width: 510px; }
  .comparison-table th, .comparison-table td { padding: 20px 16px; }
  .contact-section .contact-form { padding: 25px; }
  .contact-copy h2 { font-size: 2.2rem; }
  .diagnostic-result { background: #e9dfc6; }
  .program-name { font-size: .85rem; line-height: 1.7; }
}

/* Progressão editorial e movimento com intenção, sem interferir na leitura. */
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.reading-progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--gold-dark); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.button span, .text-link span { display: inline-block; transition: transform .25s ease; }
.button:hover span, .button:focus-visible span, .text-link:hover span, .text-link:focus-visible span { transform: translate(3px, -3px); }
.method-marker span { transition: background .25s ease, border-color .25s ease; }
.result-learn { margin-top: 20px; }
.home-page .method-intro { margin-bottom: 60px; }
.method-compact { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 30px; }
.method-compact li { display: block; min-height: 0; padding-bottom: 0; }
.method-compact li:not(:last-child)::before { top: 28px; bottom: auto; left: 58px; width: calc(100% - 26px); height: 1px; }
.method-compact .method-marker { margin-bottom: 30px; }
.method-compact .method-marker span { width: 58px; height: 58px; font-size: .7rem; }
.method-compact h3 { font-size: 1.5rem; }
.method-compact p { font-size: .9rem; }
.method-compact small { display: block; font-size: .6rem; line-height: 1.7; }
.closing .email-hint { margin-top: 24px !important; font-size: .8rem !important; overflow-wrap: anywhere; }
.solution-fit { max-width: var(--max); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; margin: 0 auto; }
.solution-fit article { border-top: 1px solid var(--gold-dark); padding-top: 30px; }
.solution-fit h3 { font-size: 1.5rem; line-height: 1.3; margin: 0 0 24px; letter-spacing: -.025em; }
.solution-fit p, .solution-fit li { color: var(--muted); font-size: .92rem; line-height: 1.8; }
.solution-fit ul { padding-left: 20px; }
.solution-fit li + li { margin-top: 12px; }
.solution-scope { max-width: var(--max); margin: 32px auto 0; padding-left: 22px; border-left: 2px solid var(--gold-dark); color: var(--muted); font-size: .85rem; line-height: 1.8; }
.solution-crosslinks { max-width: var(--max); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin: 36px auto 0; }
.solution-crosslinks p { flex-basis: 100%; margin: 0; color: var(--muted); }
.systems-flow li > div { min-width: 0; }
.systems-flow strong, .systems-flow small { overflow-wrap: break-word; }
.systems-route.is-visible .systems-flow li { animation: flow-enter .65s cubic-bezier(.2,.7,.2,1) both; }
.systems-route.is-visible .systems-flow li:nth-child(1) { animation-delay: .15s; }
.systems-route.is-visible .systems-flow li:nth-child(2) { animation-delay: .3s; }
.systems-route.is-visible .systems-flow li:nth-child(3) { animation-delay: .45s; }
.systems-route.is-visible .systems-flow li:nth-child(4) { animation-delay: .6s; }
.systems-route.is-visible .systems-flow li:nth-child(5) { animation-delay: .75s; }
.systems-route.is-visible .systems-flow li::after { transform-origin: top; animation: route-connect .65s ease both; animation-delay: inherit; }
@keyframes flow-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes route-connect { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (hover: hover) and (pointer: fine) {
  .hero-image-wrap img { transition: transform 1s cubic-bezier(.2,.7,.2,1); }
  .hero-image-wrap:hover img { transform: scale(1.035); }
}

/* O e-mail sempre oferece uma resposta visível e uma alternativa ao mailto. */
.email-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; margin: auto; padding: 38px; color: var(--ink); background: var(--paper-bright); border: 1px solid var(--gold-dark); border-radius: 4px; box-shadow: 0 32px 100px rgba(0,0,0,.35); }
.email-dialog[open] { animation: flow-enter .24s ease both; }
.email-dialog::backdrop { background: rgba(28,17,17,.76); backdrop-filter: blur(5px); }
.email-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.email-dialog-head .eyebrow { margin: 0; }
.email-close { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 1.5rem; line-height: 1; }
.email-close:hover { background: var(--paper); }
.email-dialog h2 { font-size: clamp(1.7rem,4vw,2.3rem); letter-spacing: -.035em; line-height: 1.18; margin: 0 0 20px; }
.email-dialog > p:not(.email-status) { color: var(--muted); font-size: .9rem; line-height: 1.7; }
.email-address-label { display: block; margin-top: 28px; margin-bottom: 10px; font-size: .75rem; font-weight: 600; }
.email-address-row { display: flex; gap: 10px; }
.email-address-row input { width: 100%; min-width: 0; padding: 12px; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 3px; font: inherit; font-size: .88rem; }
.email-copy { flex-shrink: 0; min-height: 46px; padding: 0 14px; color: var(--burgundy); border-color: var(--burgundy); font-size: .72rem; }
.email-copy:hover { background: var(--paper); }
.email-status { min-height: 2.8em; margin: 10px 0 20px; font-size: .76rem; line-height: 1.5; color: var(--burgundy); }
.email-options { display: grid; gap: 12px; }
.email-options .button { min-height: 54px; line-height: 1.5; padding-top: 12px; padding-bottom: 12px; }
.email-gmail { border-color: var(--line); background: white; }
.email-gmail:hover { border-color: var(--burgundy); }
.email-dialog .email-help { margin: 20px 0 0; font-size: .75rem !important; }
@media (max-width: 900px) {
  .method-compact { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 30px; }
  .method-compact li:nth-child(2)::before { display: none; }
  .solution-fit { gap: 28px; }
}
@media (max-width: 640px) {
  .method-compact { grid-template-columns: 1fr; gap: 0; }
  .method-compact li { display: grid; grid-template-columns: 50px minmax(0,1fr); gap: 20px; padding-bottom: 42px; }
  .method-compact .method-marker { margin: 0; }
  .method-compact .method-marker span { width: 50px; height: 50px; }
  .method-compact li:not(:last-child)::before { display: block; top: 50px; bottom: 0; left: 24px; width: 1px; height: auto; }
  .solution-fit { grid-template-columns: 1fr; gap: 40px; }
  .email-dialog { padding: 24px; }
  .email-dialog-head { gap: 12px; }
  .email-address-row { flex-direction: column; }
  .email-copy { align-self: flex-start; }
  .email-options .button { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .systems-route.is-visible .systems-flow li { opacity: 1; transform: none; }
  .reading-progress { display: none; }
  .hero-image-wrap:hover img, .button:hover span, .text-link:hover span { transform: none; }
}
