/* capabilities.css: page styles for capabilities.html that must load after the stylesheet before it.
   Tectonic Advisors website, dev package. Generated from the live prototype pages. */

/* Investment Capabilities, built to the Figma comp "TA • Investment Capabilities • Desktop" (node 345:1648).
   Measurements are taken from the 1789 frame; content runs x 202 to 1587 like the homepage. */
.ic-page { --glass: rgba(255, 255, 255, 0.8); --rule: rgba(0, 0, 0, 0.12); --card-grey: #f0f0f0; }
.ic-page .tx-display { text-wrap: wrap; }
.ic-lc { text-transform: none; }

/* Nav sits on a white hero here, so it always carries its shadow */
.ic-page .hp-navwrap .tx-nav { box-shadow: 0 8px 28px rgba(20, 10, 4, .12); }

/* 1. Hero: white, centred */
.ic-hero { position: relative; padding: 236.5px 0 94px; }
.ic-hero > .tx-container { text-align: center; }
/* Body copy leading 24px (site-wide from 9 Nov); the hero intro here is styled separately, so it is set too */
.ic-page .body, .ic-page .ic-hero p, .ic-page .tx-footer .footer-lead { line-height: 24px; }
/* Figma 454:1869: Light 51/51, tracking -1.02px, 1007 wide; lede 454:1835 sits 38.5px below the line box */
.ic-hero .tx-display { max-width: 1008px; margin: 0 auto; color: var(--ink); font-size: 51px; line-height: 51px; letter-spacing: -1.02px; }
.ic-hero p { max-width: 595px; margin: 38.5px auto 0; font: 400 16px/30px var(--font-sans); color: var(--ink); text-box: trim-both cap alphabetic; }
/* Hero strata lines (12 Nov, from Partner, flipped upside down per user): the same pattern and drift as Partner’s RIA quote lines, anchored to the right edge and
   centred on the intro paragraph. Wipes in from the right on load; a mouse over the hero adds to the drift: lines near
   the cursor's height ease toward it and deepen. Hidden at 1240px and below, where they would meet the text. */
.pw-hero-lines { --hl-half: 297.5px; --hl-gap: 160px; position: absolute; left: calc(50% + var(--hl-half) + var(--hl-gap)); right: 0; bottom: 60px; overflow: hidden; pointer-events: none; } /* lines start a fixed gap from the paragraph and run to the edge (laptop-first, user 12 Nov) */
.pw-hero-svg { display: block; width: max(420px, calc(100% + 40px)); height: auto; overflow: visible; }
.pw-hero-svg { translate: var(--mx, 0px) 0; }
/* hero: dark and light sets drift in lockstep (one duration), so the line ends keep their designed spacing */
.pw-hero-svg .pw-drift, .pw-hero-svg .pw-drift.soft { animation-duration: 12s; }
@media (prefers-reduced-motion: no-preference) {
  .pw-hero-lines { animation: pw-hl-in 1.4s cubic-bezier(.65, 0, .35, 1) .45s both; }
}
@keyframes pw-hl-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@media (max-width: 1240px) { .pw-hero-lines { --hl-gap: 110px; } }
@media (max-width: 1100px) { .pw-hero-lines { display: none; } }
.pw-hero-svg { scale: 1 -1; }
.pw-drift { animation: pw-drift 12s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.pw-drift.cb { animation-direction: alternate-reverse; }
@keyframes pw-drift { from { transform: translateX(-44px); } to { transform: translateX(44px); } }
@media (prefers-reduced-motion: reduce) { .pw-drift { animation: none; } }


/* 2. More ways to deliver value: slate band, copy left, glass allocation card right */
.ic-value .tx-band__img { object-position: 30% 22%; }
.ic-value::after { background: linear-gradient(90deg, rgba(8, 14, 24, 0.66) 0%, rgba(8, 14, 24, 0.5) 34%, rgba(8, 14, 24, 0) 60%); }
.ic-value__grid { position: relative; display: grid; grid-template-columns: minmax(420px, 503fr) minmax(0, 722fr); column-gap: clamp(48px, 6vw, 110px); align-items: center; min-height: 696px; padding: 96px 50px 96px 0; }
.ic-value .tx-band__copy { gap: 32px; max-width: 503px; } /* heading → copy 32px, same as the CANVAS band (user, 3 Dec) */
.ic-value .tx-band__copy .body { color: var(--white); }
.ic-page .ic-alloc { position: relative; margin: 0; padding: 34px 40px 30px; background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(125%); backdrop-filter: blur(20px) saturate(125%); border-radius: var(--radius-md); box-shadow: 0 34px 60px -28px rgba(10, 14, 24, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.ic-alloc__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.ic-alloc__title { margin: 0; font: 500 17px/1.3 var(--font-sans); color: var(--ink); white-space: nowrap; }
.ic-alloc__sub { margin: 0; font: 400 13px/1.3 var(--font-sans); color: #5f5750; white-space: nowrap; }
.ic-page .ic-alloc__bar { display: flex; gap: 3px; height: 12px; margin: 24px 0 18px; }
.ic-alloc__bar span { display: block; height: 100%; border-radius: 1px; background: var(--c); }
.ic-alloc__list { list-style: none; margin: 0; padding: 0; display: grid; }
.ic-alloc__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; column-gap: 14px; height: 42px; border-top: 1px solid rgba(20, 24, 30, 0.1); font: 400 14px/1.3 var(--font-sans); color: var(--ink); }
.ic-alloc__list i { display: block; width: 18px; height: 3px; background: var(--c); }
.ic-alloc__list b { font-weight: 400; font-variant-numeric: tabular-nums; }
.ic-page .ic-summary__list { list-style: none; margin: 18px 0 0; padding: 0; }
.ic-summary__list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 37px; padding: 5px 0 5px 18px; line-height: 1.25; font: 400 14px/1.3 var(--font-sans); color: #3d3934; }
.ic-summary__list b { font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ic-summary__list .ic-summary__total { min-height: 44px; padding-left: 0; font-weight: 500; color: var(--ink); }
.ic-summary__list .ic-summary__total b { font-weight: 500; }
.ic-summary__list li:first-child { border-bottom: 1px solid rgba(20, 24, 30, 0.1); margin-bottom: 4px; }
.ic-summary__list .ic-summary__total:not(:first-child) { border-top: 1px solid rgba(20, 24, 30, 0.1); }
.ic-summary__list li:nth-last-child(2) { margin-top: 4px; }
.ic-page .ic-alloc__note { margin: 26px 0 0; font: 400 12px/1.4 var(--font-sans); color: #5f5a56; }

/* 3. Strategies: intro and arrows, then a row of cards that runs off the right edge */
.ic-strat { padding: 104px 0 112px; overflow: hidden; }
/* Arrows sit under the intro, on the left, just above the cards (client, 11 Nov: on the right they got lost) */
.ic-strat__head { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.ic-strat__intro { display: flex; flex-direction: column; gap: 20px; max-width: 610px; }
.ic-strat__intro > * { margin: 0; text-box: trim-both cap alphabetic; }
.ic-strat__intro .tx-tagline { font-size: 18px; line-height: 33px; }
.ic-strat__arrows { display: flex; flex: none; }
/* Arrows: the homepage arrow (Figma "ArrowCircleLeft": 2.1px rounded glyph in a 50.4px circle, bronze-light on hover; user, 11 Nov).
   On this white section the circle is white with a 1px medium-grey (#adadad) outline (user, 11 Nov); circles line up with the text edge (the 67.2px button has 8.4px around the circle). */
.ic-strat__arrows { gap: 0; margin-left: -8.4px; }
.ic-arrow .bg { fill: var(--white); stroke: var(--medium-grey); stroke-width: 1px; vector-effect: non-scaling-stroke; transition: fill .2s ease, stroke .2s ease; }
.ic-arrow:hover .bg { fill: var(--bronze-light); stroke: var(--bronze-light); }
.ic-arrow:disabled:hover .bg { fill: var(--white); stroke: var(--medium-grey); }
@media (max-width: 860px) { .ic-strat__arrows { margin-left: -7.5px; } }
/* Strategy slider: same behaviour as the homepage leadership quotes (centred card, side cards at 0.84, content settles a beat later) */
.ic-strat__viewport { --edge: 48px; position: relative; margin-top: 32px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.ic-strat__viewport.is-drag { cursor: grabbing; }
.ic-strat__viewport:focus-visible { outline: 2px solid var(--bedrock-blue); outline-offset: 4px; }
.ic-page .ic-strat__track { list-style: none; margin: 0; padding: 0 40px; display: flex; gap: 24px; will-change: transform; transition: transform .8s cubic-bezier(.22, .61, .36, 1); }
.ic-strat__track.is-drag { transition: none; }
.ic-strat__track .ic-card { transform-origin: 50% 50%; transition: transform .8s cubic-bezier(.22, .61, .36, 1); }
.ic-strat__track .ic-card:not(.is-active) { cursor: pointer; }
.ic-strat__track .ic-card > h3, .ic-strat__track .ic-card > p { transition: transform .8s cubic-bezier(.22, .61, .36, 1), opacity .6s ease; }
.ic-strat__track.is-snap .ic-card > h3, .ic-strat__track.is-snap .ic-card > p { transition: none; }
/* Card height follows its content (user, 9 Nov: the 367px quote-card height left too much empty space); the slider row keeps all four the same height */
.ic-card { position: relative; flex: 0 0 min(778px, calc(100vw - 80px)); display: grid; grid-template-columns: minmax(0, 300fr) minmax(0, 357fr); column-gap: 32px; align-content: start; padding: 64px 68px 64px 52px; overflow: hidden; background: var(--card-grey); }
.ic-card--sand { background: var(--sandstone); }
.ic-card > h3, .ic-card > p { position: relative; z-index: 1; margin: 0; text-box: trim-both cap alphabetic; }
.ic-card__title { font: 400 30px/38px var(--font-sans); color: var(--ink); }
.ic-card .body { padding-top: 2px; line-height: 24px; }
.ic-card__art { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 778 / 261; max-width: none; pointer-events: none; } /* Figma's own strata graphic for each card (components 497:4759 / 4763 / 4770 / 4774), exported at the card's 778×261 frame and pinned to the card's bottom edge */
/* Noise on the strategy cards: Figma's noise effect (multicolour, 25%; Figma's 100% density speckles about half the pixels, and a second turbulence masks them down to density 35% (user, 9 Nov; was 50%)), rebuilt with its filter values as a tile; sits over the fill and strata, under the text */
.ic-card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='3' seed='1790' stitchTiles='stitch' result='t'/%3E%3CfeComponentTransfer in='t' result='c'%3E%3CfeFuncR type='linear' slope='2' intercept='-.5'/%3E%3CfeFuncG type='linear' slope='2' intercept='-.5'/%3E%3CfeFuncB type='linear' slope='2' intercept='-.5'/%3E%3CfeFuncA type='discrete' tableValues='.25 0'/%3E%3C/feComponentTransfer%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='3' seed='7' stitchTiles='stitch' result='m0'/%3E%3CfeComponentTransfer in='m0' result='m'%3E%3CfeFuncA type='discrete' tableValues='1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0'/%3E%3C/feComponentTransfer%3E%3CfeComposite in='c' in2='m' operator='in'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 256px 256px; pointer-events: none; }
.ic-strat__progress { position: relative; height: 2px; width: calc(100% - 2 * var(--page-margin)); max-width: var(--container-max); margin: 64px auto 0; background: #ebebeb; } /* on the page grid, like the cards and the heading */
.ic-strat__progress span { position: absolute; inset: 0 auto 0 0; width: 25%; background: var(--bronze-light); transform-origin: left; transition: transform .8s cubic-bezier(.22, .61, .36, 1), width .8s cubic-bezier(.22, .61, .36, 1); }

/* 5. CANVAS: copy left, four features under strata bars right, a stripe field bleeding off the left edge */
.ic-drift { animation: ic-drift 10s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.ic-drift--b { animation-direction: alternate-reverse; }
@keyframes ic-drift { from { transform: translateX(-18px); } to { transform: translateX(18px); } }

/* 6. What sets Tectonic apart: a timeline on one strata line, Brad's quote, a soft line field bottom right */
.ic-research { position: relative; overflow: hidden; padding: 110px 0 80px; }
.ic-research > .tx-container { position: relative; z-index: 1; }
.ic-research__intro { display: flex; flex-direction: column; gap: 24px; max-width: 470px; }
.ic-research__intro > * { margin: 0; text-box: trim-both cap alphabetic; }
.ic-page .ic-steps { list-style: none; margin: 84px 0 0; padding: 0; display: grid; grid-template-columns: 383fr 383fr 383fr 236fr; }
.ic-steps li { position: relative; padding: 118px 24px 0 0; }
.ic-steps li::before { content: ""; position: absolute; top: 10px; left: 11px; width: 100%; height: 3px; background: var(--strata-bronze); transform: scaleX(var(--fill, 1)); transform-origin: left center; }
.ic-steps li:last-child::before { width: 170px; background: linear-gradient(90deg, var(--strata-bronze), rgba(213, 136, 89, 0)); }
.ic-steps li::after { content: ""; position: absolute; top: 0; left: 0; width: 23px; height: 23px; box-sizing: border-box; border: 3px solid color-mix(in srgb, var(--strata-bronze) calc(var(--on, 1) * 100%), #d8cdc3); border-radius: 50%; background: var(--sandstone); transform: scale(calc(.72 + .28 * var(--pop, 1))); z-index: 1; }
.ic-steps p { position: relative; margin: 0; max-width: 200px; font-size: 18px; line-height: 30px; text-box: trim-both cap alphabetic; opacity: calc(.35 + .65 * var(--on, 1)); translate: 0 calc((1 - var(--on, 1)) * 10px); }
.ic-steps p::before { content: ""; position: absolute; left: 11px; bottom: calc(100% + 22px); width: 1px; height: 72px; background: #cfcac5; transform: scaleY(var(--on, 1)); transform-origin: top; }
.ic-page .ic-quote { margin: 92px 0 0; max-width: 660px; } /* .ic-page prefix: the shared figure reset was zeroing this margin */
.ic-quote blockquote { margin: 0; text-indent: -0.42em; color: var(--bronze-deep); }
.ic-quote figcaption { display: flex; align-items: flex-end; gap: 16px; margin-top: 44px; }
.ic-quote .tx-headshot { width: 137px; height: 137px; object-fit: cover; }
.ic-quote figcaption p { margin: 0; }
.ic-quote figcaption .label { font-size: 16px; line-height: 18px; }
.ic-quote figcaption .body { line-height: 18px; margin-top: 7px; }
.ic-research__art { position: absolute; right: 0; bottom: 0; width: 64%; height: 270px; background: repeating-linear-gradient(180deg, rgba(120, 128, 140, .5) 0 2px, transparent 2px 7px); -webkit-mask: linear-gradient(90deg, transparent, #000 65%), linear-gradient(180deg, transparent, #000 60%); -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent, #000 65%) intersect, linear-gradient(180deg, transparent, #000 60%); pointer-events: none; }

/* 7. CTA band */
.ic-cta .tx-band__img { object-position: 30% 78%; }
.ic-cta .tx-band__copy, .ic-value .tx-band__copy { max-width: 620px; }
.ic-cta .lede, .ic-value .tx-band__copy .body { max-width: 523px; }
.ic-value .tx-display__lead, .ic-cta .tx-display__lead { white-space: nowrap; }
@media (max-width: 520px) { .ic-value .tx-display__lead, .ic-cta .tx-display__lead { white-space: normal; } }
.ic-cta::after { background: linear-gradient(90deg, rgba(6, 18, 22, 0.64) 0%, rgba(6, 18, 22, 0.46) 42%, rgba(6, 18, 22, 0) 68%); }
@media (max-width: 1320px) and (min-width: 1101px) { .ic-cta::after { background: linear-gradient(90deg, rgba(6, 18, 22, 0.72) 0%, rgba(6, 18, 22, 0.56) 48%, rgba(6, 18, 22, 0) 74%); } }
@media (max-width: 1100px) { .ic-cta::after { background: linear-gradient(180deg, rgba(6, 18, 22, 0.55) 0%, rgba(6, 18, 22, 0.72) 100%); } }

/* Laptops */
@media (max-width: 1240px) {
  .ic-value__grid { padding-right: 0; }
  .ic-card { padding: 52px 44px 52px 40px; }
}
/* Tablets */
@media (max-width: 1100px) {
  .ic-value__grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; min-height: 0; padding: 96px 0; }
  .ic-value::after { background: linear-gradient(180deg, rgba(8, 14, 24, 0.6) 0%, rgba(8, 14, 24, 0.35) 55%, rgba(8, 14, 24, 0.15) 100%); }
  .ic-page .ic-alloc { max-width: 640px; }
  .ic-page .ic-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Phones */
@media (max-width: 860px) {
  .ic-hero { padding: 132px 0 72px; }
  .ic-hero .tx-display { font-size: 34px; line-height: 38px; letter-spacing: -0.6px; }
  .ic-hero p { margin-top: 24px; }
  .ic-value__grid { padding: 72px 0; }
  .ic-page .ic-alloc { padding: 24px 22px 20px; }
  .ic-strat { padding: 72px 0 80px; }
  .ic-strat__head { gap: 28px; }
  .ic-strat__viewport { margin-top: 24px; }
  .ic-page .ic-strat__track { padding: 0 var(--page-margin); gap: 12px; }
  .ic-strat__track .ic-card { flex-basis: calc(100vw - 2 * var(--page-margin) - 24px); }
  .ic-card { grid-template-columns: minmax(0, 1fr); row-gap: 24px; min-height: 0; padding: 36px 28px 140px; }
  .ic-card__title { font-size: 26px; line-height: 32px; }

  .ic-strat__progress { margin-top: 40px; }
  .ic-research { padding: 72px 0 64px; }
  .ic-page .ic-steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-top: 48px; }
  .ic-steps li { padding: 0 0 40px 52px; min-height: 64px; }
  .ic-steps li::before { top: 11px; left: 10px; width: 3px; height: 100%; transform: scaleY(var(--fill, 1)); transform-origin: center top; }
  .ic-steps li:last-child::before { width: 3px; height: 60px; background: linear-gradient(180deg, var(--strata-bronze), rgba(213, 136, 89, 0)); }
  .ic-steps p { max-width: none; padding-top: 4px; }
  .ic-steps p::before { display: none; }
  .ic-page .ic-quote { margin-top: 32px; }
  .ic-quote blockquote { font-size: 24px; line-height: 30px; }
  .ic-quote figcaption { flex-direction: column; align-items: flex-start; }
  .ic-quote .tx-headshot { width: 96px; height: 96px; }
  .ic-research__art { width: 100%; height: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .ic-drift { animation: none; }
  .ic-strat__progress span, .ic-page .ic-strat__track, .ic-strat__track .ic-card { transition: none; }
}

/* CANVAS band: ivory sandstone, copy left, live model-portfolio panel right */
.ic-canvas .tx-band__img { object-position: 50% 37%; }
.ic-canvas::after { background: linear-gradient(90deg, rgba(20, 12, 6, 0.42) 0%, rgba(20, 12, 6, 0.22) 30%, rgba(20, 12, 6, 0) 48%); }
.ic-canvas__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, 375fr) minmax(0, 741fr); column-gap: clamp(48px, calc(20vw - 155px), 203px); align-items: start; padding-top: 115px; }
/* The panel hangs over the band's lower edge into the white features area (Figma 8 Nov) */
.ic-page .ic-canvas { overflow: visible; overflow-x: clip; clip-path: inset(0 0 -400px 0); z-index: 2; background: transparent; }
.ic-canvas__bg { position: absolute; inset: 0; overflow: hidden; background: var(--bronze-deep); }
.ic-canvas::after { z-index: 0; }
.ic-canvas__copy { margin-top: 40px; }
.ic-page .ic-canvas__demo { margin-bottom: -11.3%; border-radius: 7px; box-shadow: 0 30px 60px -26px rgba(20, 10, 4, 0.38), 0 2px 6px rgba(20, 10, 4, 0.06); }
.ic-page .ic-features { padding-top: 165px; }
@media (min-width: 1500px) { .ic-canvas__grid { padding-inline: 14px 52px; } }
@media (max-width: 1499px) { .ic-page .ic-canvas__demo { margin-bottom: -8%; } .ic-canvas__copy { margin-top: 25px; } .ic-page .ic-features { padding-top: 136px; } }
.ic-canvas__copy { display: flex; flex-direction: column; gap: 32px; max-width: 375px; color: var(--white); }
.ic-canvas__copy > * { margin: 0; text-box: trim-both cap alphabetic; }
.ic-canvas__copy .tx-display { max-width: none; }
/* All-caps rock-band heading (user, 20 Nov): two lines beside the demo; on laptops it scales down so "LESS COMPLEXITY." clears the demo (51px at 1440 and up) */
@media (min-width: 1181px) { .ic-canvas__copy .tx-display { width: max-content; font-size: clamp(34px, calc(6.43vw - 41.6px), 51px); line-height: 1.098; } }
.ic-page .ic-canvas__demo { margin-top: 0; margin-inline: 0; min-width: 0; }
/* Four capabilities: one row, coloured rule over each */
.ic-features { padding: 89px 0 94px; }
.ic-page .ic-features__list { list-style: none; margin: 0; padding: 0 0 0 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 303px)); column-gap: 52px; justify-content: space-between; }
.ic-features__list li { display: flex; flex-direction: column; gap: 20px; }
.ic-features__list li::before { content: ""; display: block; height: 9px; max-width: 297px; background: var(--bar); }
/* Strata feature (site-wide pattern): bar → 20px → title 22/28 bold → 20px → body 16/24. Gaps measure letter to letter (cap height to baseline), as on the homepage bronze features */
.ic-features__list h3, .ic-features__list p { margin: 0; text-box: trim-both cap alphabetic; }
.ic-features__list .label { font-size: 22px; line-height: 28px; }
.ic-features__list .body { max-width: 280px; }
@media (max-width: 1500px) {
  .ic-canvas::after { background: linear-gradient(90deg, rgba(20, 12, 6, 0.66) 0%, rgba(20, 12, 6, 0.5) 34%, rgba(20, 12, 6, 0) 52%); }
}
@media (max-width: 1320px) {
  .ic-canvas__grid { column-gap: 48px; }
  .ic-page .ic-features__list { padding-left: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; column-gap: 48px; }
  .ic-features__list .body { max-width: 420px; }
}
@media (max-width: 1180px) {
  .ic-canvas__grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; min-height: 0; padding-block: 88px 0; }
  .ic-canvas__copy { margin-top: 0; }
  .ic-page .ic-canvas__demo { margin-bottom: -48px; }
  .ic-page .ic-features { padding-top: 120px; }
  .ic-canvas__demo { max-width: 741px; }
  .ic-canvas__copy, .ic-canvas__copy .heading { max-width: 520px; }
  .ic-canvas::after { background: linear-gradient(180deg, rgba(20, 12, 6, 0.7) 0%, rgba(20, 12, 6, 0.55) 40%, rgba(20, 12, 6, 0.1) 70%); }
}
@media (max-width: 640px) {
  .ic-canvas__grid { padding-block: 64px 0; }
  .ic-page .ic-canvas__demo { margin-bottom: -32px; }
  .ic-page .ic-features { padding: 88px 0 72px; }
  .ic-page .ic-features__list { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
}

/* Strata stack card (3 Dec 2026, replaces the Rebalancing review card; layered-slab idea from the user's reference video):
   four grained slabs in brand colours drop in one at a time, labels on each slab's cut face. Plays once. */
.ic-page .ic-st { padding: 40px 48px 32px; overflow: hidden; }
.ic-st__svg { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; overflow: visible; }
.ic-st__label { font: 500 24px/1 var(--font-sans); letter-spacing: 0.12em; }
.ic-page .ic-st__list { display: none; list-style: none; margin: 28px 0 0; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.ic-st__list li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(20, 24, 30, 0.09); font: 500 13px/1.3 var(--font-sans); letter-spacing: 0.1em; color: #3d3934; }
@media (max-width: 640px) {
  .ic-page .ic-st { padding: 28px 20px 20px; }
  .ic-page .ic-st__list { display: flex; flex-direction: column-reverse; }
}
@media (max-width: 640px) { .ic-page .ic-st__list { grid-template-columns: minmax(0, 1fr); } }

/* Scroll-linked stack (user, 3 Dec): the slabs drop in as the visitor scrolls the card into view and lift back out on the way up.
   Driven by the script below; reduced motion and no-JS show the finished stack. */
.ic-st__slab { will-change: transform; }
.ic-st__shadow { transform-box: fill-box; transform-origin: 50% 50%; will-change: transform, opacity; }

/* Footer link columns (audit 20 Nov): sized to their longest link so "Investment Capabilities" (same name as the main nav)
   and "Compliance Statement" never run past the container; 24px between the two lists. On tablet/phone the two lists share
   rows (subgrid), so when a link wraps the row beside it stays level. */
@media (min-width:1101px){.tx-footer .tx-footer__grid{grid-template-columns:minmax(0,488fr) minmax(0,465fr) minmax(32px,79fr) max-content max-content}.tx-footer .tx-footer__grid > nav{padding-right:24px}}
@media (max-width:860px){
 .tx-footer .tx-footer__grid{row-gap:0}
 .tx-footer .tx-footer__grid > :nth-child(1), .tx-footer .tx-footer__grid > .hp-form{margin-bottom:56px}
 .tx-footer .tx-footer__grid > .tx-footer__links{grid-row:3 / span 6;display:grid;grid-template-rows:subgrid;row-gap:15.2px}
}

/* Form confirmation popup (user, 20 Nov). Centred card over the page; the page behind is blurred like the About bio panels
   (white 30% + 14px blur). Card = the bronze thank-you card (user's Figma 761:9411): bronze-deep, card grain, strata, square corners.
   Closes with the X, Esc or a click outside; the form behind is cleared and focus returns to its Submit button. */
.tx-ty, .tx-ty *, .tx-ty *::before, .tx-ty *::after { box-sizing: border-box; }
.tx-ty { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 24px; border: 0; background: transparent; overflow: auto; }
.tx-ty[open] { display: grid; place-items: center; }
.tx-ty::backdrop { background: rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .6s ease; }
.tx-ty.is-open::backdrop { opacity: 1; }
.tx-ty.is-closing::backdrop { transition-duration: .35s; opacity: 0; }
.tx-ty__card { position: relative; overflow: hidden; isolation: isolate; width: min(560px, 100%); background: var(--bronze-deep, #a35f3b); padding: 43px 41px 60px 41px; box-shadow: 0 4px 36.8px rgba(0, 0, 0, .12); font-family: var(--font-sans, 'Satoshi', sans-serif); }
.tx-ty__card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: url(../img/card-noise.png) 0 0 / 128px 128px; pointer-events: none; }
.tx-ty__card > * { position: relative; z-index: 1; }
.tx-ty__card .tx-ty__strata { position: absolute; z-index: 0; left: -141px; top: 26px; width: 1004px; height: 545px; max-width: none; pointer-events: none; }
.tx-ty__card h2 { margin: 0; font: 400 34px/36px var(--font-sans, 'Satoshi', sans-serif); color: #fff; text-box: trim-both cap alphabetic; outline: none; }
.tx-ty__card p { margin: 38px 0 0; font: 400 16px/24px var(--font-sans, 'Satoshi', sans-serif); color: #fff; text-box: trim-both cap alphabetic; }
.tx-ty__close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; transition: color .2s ease; }
.tx-ty__close svg { width: 22px; height: 22px; }
.tx-ty__close:hover { color: var(--bronze-light, #eac4ad); }
.tx-ty__close:focus { outline: none; }
.tx-ty__close:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.tx-ty.is-closing .tx-ty__card { opacity: 0; translate: 0 8px; transition: opacity .3s ease, translate .3s ease; }
html.tx-ty-lock { overflow: hidden; }
.tx-ty__card strong { font-weight: 500; }
.tx-ty__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.3); }
.tx-ty__next { text-align: center; }
.tx-ty__done { padding: 0; border: 0; background: none; color: #fff; font: 500 16px/24px var(--font-sans, 'Satoshi', sans-serif); cursor: pointer; transition: color .2s ease; }
.tx-ty__done:hover { color: var(--bronze-light, #eac4ad); }
.tx-ty__done:focus-visible, .tx-ty__next:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 600px) { .tx-ty__actions { margin-top: 32px; padding-top: 28px; } .tx-ty__next { padding-inline: 20px; } }
@media (max-width: 600px) {
  .tx-ty { padding: 20px; }
  .tx-ty__card { padding: 32px 24px 40px 24px; }
  .tx-ty__card h2 { font-size: 28px; line-height: 32px; }
  .tx-ty__card p { margin-top: 32px; }
  .tx-ty__close { top: 8px; right: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .tx-ty.is-open .tx-ty__card { animation: txty-in .55s cubic-bezier(.28, 1.1, .74, 1) .08s both; }
  .tx-ty.is-open .tx-ty__strata { animation: txty-lines 1.4s cubic-bezier(.2, .7, .2, 1) .3s both; }
  .tx-ty.is-open .tx-ty__card h2 { animation: txty-rise .6s cubic-bezier(.28, 1.1, .74, 1) .35s both; }
  .tx-ty.is-open .tx-ty__card p { animation: txty-rise .6s cubic-bezier(.28, 1.1, .74, 1) .5s both; }
  .tx-ty.is-open .tx-ty__actions { animation: txty-rise .6s cubic-bezier(.28, 1.1, .74, 1) .65s both; }
}
@media (prefers-reduced-motion: reduce) { .tx-ty::backdrop, .tx-ty.is-closing .tx-ty__card { transition: none; } }
@keyframes txty-in { from { opacity: 0; translate: 0 24px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes txty-lines { from { opacity: 0; translate: 48px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes txty-rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
