/* Risk Management & Insurance Planning: "Layers of protection".
   Secure and structured: deep green + ink, concentric rings, a shield, an umbrella.
   Sections: H3 shield hero (rings expand on load) -> sticky ring diagram that builds one ring per
   sub-service (signature, driven by js/pg/risk-insurance.js) -> sand bento -> arches -> centred FAQ
   -> CTA disc of finished rings -> big-type marquee + next service.
   Page-local motion is inert under prefers-reduced-motion; without html.js-m every ring is drawn. */

.ri-hero, .ri-layers, .ri-scen, .ri-who, .ri-faq, .ri-cta, .ri-more { --ri-pad: clamp(76px, 8.6vw, 138px); }
.ri-layers, .ri-scen, .ri-who, .ri-faq, .ri-cta { padding-block: var(--ri-pad); }

/* ---------- 1. Hero ---------- */
.ri-hero { min-height: min(100svh, 880px); padding: calc(var(--nav-h) + clamp(24px, 3vw, 48px)) 0 clamp(72px, 8vw, 120px); overflow: hidden; display: flex; align-items: center; }
.ri-hero__scene { position: absolute; z-index: 0; top: 50%; right: -7vw; width: min(106vh, 64vw, 1000px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.ri-hero__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ri-hr { stroke: rgba(123,220,134,.4); stroke-width: 1.6; transform-origin: center; transform-box: fill-box; }
.ri-hr[style*="--i:5"] { stroke: rgba(123,220,134,.2); }
.ri-hr[style*="--i:4"] { stroke: rgba(123,220,134,.27); }
.ri-hr[style*="--i:3"] { stroke: rgba(123,220,134,.34); }
.ri-hr--core { stroke: rgba(123,220,134,.65); stroke-width: 2.4; fill: rgba(0,132,78,.3); }
.ri-hr--glow { stroke: none; }
.ri-hr-ticks circle { stroke: rgba(246,248,246,.5); stroke-width: 7; }
.ri-hero__lt { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.ri-hero__in { position: relative; z-index: 2; }
.ri-hero__card.glass { max-width: 620px; background: rgba(1,30,19,.92); border-color: rgba(123,220,134,.28); padding: clamp(24px, 2.8vw, 40px); }
.ri-hero__card .crumbs { margin-bottom: 16px; }
.ri-hero__card .tag { color: var(--lime-hi); margin-bottom: 14px; }
.ri-hero__h1 { font-size: clamp(2.1rem, 3.7vw, 3.35rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; color: var(--on-dark); }
.ri-hero__tagline { margin-top: 18px; max-width: 34ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 500; line-height: 1.4; letter-spacing: -.02em; color: var(--lime-hi); }
.ri-hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 26px; }
.ri-hero__more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--on-dark); border-bottom: 1px solid var(--lime-hi); padding-bottom: 2px; }
.ri-hero__more:hover { color: var(--lime-hi); }
.ri-hero__more svg { transition: transform .4s var(--ease); }
.ri-hero__more:hover svg { transform: translateY(3px); }

.ri-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border-radius: 99px; background: var(--ink); border: 1px solid rgba(123,220,134,.45); color: var(--on-dark); font-size: 14px; font-weight: 600; letter-spacing: .01em; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.ri-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-hi); }
.ri-chip--a { left: 24%; top: 17%; }
.ri-chip--b { right: 12%; top: 15%; }
.ri-chip--c { right: 12%; bottom: 25%; }
.ri-chip--d { left: 27%; bottom: 8%; }

@media (prefers-reduced-motion: no-preference) {
  .ri-up { animation: riUp .9s var(--ease) var(--d, 0s) both; }
  @keyframes riUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  .ri-hr { animation: riRing 2s cubic-bezier(.16, .84, .24, 1) calc(var(--i, 0) * .16s + .1s) both; }
  .ri-hr--glow { animation: riGlow 2.4s ease-out .1s both; }
  @keyframes riRing { from { opacity: 0; transform: scale(.12); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
  @keyframes riGlow { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
  .ri-hr-ticks { transform-origin: 500px 500px; animation: riSpin 140s linear infinite; }
  @keyframes riSpin { to { transform: rotate(360deg); } }
  .ri-chip { animation: riChip .8s var(--ease) both; }
  .ri-chip--a { animation-delay: 1.5s; } .ri-chip--b { animation-delay: 1.7s; } .ri-chip--c { animation-delay: 1.9s; } .ri-chip--d { animation-delay: 2.1s; }
  @keyframes riChip { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
}

@media (max-width: 899px) {
  .ri-hero { display: block; min-height: 0; padding-bottom: 56px; }
  .ri-hero__scene { position: relative; top: auto; right: auto; width: min(92vw, 400px); margin: 6px auto -28px; transform: none; }
  .ri-chip { font-size: 13px; padding: 7px 13px 7px 10px; }
  .ri-chip--a { left: -2%; top: 24%; } .ri-chip--b { right: -2%; top: 12%; } .ri-chip--c { right: -3%; bottom: 24%; } .ri-chip--d { left: 8%; bottom: 6%; }
  .ri-hero__card .btn { padding-inline: 22px; }
}

/* ---------- 2. Layers (signature) ---------- */
.ri-layers { padding-block: calc(var(--ri-pad) * .8) var(--ri-pad); }
.ri-layers__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.ri-layers__h2 { margin-top: 20px; font-size: clamp(2.7rem, 6.2vw, 5.4rem); line-height: .95; letter-spacing: -.05em; font-weight: 600; }
.ri-layers__intro .lead { max-width: 40ch; font-size: clamp(1.1rem, 1.5vw, 1.35rem); }
.ri-layers .key { background: linear-gradient(var(--lime-hi), var(--lime-hi)) no-repeat 0 100% / 100% .09em; color: var(--on-dark); transition: none; }
.ri-co { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 8px; margin-top: 26px; }
.ri-co__l { margin-right: 6px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.ri-co a { padding: 7px 15px; border: 1px solid rgba(246,248,246,.34); border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--on-dark); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.ri-co a:hover { background: var(--lime-hi); border-color: var(--lime-hi); color: var(--ink); }

.ri-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.ri-side { position: sticky; top: calc(var(--nav-h) + 8px); align-self: start; }
.ri-dia { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ri-dia__svg { width: min(100%, 580px, calc(100svh - var(--nav-h) - 168px)); height: auto; aspect-ratio: 1; overflow: visible; --r1: 1; --r2: 1; --r3: 1; --r4: 1; --r5: 1; }
html.js-m .ri-dia__svg { --r1: 0; --r2: 0; --r3: 0; --r4: 0; --r5: 0; }
.ri-dia__ticks { transform-origin: 50% 50%; transform-box: view-box; transform: rotate(calc(var(--p, 0) * 70deg)); }
.ri-dia__ticks circle { stroke: rgba(246,248,246,.42); stroke-width: 6; }
.ri-dia__scaf circle { stroke: rgba(246,248,246,.3); stroke-width: 1.2; stroke-dasharray: 2 7; }
.ri-band, .ri-edge { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--r, 0)); fill: none; }
.ri-band { stroke: rgba(0,132,78,.42); stroke-width: 46; }
.ri-band:first-child { stroke-width: 48; }
.ri-edge { stroke: var(--lime-hi); stroke-width: 2.2; transition: stroke-width .4s var(--ease); }
.ri-dia__core { fill: var(--green-deep); stroke: var(--lime-hi); stroke-width: 2; }
.ri-lbl, .ri-core { fill: var(--on-dark); font-family: var(--font); font-size: 13.5px; font-weight: 600; letter-spacing: .01em; transition: fill .4s var(--ease); }
.ri-core { font-size: 12.5px; fill: var(--on-dark); }
.ri-lbl.is-cur { fill: var(--lime-hi); }
.ri-dia[data-cur="1"] .ri-edge[data-k="1"], .ri-dia[data-cur="2"] .ri-edge[data-k="2"], .ri-dia[data-cur="3"] .ri-edge[data-k="3"],
.ri-dia[data-cur="4"] .ri-edge[data-k="4"], .ri-dia[data-cur="5"] .ri-edge[data-k="5"] { stroke-width: 4.4; }
.ri-dia__cap { display: grid; justify-items: center; gap: 2px; text-align: center; }
.ri-dia__n { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.ri-dia__t { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--lime-hi); }
.ri-dia__ill { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--on-dark-2); }

.ri-blks { display: block; }
.ri-blk { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: min(84svh, 740px); padding: 6svh 0 6svh clamp(24px, 3vw, 48px); }
.ri-blk::after { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: var(--line-dark); }
.ri-blk::before { content: ""; position: absolute; left: -1px; top: 14%; bottom: 14%; width: 3px; background: var(--lime-hi); z-index: 1; transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease); }
.ri-blk.is-cur::before { transform: scaleY(1); }
html:not(.js-m) .ri-blk::before { transform: scaleY(1); }
.ri-blk__n { font-size: clamp(5rem, 11vw, 9.5rem); font-weight: 600; letter-spacing: -.06em; line-height: .86; color: transparent; -webkit-text-stroke: 1.5px rgba(246,248,246,.5); transition: -webkit-text-stroke-color .5s var(--ease), color .5s var(--ease); }
.ri-blk.is-cur .ri-blk__n { -webkit-text-stroke-color: var(--lime-hi); }
.ri-blk__k { margin-top: 22px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lime-hi); }
.ri-blk h3 { margin-top: 10px; max-width: 18ch; font-size: clamp(1.7rem, 2.9vw, 2.6rem); line-height: 1.06; letter-spacing: -.04em; }
.ri-blk p:not(.ri-blk__k) { margin-top: 16px; max-width: 44ch; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.7; color: var(--on-dark-2); }
.ri-blk .tl { margin-top: 24px; }

@media (max-width: 899px) {
  .ri-layers__head { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 24px; }
  .ri-split { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ri-side { top: var(--nav-h); z-index: 5; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter); background: var(--ink); border-bottom: 1px solid var(--line-dark); }
  .ri-dia { flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; }
  .ri-dia__svg { width: 128px; flex: none; }
  .ri-lbl, .ri-core { display: none; }
  .ri-band, .ri-edge { stroke-width: inherit; }
  .ri-band { stroke-width: 46; } .ri-edge { stroke-width: 6; }
  .ri-dia[data-cur] .ri-edge[data-k] { stroke-width: 6; }
  .ri-dia__scaf circle { stroke-width: 3; }
  .ri-dia__cap { justify-items: start; text-align: left; }
  .ri-dia__ill { display: none; }
  .ri-blk { min-height: min(70svh, 560px); padding-left: 20px; }
  .ri-blk__n { font-size: 4.6rem; }
}

/* ---------- 3. Scenarios bento ---------- */
.ri-scen__head { margin-bottom: clamp(32px, 4vw, 56px); }
.ri-scen__h2 { margin-top: 18px; font-size: clamp(2.2rem, 4.8vw, 4.2rem); line-height: 1; letter-spacing: -.045em; font-weight: 600; max-width: 14ch; }
.ri-bento { grid-auto-rows: minmax(230px, auto); }
.ri-t { display: flex; flex-direction: column; align-items: flex-start; }
.ri-t__ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 1.5px solid currentColor; border-radius: 50%; }
.ri-t__h { margin-top: auto; padding-top: 28px; font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -.035em; }
.ri-t__p { position: relative; z-index: 1; margin-top: 10px; max-width: 32ch; font-size: 16px; line-height: 1.6; }
.ri-t__rg { position: absolute; z-index: 0; right: -20%; top: -26%; width: 74%; aspect-ratio: 1; stroke: currentColor; stroke-width: 1.2; opacity: .2; pointer-events: none; }
.ri-t > * { position: relative; z-index: 1; }
.ri-t > .ri-t__rg { position: absolute; z-index: 0; }
.ri-t--family { background: var(--mint-2); color: var(--text); }
.ri-t--family .ri-t__rg { right: auto; left: 38%; top: auto; bottom: -34%; width: 100%; }
.ri-t--family .ri-t__ic { color: var(--green-ink); }
.ri-t--family .ri-t__h { margin-top: 0; padding-top: 28px; font-size: clamp(1.9rem, 3.2vw, 2.9rem); }
.ri-t--family .ri-t__p { font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 28ch; }
.ri-t__lt { position: absolute !important; z-index: 1; right: 4%; bottom: 3%; width: min(56%, 330px); aspect-ratio: 1; }
.ri-t__hint { position: absolute; z-index: 2; left: clamp(22px, 2.4vw, 34px); bottom: clamp(22px, 2.4vw, 34px); display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink); }
.ri-t__hint::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.ri-t--assets { background: var(--green-deep); color: var(--on-dark); }
.ri-t--assets .ri-t__ic { color: var(--lime-hi); }
.ri-t--assets .ri-t__p { color: var(--on-dark-2); }
.ri-t--income { background: #fff; color: var(--text); border: 1px solid var(--sand-2); }
.ri-t--income .ri-t__ic { color: var(--green-ink); }
.ri-t--income .ri-t__p { color: var(--text-2); }
.ri-t--biz { background: var(--ink); color: var(--on-dark); }
.ri-t--biz .ri-t__ic { color: var(--lime-hi); }
.ri-t--biz .ri-t__rg { right: -8%; top: -60%; width: 48%; }
.ri-t--biz .ri-t__p { color: var(--on-dark-2); max-width: 46ch; }
@media (hover: none) { .ri-t__hint { display: none; } }
@media (max-width: 1000px) {
  .ri-t--family { min-height: 460px; }
  .ri-t__lt { width: min(52%, 280px); }
}
@media (max-width: 600px) {
  .ri-t--family { min-height: 520px; }
  .ri-t__lt { width: 70%; right: 0; }
  .ri-t__hint { display: none; }
}

/* ---------- 4. Who this helps ---------- */
.ri-who__head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: clamp(36px, 5vw, 72px); }
.ri-who__h2 { margin-top: 18px; max-width: 16ch; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.ri-who__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); align-items: start; }
.ri-arch { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: clamp(440px, 40vw, 580px); padding: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px) clamp(24px, 2.4vw, 34px); border-radius: 999px 999px 12px 12px; overflow: hidden; }
.ri-arch--2 { margin-top: clamp(0px, 5vw, 72px); }
.ri-arch--3 { margin-top: clamp(0px, 2.5vw, 36px); }
.ri-arch--1 { background: var(--green-deep); color: var(--on-dark); }
.ri-arch--2 { background: var(--mint-2); color: var(--text); }
.ri-arch--3 { background: var(--ink); color: var(--on-dark); }
.ri-arch__top { position: relative; display: grid; place-items: center; width: 66%; aspect-ratio: 1; margin-top: clamp(10px, 2vw, 28px); }
.ri-arch__rg { position: absolute; inset: 0; width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.2; opacity: .5; transition: transform 1.2s var(--ease), opacity .4s; }
.ri-arch:hover .ri-arch__rg { transform: scale(1.08) rotate(20deg); opacity: .8; }
.ri-arch__ic { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; }
.ri-arch--1 .ri-arch__ic, .ri-arch--3 .ri-arch__ic { background: var(--green); color: #fff; }
.ri-arch--2 .ri-arch__ic { background: var(--green-deep); color: var(--lime-hi); }
.ri-arch__t { margin-top: auto; padding-top: 24px; font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.ri-arch__d { margin-top: 10px; max-width: 24ch; font-size: 16px; line-height: 1.55; }
.ri-arch--1 .ri-arch__d, .ri-arch--3 .ri-arch__d { color: var(--on-dark-2); }
.ri-arch--2 .ri-arch__d { color: var(--text-2); }
.ri-arch__go { display: grid; place-items: center; width: 42px; height: 42px; margin-top: 18px; border: 1.5px solid currentColor; border-radius: 50%; transition: background-color .3s var(--ease), color .3s var(--ease), transform .4s var(--ease); }
.ri-arch:hover .ri-arch__go { background: var(--lime-hi); border-color: var(--lime-hi); color: var(--ink); transform: translateY(-3px); }
.ri-arch:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.ri-who__not { margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 899px) {
  .ri-who__row { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin-inline: auto; }
  .ri-arch--2, .ri-arch--3 { margin-top: 0; }
  .ri-arch { min-height: 460px; }
}

/* ---------- 5. FAQ ---------- */
.ri-faq__in { max-width: 920px; }
.ri-faq__head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.ri-faq__h2 { margin-top: 18px; font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.ri-faq .faq { border-top-color: rgba(20,32,27,.28); }
.ri-faq .faq details { border-bottom-color: rgba(20,32,27,.28); }
.ri-faq .faq summary { padding-block: 26px; font-size: clamp(1.1rem, 1.7vw, 1.45rem); }
.ri-faq .faq__a { padding-bottom: 30px; color: var(--text); max-width: 68ch; }
.ri-faq .faq summary::after { color: var(--green-ink); }

/* ---------- 6. CTA ---------- */
.ri-cta__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ri-cta__h2 { margin-top: 20px; max-width: 14ch; font-size: clamp(2.2rem, 4.4vw, 3.9rem); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.ri-cta__h2 { max-width: 17ch; }
.ri-cta__em { display: block; margin-top: .12em; color: var(--lime-hi); }
.ri-cta__copy .body-lg { margin-top: 22px; max-width: 48ch; }
.ri-cta__act { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 32px; }
.ri-cta__fine { margin-top: 20px; font-size: 15px; color: var(--on-dark-2); }
.ri-cta__fine a { color: var(--on-dark); border-bottom: 1px solid var(--lime-hi); }
.ri-cta__disc { position: relative; justify-self: center; width: min(100%, 460px); aspect-ratio: 1; border-radius: 50%; color: var(--lime-hi); background: radial-gradient(circle at 50% 50%, rgba(0,132,78,.4), rgba(1,53,34,0) 70%); }
.ri-cta__disc svg { width: 100%; height: 100%; overflow: visible; stroke: currentColor; stroke-width: 2; }
.ri-cta__disc .d5 { fill: rgba(0,132,78,.1); } .ri-cta__disc .d4 { fill: rgba(0,132,78,.16); } .ri-cta__disc .d3 { fill: rgba(0,132,78,.24); }
.ri-cta__disc .d2 { fill: rgba(0,132,78,.34); } .ri-cta__disc .d1 { fill: rgba(0,132,78,.5); }
.ri-cta__disc .dc { fill: var(--green); stroke: var(--lime-hi); }
.ri-cta__disc g { color: #fff; }
@media (max-width: 899px) {
  .ri-cta__grid { grid-template-columns: minmax(0, 1fr); }
  .ri-cta__disc { width: min(78%, 340px); order: -1; }
}

/* ---------- 7. Other services + next ---------- */
.ri-more { background: var(--green); color: #fff; padding-block: clamp(36px, 4vw, 60px) var(--ri-pad); overflow: hidden; --tag-rule: rgba(255,255,255,.4); }
.ri-more .tag { color: #fff; }
.ri-more .tag::before { color: #fff; }
.ri-more__mq { white-space: nowrap; overflow: hidden; padding-block: clamp(8px, 2vw, 24px) clamp(36px, 5vw, 72px); }
.ri-more__mq .m-mq__g { display: flex; align-items: center; }
.ri-more__mq span { flex: none; padding-right: .4em; font-size: clamp(4rem, 11vw, 9.5rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.9); }
.ri-more__mq i { flex: none; width: .5em; height: .5em; margin-right: .5em; border: 2px solid #fff; border-radius: 50%; font-size: clamp(3rem, 8vw, 7rem); }
.ri-more__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(28px, 5vw, 80px); align-items: stretch; }
.ri-more__list ul { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.5); }
.ri-more__list li { border-bottom: 1px solid rgba(255,255,255,.5); }
.ri-more__list a { display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; column-gap: 14px; align-items: center; padding: 20px 6px; color: #fff; transition: background-color .35s var(--ease), padding .4s var(--ease); }
.ri-more__list .n { grid-row: span 2; align-self: start; padding-top: 5px; font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.ri-more__list .t { font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.ri-more__list .d { grid-column: 2; margin-top: 4px; font-size: 16px; line-height: 1.5; max-width: 54ch; }
.ri-more__list a > svg { grid-row: span 2; grid-column: 3; transition: transform .4s var(--ease); }
.ri-more__list a:hover { background: var(--green-deep); padding-inline: 16px; }
.ri-more__list a:hover > svg { transform: translateX(4px); color: var(--lime-hi); }
.ri-more__list a:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.ri-next { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 360px; padding: clamp(26px, 3vw, 44px); border-radius: 8px; background: var(--ink); color: #fff; transition: color .5s var(--ease); }
.ri-next::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lime-hi); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.ri-next:hover, .ri-next:focus-visible { color: var(--ink); }
.ri-next:hover::before, .ri-next:focus-visible::before { transform: scaleX(1); }
.ri-next__k { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.ri-next__t { font-size: clamp(2.2rem, 3.4vw, 3.2rem); overflow-wrap: anywhere; font-weight: 600; letter-spacing: -.05em; line-height: .96; }
.ri-next__go { display: grid; place-items: center; width: 62px; height: 62px; border: 1.5px solid currentColor; border-radius: 50%; transition: transform .5s var(--ease); }
.ri-next:hover .ri-next__go { transform: translateX(8px); }
@media (max-width: 899px) {
  .ri-more__grid { grid-template-columns: minmax(0, 1fr); }
  .ri-next { min-height: 280px; }
  .ri-more__list a { padding-block: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .ri-blk::before, .ri-edge, .ri-lbl, .ri-arch__rg, .ri-next::before { transition: none; }
}

/* keep "Risk Management &" on one line at phone width (no orphaned ampersand) */
@media (max-width: 480px) {
  .ri-hero__h1 { font-size: clamp(1.7rem, 7.4vw, 1.95rem); }
  .ri-hero__card.glass { padding: 22px 20px; }
}
