/* TMS four-page build — styling after the founder's reference image (qa/founder-reference-20261118.png, Nov 18 2026).
   Loaded last. Brighter gold, bold sans headings throughout, the laptop-and-Marin hero, the partnership journey without icon
   circles, the products band without laptop or cart imagery, and the Marin section with the two Cores. */
:root { --gold: #E9AE2B; --gold-hi: #F7C552; --gold-deep: #B07A0C; --blue: #2F8BFF; --cyan: #37C8F4; --navy-950: #050D1C; }
.gold { color: var(--gold-hi); } .gold-d { color: var(--gold-deep); }
.btn-gold { background: linear-gradient(180deg, #FFD56B, #EDAA22); color: #0A1428; box-shadow: 0 10px 28px -12px rgba(247, 197, 82, .8), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn-ghost { border-color: rgba(247, 197, 82, .75); }
.wrap { max-width: 1376px; }
.head-btn { white-space: nowrap; }
.eyebrow, .kicker { letter-spacing: .14em; }
h1, h2, h3 { letter-spacing: -.025em; }

/* header lockup */
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-t { display: grid; padding-right: 26px; border-right: 1px solid rgba(255, 255, 255, .22); line-height: 1.15; }
.brand-t b { font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -.01em; white-space: nowrap; }
.brand-t small { font-size: 10px; font-weight: 700; letter-spacing: .3em; color: var(--on-navy-2); text-transform: uppercase; white-space: nowrap; }
.nav { margin-left: 8px; margin-right: auto; gap: 30px; } .nav a { font-size: 15px; color: #E9EDF5; } .nav a.ext { padding-left: 0; border-left: 0; }
.nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--gold-hi); }
@media (max-width: 1240px) { .brand-t small { display: none; } .nav { gap: 20px; } .nav a { font-size: 14px; } }
@media (max-width: 1060px) { .brand-t { border-right: 0; padding-right: 0; } }
@media (max-width: 420px) { .brand-t b { font-size: 16px; } }

/* ============ HERO — laptop and Marin ============ */
.rh { position: relative; overflow: hidden; background: #050D1C; border-bottom: 1px solid rgba(247, 197, 82, .25); }
.rh-bg { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(600px 360px at 72% 14%, rgba(255, 164, 46, .40), transparent 66%),
  radial-gradient(460px 320px at 97% 4%, rgba(255, 140, 30, .55), transparent 70%),
  radial-gradient(520px 320px at 58% 40%, rgba(255, 190, 90, .10), transparent 70%),
  radial-gradient(760px 420px at 86% 96%, rgba(24, 84, 190, .30), transparent 70%),
  linear-gradient(90deg, #050D1C 0%, #071226 40%, #0C1524 100%); }
.rh-bg i { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 96, .75), rgba(255, 150, 40, .22) 55%, transparent 72%); filter: blur(5px); }
.rh-bg i:nth-child(1) { width: 120px; height: 120px; right: 4%; top: 6%; } .rh-bg i:nth-child(2) { width: 70px; height: 70px; right: 20%; top: 3%; opacity: .8; }
.rh-bg i:nth-child(3) { width: 96px; height: 96px; right: 33%; top: 12%; opacity: .55; filter: blur(9px); } .rh-bg i:nth-child(4) { width: 44px; height: 44px; right: 13%; top: 30%; opacity: .7; }
.rh-bg i:nth-child(5) { width: 150px; height: 150px; right: -3%; top: 34%; opacity: .35; filter: blur(14px); } .rh-bg i:nth-child(6) { width: 56px; height: 56px; right: 44%; top: 4%; opacity: .45; filter: blur(8px); }
.rh-bg i:nth-child(7) { width: 30px; height: 30px; right: 27%; top: 26%; opacity: .6; }
.rh-desk { position: absolute; left: 34%; right: 0; bottom: 0; height: 27%; background: linear-gradient(180deg, rgba(8, 12, 20, 0), rgba(9, 13, 21, .92) 34%, #0B1019 100%); }
.rh-desk::before { content: ""; position: absolute; left: 10%; right: 0; top: 30%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 190, 110, .2) 40%, rgba(255, 190, 110, .06)); }
.rh-grid { position: relative; display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 8px; align-items: center; padding-top: 30px; padding-bottom: 34px; }
.rh-copy { position: relative; z-index: 2; }
.rh-copy .eyebrow { font-size: 15px; letter-spacing: .12em; color: var(--gold-hi); } .rh-copy .eyebrow::before { display: none; }
.rh h1 { margin-top: 10px; font-size: clamp(32px, 3.02vw, 46px); line-height: 1.04; color: #fff; font-weight: 800; }
.rh h1 .gold { display: block; color: var(--gold-hi); }
.rh .lede { margin-top: 20px; max-width: 590px; font-size: 18px; line-height: 1.42; color: #F1F4F9; }
.rh .actions { margin-top: 26px; gap: 14px; flex-wrap: nowrap; }
.rh .actions .btn { white-space: nowrap; }
.rh .btn-lg { padding: 14px 20px; font-size: 15.5px; }

.rh-scene { position: relative; margin: 0; height: 430px; }
.rh-stage { position: absolute; left: 50%; top: 0; width: 700px; height: 430px; margin-left: -350px; transform-origin: 50% 0; }
/* plant, softly out of focus behind the laptop */
.rh-plant { position: absolute; left: -4px; top: 34px; width: 190px; height: 290px; filter: blur(1.6px); opacity: .95; }
/* laptop */
.rh-laptop { position: absolute; left: 92px; top: 26px; width: 480px; transform: perspective(1500px) rotateY(-17deg) rotateX(5deg) rotateZ(-2.2deg); transform-origin: 30% 60%; }
.rh-lid { padding: 11px 11px 12px; border-radius: 16px 16px 6px 6px; background: linear-gradient(150deg, #23262D, #090B10); box-shadow: 0 0 0 1px #4A4E58, 0 0 0 2.5px #111319, 0 40px 70px -30px #000, 0 0 70px rgba(255, 170, 60, .12); }
.rh-screen { display: grid; grid-template-columns: 92px minmax(0, 1fr); min-height: 268px; border-radius: 7px; overflow: hidden; background: linear-gradient(160deg, #0A1A36, #071226); color: #E9EEF7; }
.rh-side { padding: 12px 8px; background: rgba(4, 10, 22, .65); border-right: 1px solid rgba(255, 255, 255, .06); }
.rh-side b { display: block; margin: 0 0 12px 6px; font-size: 14px; font-style: italic; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.rh-side b::after { content: ""; display: block; width: 26px; height: 2px; border-radius: 2px; background: var(--gold-hi); margin-top: 1px; }
.rh-side span { display: flex; align-items: center; gap: 6px; padding: 5px 6px; border-radius: 5px; font-size: 8.5px; font-weight: 600; color: #B9C4D8; }
.rh-side span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; border: 1.2px solid currentColor; flex: none; }
.rh-side span.on { background: rgba(47, 139, 255, .22); color: #fff; }
.rh-main { padding: 12px 13px 13px; display: grid; gap: 10px; align-content: start; }
.rh-main > strong { font-size: 13.5px; font-weight: 800; color: #fff; }
.rh-two { display: grid; grid-template-columns: 1.08fr 1fr; gap: 10px; }
.rh-card { padding: 9px 10px; border-radius: 8px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); }
.rh-card small { display: block; font-size: 9px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.rh-card svg { display: block; width: 100%; height: 74px; }
.rh-today div { display: flex; align-items: center; gap: 6px; font-size: 8.4px; color: #DDE5F2; padding: 4.5px 0; }
.rh-today div::before { content: "✓"; width: 11px; height: 11px; flex: none; border-radius: 50%; border: 1px solid #36D07F; color: #36D07F; font-size: 7px; line-height: 10px; text-align: center; font-weight: 800; }
.rh-today div::after { content: "✓"; margin-left: auto; color: #36D07F; font-size: 9px; font-weight: 800; }
.rh-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rh-kpis div { padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); }
.rh-kpis small { display: block; font-size: 8.4px; font-weight: 600; color: #C5CFE0; } .rh-kpis b { font-size: 21px; line-height: 1.15; color: #fff; font-weight: 800; } .rh-kpis b::after { content: " ↑"; font-size: 12px; color: #36D07F; }
.rh-deck { position: relative; height: 40px; margin: 0 -7%; border-radius: 3px 3px 14px 14px; background: linear-gradient(180deg, #5A5F6B 0, #2B2F38 9%, #14171D 100%); clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%); box-shadow: 0 30px 40px -14px #000; }
.rh-deck::before { content: ""; position: absolute; left: 13%; right: 13%; top: 5px; height: 19px; border-radius: 3px; background: repeating-linear-gradient(90deg, #0A0C10 0 13px, #1B1E25 13px 15px), #0A0C10; opacity: .9; mask-image: repeating-linear-gradient(180deg, #000 0 5px, transparent 5px 7px); -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 5px, transparent 5px 7px); }
.rh-deck::after { content: ""; position: absolute; left: 41%; right: 41%; bottom: 3px; height: 9px; border-radius: 3px; background: #23272F; }
/* phone */
.rh-phone { position: absolute; left: 508px; top: 44px; width: 172px; height: 330px; padding: 4px; border-radius: 30px; background: linear-gradient(150deg, #FFE39A, #C08A22 35%, #5F4311 70%, #E8BC57); transform: perspective(1200px) rotateY(-16deg) rotateZ(5.5deg); box-shadow: 0 40px 60px -22px #000, 0 0 46px rgba(255, 176, 60, .28); }
.rh-phone-in { position: relative; height: 100%; border-radius: 26px; background: radial-gradient(160px 120px at 50% 62%, rgba(47, 139, 255, .28), transparent 70%), linear-gradient(180deg, #06101F, #030812); display: grid; align-content: start; justify-items: center; padding: 34px 14px 14px; text-align: center; overflow: hidden; }
.rh-phone-in::before { content: ""; position: absolute; top: 9px; left: 50%; width: 46px; height: 10px; margin-left: -23px; border-radius: 9px; background: #000; }
.rh-orb { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF2C4, #F7C552 35%, #A8730F 70%, #2A1D05); box-shadow: 0 0 22px rgba(247, 197, 82, .8), 0 0 0 4px rgba(247, 197, 82, .16); }
.rh-phone b { margin-top: 10px; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.rh-wave { width: 132px; height: 34px; margin-top: 10px; filter: drop-shadow(0 0 6px rgba(47, 139, 255, .9)); }
.rh-phone em { margin-top: 12px; font-size: 13.5px; line-height: 1.3; color: #EEF3FB; font-style: italic; font-weight: 500; }
.rh-mic { margin-top: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #6DB4FF; border: 1.5px solid #2F8BFF; box-shadow: 0 0 18px rgba(47, 139, 255, .7), inset 0 0 12px rgba(47, 139, 255, .35); }
.rh-mic svg { width: 18px; height: 18px; }
/* objects on the desk */
.rh-pen { position: absolute; left: 150px; top: 388px; width: 210px; height: 9px; border-radius: 9px; background: linear-gradient(180deg, #4B4F58, #0C0E12); transform: rotate(-3deg); box-shadow: 0 10px 14px -6px #000; }
.rh-pen::after { content: ""; position: absolute; left: 22px; top: 2px; width: 34px; height: 2px; background: rgba(255, 200, 120, .55); border-radius: 2px; }

/* ============ PARTNERSHIP (ivory) ============ */
.rp { padding: 62px 0 70px; }
.rp-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: end; }
.rp-head h2 { margin-top: 12px; font-size: clamp(31px, 3.1vw, 44px); line-height: 1.08; }
.rp-head .lede { font-size: 17.5px; }
.rp-head .actions { margin-top: 20px; }
.rp .journey { margin-top: 40px; }
.j-stages h4 { font-family: var(--sans); font-style: normal; font-weight: 800; font-size: 28px; letter-spacing: -.025em; margin-top: 8px; }
.j-num { font-family: var(--sans); font-style: normal; font-weight: 800; font-size: 56px; letter-spacing: -.04em; -webkit-text-stroke: 1.2px rgba(247, 197, 82, .7); }
.j-head p { font-family: var(--sans); font-style: normal; font-size: 16px; font-weight: 600; }
.j-stages p { font-size: 15.5px; color: #D5DCE9; }
.j-path .run { stroke: #FFD56B; }

/* ============ PRODUCTS & SOLUTIONS band (navy, secondary) ============ */
.rs { position: relative; overflow: hidden; padding: 44px 0 46px; border-top: 1px solid rgba(247, 197, 82, .35); border-bottom: 1px solid rgba(247, 197, 82, .35); background: radial-gradient(520px 260px at 4% 50%, rgba(255, 164, 46, .16), transparent 70%), radial-gradient(640px 300px at 98% 50%, rgba(24, 84, 190, .34), transparent 70%), linear-gradient(90deg, #071226, #0A1836 60%, #081530); }
.rs-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px 56px; align-items: center; }
.rs h2 { font-size: clamp(27px, 2.7vw, 38px); color: #fff; }
.rs h2 .gold { display: inline; }
.rs p { margin-top: 12px; max-width: 760px; font-size: 17px; line-height: 1.5; color: #E7ECF4; }
.rs-notes { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; font-weight: 700; color: #DCE3EF; }
.rs-notes li { display: flex; align-items: center; gap: 10px; }
.rs-notes li::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--gold-hi); }
.rs .btn { white-space: nowrap; }

/* ============ MARIN + the two Cores (navy) ============ */
.rm { position: relative; overflow: hidden; padding: 62px 0 74px; background: radial-gradient(700px 420px at 70% 55%, rgba(24, 84, 190, .30), transparent 70%), linear-gradient(180deg, #071226, #050D1C); }
.rm-grid { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 36px; align-items: center; }
.rm h2 { font-size: clamp(34px, 3.3vw, 46px); color: #fff; }
.rm h2 .gold { display: block; font-size: .68em; line-height: 1.12; margin-top: 6px; }
.rm .lede { margin-top: 16px; font-size: 16.5px; line-height: 1.5; color: #E7ECF4; max-width: 470px; }
.rm .actions { margin-top: 24px; }
.trio { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr); align-items: center; justify-items: center; }
.trio .rcore { justify-self: stretch; }
.trio-wave { position: absolute; left: 22%; right: 22%; top: 50%; height: 190px; margin-top: -95px; pointer-events: none; }
.trio-wave path { fill: none; stroke-width: 1.4; opacity: .7; }
.rcore { position: relative; z-index: 1; padding: 22px 22px 20px; border-radius: 18px; background: linear-gradient(160deg, rgba(14, 34, 72, .92), rgba(6, 14, 30, .96)); border: 1.5px solid rgba(247, 197, 82, .8); box-shadow: 0 0 26px rgba(247, 197, 82, .16), 0 30px 60px -34px #000, inset 0 1px 0 rgba(255, 255, 255, .07); }
.rcore h3 { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 20px; color: #fff; white-space: nowrap; }
.rcore h3 svg { width: 34px; height: 34px; flex: none; color: #fff; }
.rcore ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; }
.rcore li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; font-weight: 600; color: #F1F4F9; line-height: 1.3; }
.rcore li::before { content: ""; width: 15px; height: 9px; flex: none; margin-top: 3px; border-left: 3px solid var(--gold-hi); border-bottom: 3px solid var(--gold-hi); transform: rotate(-45deg) scale(.85); }
.rorb { position: relative; z-index: 2; width: 216px; height: 216px; border-radius: 50%; display: grid; align-content: center; justify-items: center; text-align: center; background: radial-gradient(circle at 50% 40%, #0B2148, #040B1A 72%); box-shadow: 0 0 0 2px rgba(247, 197, 82, .9), 0 0 0 5px rgba(47, 139, 255, .55), 0 0 44px rgba(47, 139, 255, .75), 0 0 90px rgba(247, 170, 60, .35), inset 0 0 40px rgba(47, 139, 255, .35); }
.rorb::before, .rorb::after { content: ""; position: absolute; top: 50%; width: 42px; height: 3px; margin-top: -1.5px; background: linear-gradient(90deg, transparent, #FFD56B); filter: drop-shadow(0 0 6px #FFC552); }
.rorb::before { right: 100%; } .rorb::after { left: 100%; transform: scaleX(-1); }
.rorb svg { width: 62px; height: 30px; filter: drop-shadow(0 0 8px rgba(47, 139, 255, .9)); }
.rorb b { font-size: 40px; line-height: 1.05; font-weight: 800; color: #fff; letter-spacing: -.03em; margin-top: 2px; }
.rorb span { font-size: 16px; line-height: 1.38; color: #EEF3FB; font-weight: 500; }

/* closing band */
.closing { padding: 64px 0; }

/* ============ the reference's bold sans on the destination pages ============ */
.stage h3, .look h3, .way h3, .principles h3, .inq-card b, .ask q, .uses .n, .core p, .core-detail h3 em, .marin-copy blockquote, .looks-note, .ways b, .caps li { font-family: var(--sans); font-style: normal; letter-spacing: -.02em; }
.stage h3 { font-size: 30px; font-weight: 800; } .stage .j-num { font-size: 70px; }
.look h3 { font-size: 24px; font-weight: 800; } .way h3 { font-size: 25px; font-weight: 800; } .principles h3 { font-size: 22px; font-weight: 800; }
.inq-card b { font-size: 18.5px; font-weight: 700; line-height: 1.25; } .ask q { font-size: 22px; font-weight: 800; }
.uses .n { font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding-top: 4px; color: var(--gold-deep); }
.looks-note { font-size: 16px; font-weight: 600; } .core-detail h3 em { font-size: 15px; font-weight: 600; }
.term .big, .calc output.val { font-family: var(--sans); font-weight: 800; letter-spacing: -.04em; } .term .big { font-size: 60px; } .calc output.val { font-size: 46px; }
.how3 .j-num { font-size: 48px; }
.page-hero h1 { font-weight: 800; color: #fff; }

/* ============ responsive ============ */
@media (max-width: 1300px) { .rm-grid { grid-template-columns: 1fr; gap: 44px; } .rm .lede { max-width: 640px; } }
@media (max-width: 1060px) { .rh .actions { flex-wrap: wrap; } .trio { grid-template-columns: minmax(0, 1fr) 280px minmax(0, 1fr); } }
@media (max-width: 640px) { .rh .actions .btn { white-space: normal; } }
@media (max-width: 1060px) {
  .rh-grid { grid-template-columns: 1fr; gap: 6px; padding-top: 30px; padding-bottom: 20px; min-height: 0; }
  .rh-desk { left: 0; height: 20%; }
  .rp-head { grid-template-columns: 1fr; gap: 18px; }
  .rs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .trio { grid-template-columns: 1fr; gap: 0; justify-items: center; max-width: 440px; margin: 0 auto; }
  .trio-wave { display: none; } .rcore { width: 100%; }
  .rorb { margin: 34px 0; width: 190px; height: 190px; }
  .rorb::before, .rorb::after { top: auto; left: 50%; right: auto; width: 3px; height: 34px; margin: 0 0 0 -1.5px; background: linear-gradient(180deg, transparent, #FFD56B); transform: none; }
  .rorb::before { bottom: 100%; } .rorb::after { top: 100%; transform: scaleY(-1); }
  .rorb b { font-size: 34px; } .rorb span { font-size: 14.5px; }
}
@media (max-width: 640px) {
  .rh h1 { font-size: 33px; } .rh .lede { font-size: 16.5px; } .rh-copy .eyebrow { font-size: 12.5px; }
  .rp { padding: 46px 0 52px; } .rp-head h2 { font-size: 29px; } .rp .journey { margin-top: 28px; }
  .j-stages h4 { font-size: 25px; } .j-num { font-size: 42px; }
  .rs { padding: 38px 0; } .rs h2 { font-size: 27px; } .rs p { font-size: 16px; } .rs .btn { width: 100%; white-space: normal; }
  .rm { padding: 46px 0 56px; } .rm h2 { font-size: 34px; }
  .rcore h3 { font-size: 19px; } .rcore li { font-size: 15px; }
  .stage h3 { font-size: 26px; } .stage .j-num { font-size: 48px; }
}
