/* Linked Accounting additions on top of the shared engine stylesheet (styles.css). */
.display, .h2, .h3, .feature-card h3, .strategy-card h3, .location-body h3, .staff-body h3, .faq summary { font-weight: 500; }
.display { letter-spacing: -0.02em; }
.display-sm { font-size: clamp(38px, 4.4vw, 64px) !important; }
.utility-link { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, 0.78); font-weight: 600; transition: color 0.2s; }
.utility-link:hover { color: var(--white); }
.utility-link .i { width: 14px; height: 14px; color: var(--mint); }
@media (max-width: 1080px) { .utility-link { display: none; } }
.monogram { height: 50px; }
.hero-wasatch { background-image: url("/images/hero-wasatch.jpg"); background-position: 50% 40%; }
.footer-hours { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.footer-hours strong { color: var(--white); margin-right: 6px; }
.footer-legal a { color: rgba(255, 255, 255, 0.75); }
.contact-value-sm { font-size: clamp(18px, 1.7vw, 22px) !important; overflow-wrap: anywhere; }
.page-index .contact-actions, .contact-actions { grid-template-columns: 1fr; }
.section-tight { padding: clamp(64px, 7vw, 96px) 0; }

/* Short page heroes (articles, legal) */
.page-hero-sm .page-hero-inner { min-height: 0; padding-top: 196px; padding-bottom: 72px; }
.page-hero-single { grid-template-columns: minmax(0, 1fr); }
.page-hero-single > div { max-width: 900px; }

/* Article layout */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.article-main { min-width: 0; }
.article-aside { position: sticky; top: 110px; display: grid; gap: 18px; }
.aside-card { padding: 28px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.aside-card .kicker { margin-bottom: 14px; }
.aside-cta .h3 { font-size: 28px; margin-bottom: 12px; color: var(--navy); }
.aside-cta .h3 em { color: var(--teal); }
.aside-cta p { font-size: 15px; color: var(--text-2); margin-bottom: 20px; }
.aside-phone { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; color: var(--navy); text-decoration: none; }
.aside-phone .i { color: var(--teal); }
.aside-links { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 2px; }
.aside-links a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.35; }
.aside-links a:hover { color: var(--teal); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow); margin-bottom: 40px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose { font-size: 17.5px; line-height: 1.75; color: var(--text-2); max-width: 760px; }
.prose h2, .prose h3, .prose h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 1.6em 0 0.6em; font-weight: 500; }
.prose h2 { font-size: 34px; }
.prose h3 { font-size: 28px; }
.prose h4 { font-size: 22px; }
.prose > :first-child { margin-top: 0; }
.prose h3 strong, .prose h2 strong, .prose h4 strong { font-weight: inherit; color: inherit; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.55em; }
.prose li::marker { color: var(--teal); }
.prose strong { color: var(--text); }
.prose a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0 1.6em; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--paper); color: var(--text); }
.prose-legal { max-width: 860px; }
.prose-foot { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); max-width: 760px; }
.note-amber { background: var(--amber-bg); border-color: rgba(154, 107, 18, 0.25); margin: 0 0 32px; }
.note-amber .i { color: var(--amber); }

/* FAQ (details/summary inside .faq) */
.faq summary span { flex: 1; }
.faq-a { padding: 0 60px 24px 0; color: var(--text-2); }
.faq-a p { padding: 0 !important; margin: 0 0 0.8em !important; }
.faq-a ul { margin: 0 0 0.8em; }

/* Read cards (related insights) */
.read-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.read-card { display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; }
.read-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(26, 117, 170, 0.35); }
.read-kicker { font: 700 11.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
.read-card h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.18; color: var(--navy); margin: 14px 0 10px; }
.read-card p { font-size: 15px; color: var(--text-2); flex: 1; }
.read-card .text-link { margin-top: 14px; font-size: 14px; }

/* Planning Center library */
.pc-card { text-decoration: none; color: inherit; }
.pc-card p { flex: 1; }
.pc-card .text-link { margin-top: 16px; }
.pc-theme { display: inline-flex; padding: 6px 12px; border-radius: 999px; font: 700 11.5px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.pc-tax { background: #E1F2FB; color: #135F8C; }
.pc-estate { background: var(--amber-bg); color: var(--amber); }
.pc-operations { background: #E3E9EE; color: var(--navy); }
.strategy-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pc-video { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--sans); color: var(--muted); }
.pc-video svg { width: 14px; height: 14px; fill: var(--teal); }
.lib-search { display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 48px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); flex: 1 1 260px; max-width: 360px; }
.lib-search svg { width: 18px; height: 18px; flex: none; color: var(--muted); fill: none; stroke: currentColor; stroke-width: 2; }
.lib-search input { border: 0; outline: 0; background: transparent; font: 500 15px var(--sans); color: var(--text); width: 100%; }

/* Insights index */
.info-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 60px; }
.info-group .h3 { color: var(--navy); margin-bottom: 16px; }
.info-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.info-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; }
.info-list a:hover { color: var(--teal); }
.info-list .i { color: var(--teal); }

/* Grids */
.partner-grid.four { grid-template-columns: repeat(4, 1fr); }
.ind-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.ind-grid .feature-card { grid-column: span 2; min-height: 430px; }
.ind-grid .feature-card:nth-child(4), .ind-grid .feature-card:nth-child(5) { grid-column: span 3; }
.ind-grid .feature-card h3 { margin-top: 90px; font-size: clamp(26px, 2.3vw, 34px); }
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.loc-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); text-decoration: none; color: var(--white); transition: transform 0.3s var(--ease), background 0.3s; }
.loc-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.1); }
.loc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.loc-card div { padding: 22px 22px 24px; display: grid; gap: 6px; }
.loc-card strong { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.1; }
.loc-card span { font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }
.loc-card em { font-style: normal; font-weight: 700; color: var(--mint); margin-top: 6px; }
.team-photo { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: #E9EEF1; }
.team-photo img { width: 100%; }
.svc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.svc-tile { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); text-decoration: none; color: var(--white); transition: background 0.25s, transform 0.25s var(--ease); }
.svc-tile:hover { background: rgba(255, 255, 255, 0.11); transform: translateY(-3px); }
.svc-tile strong { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.15; }
.svc-tile span { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.benefits { columns: 2; column-gap: 40px; display: block; }
.benefits li { break-inside: avoid; margin-bottom: 14px; }
.wealth-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: clamp(32px, 4vw, 56px); border-radius: 28px; background: linear-gradient(140deg, var(--navy), var(--ink)); color: var(--white); }
.wealth-band .h2 { color: var(--white); font-size: clamp(30px, 3.2vw, 44px); }
.wealth-band .h2 em { color: var(--sky); }
.wealth-band p { color: rgba(255, 255, 255, 0.78); }
.svc-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc-detail .info-card h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--navy); }
.svc-detail .info-card p { color: var(--text-2); }
.svc-detail .info-card ul { padding-left: 1.1em; margin: 12px 0 0; color: var(--text-2); font-size: 15.5px; }
.svc-detail .info-card li { margin-bottom: 6px; }
.svc-detail .info-card li::marker { color: var(--teal); }
.key-people { display: grid; gap: 20px; }
.key-person { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: start; padding: 26px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.key-person img { width: 150px; height: 188px; object-fit: cover; border-radius: 16px; }
.key-person h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--navy); }
.key-person .staff-role { margin: 6px 0 12px; }
.key-person p { font-size: 15.5px; color: var(--text-2); }
.key-person .text-link { font-size: 14px; }
.hero-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.hero-list li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, 0.86); font-size: 15px; line-height: 1.45; }
.hero-list .check { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--sky); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.hero-list a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(169, 221, 247, 0.4); }

@media (max-width: 1100px) {
  .partner-grid.four, .loc-grid, .svc-tiles { grid-template-columns: repeat(2, 1fr); }
  .read-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid .feature-card, .ind-grid .feature-card:nth-child(4), .ind-grid .feature-card:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 760px) {
  .partner-grid.four, .loc-grid, .svc-tiles, .read-grid, .info-columns, .svc-detail, .ind-grid, .wealth-band { grid-template-columns: 1fr; }
  .article-aside { grid-template-columns: 1fr; }
  .benefits { columns: 1; }
  .key-person { grid-template-columns: 1fr; }
  .faq-a { padding-right: 0; }
  .monogram { height: 42px; }
}

/* Bank consulting: tax vs GAAP comparison */
.compare-gaap h3 { margin-bottom: 14px; }
.gaap-lines { margin: 0; display: grid; gap: 0; }
.gaap-lines div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.gaap-lines dt { color: var(--text-2); font-weight: 600; }
.gaap-lines dd { margin: 0; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.gaap-lines .neg dd { color: #B04A3A; }
.gaap-lines .pos dd { color: #1F7A4D; }
.compare-gaap.good { border-color: rgba(26, 117, 170, 0.4); box-shadow: var(--shadow); }

/* Mission handshake photo: Higgsfield outpaint (86899a91) extended it to 4:5 so it fills the column; whole frame shown. */
.about-media img { height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; }

/* The animated number sits in a span inside <strong>; keep it at the big stat size (the caption span rule was shrinking it). */
.countdown-num strong span { font: inherit; color: inherit; letter-spacing: inherit; }
/* Group photo: let the height follow the width so it is never squashed by the height attribute. */
.team-photo img { height: auto; display: block; }
/* Five partners on the home page */
.partner-grid.five { grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1100px) { .partner-grid.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .partner-grid.five { grid-template-columns: repeat(2, 1fr); } }

/* Team hero: all 5 partners, 3 on top and 2 centred below. */
.hero-faces { display: flex; flex-wrap: wrap; justify-content: center; }
.hero-faces a { flex: 0 0 calc((100% - 24px) / 3); }
@media (max-width: 760px) { .hero-faces a { flex-basis: calc((100% - 16px) / 3); } }

/* Page heroes: the dark overlay rides on the zooming background layer itself. As a separate ::before
   on the hero it could fall out of step with the scaled (composited) photo, leaving a ~30px unshaded
   strip of photo at the bottom edge (seen on /team, 2026-10-09). */
.page-hero::before { display: none; }
.page-hero.plain::before { display: block; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 27, 38, 0.95) 0%, rgba(13, 27, 38, 0.82) 36%, rgba(13, 27, 38, 0.42) 68%, rgba(13, 27, 38, 0.25) 100%),
    linear-gradient(0deg, rgba(13, 27, 38, 0.9) 0%, rgba(13, 27, 38, 0) 40%),
    linear-gradient(180deg, rgba(13, 27, 38, 0.7) 0%, rgba(13, 27, 38, 0) 26%); }

/* Team page bio rows come from the Hub inside one wrapper; keep the row grid spacing. */
.partner-rows-live { display: contents; }

/* Service tiles on light sections (Alliance bench). */
.section-white .svc-tiles.light .svc-tile, .section-paper .svc-tiles.light .svc-tile { background: var(--white); border: 1px solid var(--line); color: var(--navy); box-shadow: 0 1px 0 rgba(13, 27, 38, 0.02); }
.svc-tiles.light .svc-tile span { color: var(--muted); }
.svc-tiles.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .svc-tiles.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .svc-tiles.three { grid-template-columns: 1fr; } }

/* Every partner photo and card the same size, whatever the bio length (Jacob, 2026-10-09).
   Bio rows: the photo column is a fixed width on both normal and flipped rows. */
.partner-row { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
.partner-row.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
.partner-row-photo { width: 100%; max-width: 440px; align-self: start; }
.partner-row.flip .partner-row-photo { justify-self: end; }
@media (max-width: 1100px) {
  .partner-row, .partner-row.flip { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
  .partner-row.flip .partner-row-photo { order: 0; justify-self: start; }
  .partner-row-photo { max-width: 360px; }
}
@media (max-width: 760px) {
  .partner-row, .partner-row.flip { grid-template-columns: 1fr; }
  .partner-row-photo { max-width: 360px; justify-self: center !important; }
}
/* Card grids: every card in a grid the same height; text wraps inside. */
.partner-grid { grid-auto-rows: 1fr; }
.partner-card .partner-body { flex: 1; display: flex; flex-direction: column; }
.partner-card .partner-actions { margin-top: auto; }

/* ---- 2026-10-09 round (TSK-371): wider desktop wrapper, Sri's home hero, half-second intro ---- */

/* Content wrapper: grows with the screen on desktop instead of stopping at 1240px. Phones and tablets are unchanged. */
.container { max-width: max(1240px, min(1760px, 92vw)); }

/* Cardo, Sri's headline face, used only inside the home hero. */
@font-face { font-family: "Cardo"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/cardo-normal-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Cardo"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/cardo-italic-400-latin.woff2") format("woff2"); }

/* Home hero, brought over from Sri's build (photo, overlay, hex pattern, headline, planning window card). */
.hero-sri { --hero-serif: "Cardo", "Iowan Old Style", Georgia, serif; --mint: #8fd3c4; }
.hero-sri .hero-bg { z-index: -3; }
/* Hero video: a quiet live-camera loop over the same photo. The still shows first; the video fades in only once it can play through. Reduced motion and data saver keep the still. */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero-video.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-sri::before {
  background:
    radial-gradient(900px 560px at 88% 8%, rgba(0, 124, 102, 0.34), transparent 62%),
    radial-gradient(800px 640px at 0% 100%, rgba(0, 83, 142, 0.5), transparent 62%),
    linear-gradient(90deg, rgba(7, 27, 46, 0.92) 0%, rgba(7, 27, 46, 0.7) 45%, rgba(7, 27, 46, 0.3) 100%),
    linear-gradient(0deg, rgba(7, 27, 46, 0.85) 0%, rgba(7, 27, 46, 0) 40%);
}
.hero-sri .hex-pattern { position: absolute; inset: 0; z-index: -2; opacity: 0.5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='194' viewBox='0 0 112 194'%3E%3Cg fill='none' stroke='%236fb7e9' stroke-opacity='.16' stroke-width='1.4'%3E%3Cpath d='M56 2l50 29v58L56 118 6 89V31z'/%3E%3Cpath d='M56 118l50 29v47M56 118L6 147v47'/%3E%3C/g%3E%3C/svg%3E"); background-size: 112px 194px; -webkit-mask-image: radial-gradient(70% 90% at 80% 20%, #000, transparent 75%); mask-image: radial-gradient(70% 90% at 80% 20%, #000, transparent 75%); animation: kenburns 26s var(--ease) both; }
.hero-sri .hero-inner { width: 100%; grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr); gap: 56px; align-items: end; padding-top: 200px; padding-bottom: 80px; }
.hero-sri .display { font-family: var(--hero-serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 104px); line-height: 1.16; letter-spacing: -0.02em; color: #fff; }
.hero-sri .display em { color: #6fb7e9; }
.hero-sri .lede { margin-top: 28px; max-width: 600px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.hero-sri .countdown-num strong { font-family: var(--hero-serif); font-size: clamp(64px, 8vw, 96px); color: #fff; }
.hero-sri .dl-date i { font-family: var(--hero-serif); color: #fff; }
.hero-sri .dl-text { color: #fff; }
.hero-sri .countdown .fine { font-size: 12px; color: rgba(255, 255, 255, 0.5); margin-top: 16px; }
@media (max-width: 980px) { .hero-sri .hero-inner { grid-template-columns: 1fr; padding-top: 170px; gap: 40px; } }
@media (max-width: 560px) { .hero-sri .countdown { padding: 24px 22px 22px; } }

/* First visit of a session: a hexagon draws around the logo, then the screen lifts away. Half a second in all. Never shown to visitors who prefer reduced motion. */
.intro-screen { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .intro .intro-screen { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #071b2e; pointer-events: none; animation: introLift 0.4s var(--ease) 0.6s both; }
  .intro-screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 480px at 85% 0%, rgba(0, 124, 102, 0.3), transparent 62%), radial-gradient(800px 600px at 0% 100%, rgba(0, 83, 142, 0.5), transparent 62%); }
  .intro-hex { position: absolute; width: min(300px, 62vw); height: auto; fill: none; stroke: var(--mint); stroke-width: 1.4; stroke-linejoin: round; opacity: 0.9; }
  .intro-hex polygon { stroke-dasharray: 1; stroke-dashoffset: 1; animation: introDraw 0.6s var(--ease) forwards; }
  .intro-logo { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; opacity: 0; animation: introLogo 0.44s var(--ease) 0.12s forwards; }
  .intro-logo svg { width: 64px; height: auto; }
  .intro-name { font-family: var(--serif); font-size: 22px; letter-spacing: 0.005em; white-space: nowrap; }
  .intro .hero-sri .hero-bg { animation: heroIn 1.8s var(--ease) 0.6s both; }
  /* Hero text on the first visit: twice the usual duration and stagger. */
  .intro .hero .reveal { transition-duration: 1.8s; }
  .intro .hero .reveal.d1 { transition-delay: 0.16s; }
  .intro .hero .reveal.d2 { transition-delay: 0.32s; }
  .intro .hero .reveal.d3 { transition-delay: 0.48s; }
}
@keyframes introDraw { to { stroke-dashoffset: 0; } }
@keyframes introLogo { from { opacity: 0; transform: translateY(6px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes introLift { 0% { transform: none; } 99% { transform: translateY(-100%); visibility: visible; } 100% { transform: translateY(-100%); visibility: hidden; } }
@keyframes heroIn { from { opacity: 0; } to { opacity: 1; } }

/* Contact band v2 (2026-10-12): Sri's wording and glass card, brand blues and navies only (no teal or green). */
.contact-band-v2 { background: #0B2440; }
.contact-band-v2 .contact-bg { background:
  radial-gradient(60% 80% at 88% 18%, rgba(96, 191, 241, 0.20), rgba(96, 191, 241, 0) 70%),
  radial-gradient(55% 90% at 4% 0%, rgba(26, 117, 170, 0.75), rgba(26, 117, 170, 0) 70%),
  linear-gradient(105deg, #0E5A93 0%, #0A3A66 32%, #0B2440 55%, #0F2F57 78%, #164A82 100%); }
.contact-band-v2 .kicker-light { color: var(--mint); }
.contact-title { font-family: "Cardo", "Iowan Old Style", Georgia, serif; font-weight: 400; font-size: clamp(40px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -0.015em; color: #fff; margin: 0; }
.contact-title em { display: block; font-style: italic; color: var(--sky); }
.contact-band-v2 .lead { max-width: 640px; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.contact-glass { justify-self: end; width: 100%; max-width: 540px; padding: clamp(26px, 3vw, 36px); border-radius: 24px; background: linear-gradient(140deg, rgba(169, 221, 247, 0.16), rgba(96, 191, 241, 0.06)); border: 1px solid rgba(169, 221, 247, 0.28); box-shadow: 0 30px 60px -30px rgba(4, 14, 28, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.contact-person { margin: 0 0 16px; }
.contact-name, .contact-role { display: block; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.86); }
.contact-line { display: block; width: fit-content; font-weight: 700; font-size: 18px; line-height: 1.6; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.contact-line:hover { color: var(--mint); }
.contact-phone { font-size: 19px; }
.contact-hours { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(169, 221, 247, 0.2); font-size: 14px; color: rgba(255, 255, 255, 0.64); }
@media (max-width: 960px) { .contact-glass { justify-self: stretch; max-width: none; } }
@media (max-width: 520px) { .contact-buttons .btn { width: 100%; } }

/* Advanced tax planning component (ported from Searle 2026-10-12): goal tags in brand blues only */
.goal-eliminate { background: #E1F2FB; color: #1A75AA; }
.goal-reduce { background: #E3E9EE; color: #14324A; }
.goal-defer { background: #EEF3F9; color: #4A6E92; }
.strategy-card.featured { border-color: rgba(26, 117, 170, 0.35); }
.contact-band { padding-bottom: max(150px, calc(clamp(100px, 16.67vw, 420px) * 0.5 + clamp(56px, 5vw, 96px))); } /* room for the footer ridge: its top half is open sky since the far ranges were removed (2026-10-13) */

/* ---- 2026-10-12 walkthrough revisions ---- */
/* Planning strategies carousel (inside the home tax planning section) */
.pc-carousel { margin-top: clamp(48px, 6vw, 72px); }
.pc-carousel-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.pc-carousel-head .h3 { margin: 6px 0 0; }
.pc-carousel-ctrl { display: flex; align-items: center; gap: 10px; }
.pc-carousel-ctrl .text-link { margin-right: 8px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: inline-grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
.carousel-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel-btn:hover { border-color: var(--blue, #1A75AA); }
.carousel-btn[disabled] { opacity: .35; cursor: default; }
.pc-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; scrollbar-width: thin; }
.pc-track:focus-visible { outline: 2px solid var(--blue, #1A75AA); outline-offset: 4px; }
.pc-track .read-card { scroll-snap-align: start; min-height: 100%; }
.pc-track .read-card h3 { font-size: 21px; }
@media (max-width: 1100px) { .pc-track { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 760px) { .pc-track { grid-auto-columns: 82%; } .pc-carousel-ctrl .carousel-btn { display: none; } }

/* Wealth section */
.wealth-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.wealth-copy .hero-actions { margin-top: 30px; }
@media (max-width: 960px) { .wealth-grid { grid-template-columns: 1fr; } }
.network .core-sub-1 { font-size: 7.6px; letter-spacing: .16em; }
.network .core-sub-2 { fill: var(--white); font-size: 11px; letter-spacing: .26em; }

/* CFO advisory component */
.cfo-ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; }
.cfo-step { position: relative; padding: 30px 28px; border-radius: 24px; background: var(--paper, #F4F6F7); border: 1px solid var(--line); }
.cfo-step:nth-child(1) { min-height: 250px; }
.cfo-step:nth-child(2) { min-height: 300px; background: linear-gradient(180deg, #EAF4FB, #F4F8FB); }
.cfo-step:nth-child(3) { min-height: 350px; background: linear-gradient(180deg, #14324A, #0D1B26); border-color: transparent; }
.cfo-step:nth-child(3) h3, .cfo-step:nth-child(3) .cfo-step-num { color: var(--white); }
.cfo-step:nth-child(3) p { color: rgba(255, 255, 255, .72); }
.cfo-step:nth-child(3) .text-link { color: #A9DDF7; margin-top: 14px; display: inline-flex; }
.cfo-step-num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--navy); opacity: .35; }
.cfo-step h3 { font-family: var(--serif); font-weight: 500; font-size: 25px; color: var(--navy); margin: 18px 0 10px; }
.cfo-step p { color: var(--text-2); font-size: 15.5px; margin: 0; }
.cfo-areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cfo-area { padding: 26px 24px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.cfo-area:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cfo-ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #EAF4FB; fill: none; stroke: #1A75AA; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cfo-area h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.2; color: var(--navy); margin: 16px 0 8px; }
.cfo-area p { font-size: 14.5px; color: var(--text-2); margin: 0; }
@media (max-width: 1100px) { .cfo-areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .cfo-ladder, .cfo-areas { grid-template-columns: 1fr; } .cfo-step { min-height: 0 !important; } }

/* Team page: partners box heading, Join the team under the CTA, grid layout with bio dialogs */
.hero-faces-box { padding: 18px 16px 4px; }
.hero-faces-box .hero-faces { padding: 0; background: none; border: 0; box-shadow: none; }
.hero-faces-title { display: block; margin: 0 0 14px; text-align: center; }
.partner-cta-join { display: flex; justify-content: center; margin-top: 14px; }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.person-card .partner-photo { background: #fff; }
.person-card .partner-photo::after { display: none; }
.person-card .partner-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.person-card h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--navy); margin: 0; }
.person-card .partner-cred { color: var(--text-2); font-size: 14px; }
.person-bio-btn { margin-top: auto; padding-top: 12px; background: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; color: var(--blue, #1A75AA); display: inline-flex; align-items: center; gap: 6px; padding-left: 0; }
.person-bio { max-width: 640px; width: calc(100% - 32px); border: 0; border-radius: 24px; padding: 0; box-shadow: 0 30px 80px rgba(13, 27, 38, .35); }
.person-bio::backdrop { background: rgba(13, 27, 38, .55); }
.person-bio-inner { position: relative; padding: 36px 34px 30px; }
.person-bio-inner h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--navy); margin: 4px 0 14px; }
.person-bio-inner p { color: var(--text-2); }
.person-bio-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); font-size: 22px; line-height: 1; cursor: pointer; }
@media (max-width: 1100px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .people-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .person-card h3 { font-size: 18px; } }
/* Headshot boxes sit on white so aligned copies (padded on white) blend in */
.partner-photo, .partner-row-photo { background: #fff; }

/* Locations: no dangling label between phone and directions; Directions is a real button */
.location-lines { align-items: center; justify-content: space-between; }
.location-lines a.loc-directions { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 14px; transition: border-color .2s, box-shadow .2s, color .2s; }
.location-lines a.loc-directions:hover { border-color: rgba(26, 117, 170, .45); box-shadow: 0 6px 18px rgba(13, 27, 38, .08); color: var(--navy); }
.loc-directions .i { width: 16px; height: 16px; }
.loc-hq { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: #EAF4FB; color: #14467A; font: 700 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; }

/* Website forms: contact form + relationship manager box (save to the Hub's Leads page) */
.contact-form-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.site-form { display: grid; gap: 16px; padding: clamp(24px, 3vw, 36px); border-radius: 26px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.site-form label, .rm-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--navy); }
.site-form .opt { font-weight: 400; color: var(--muted); }
.site-form input, .site-form select, .site-form textarea, .rm-form input { width: 100%; font: inherit; font-weight: 400; font-size: 16px; color: var(--text); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #FBFCFD; }
.site-form input:focus, .site-form select:focus, .site-form textarea:focus, .rm-form input:focus { outline: 2px solid rgba(26, 117, 170, .5); outline-offset: 1px; border-color: transparent; }
.site-form textarea { resize: vertical; min-height: 120px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 14px; color: var(--muted); }
.form-status.err { color: #B4372F; }
.form-done { margin: 0; padding: 14px 16px; border-radius: 14px; background: #EAF4FB; color: #14467A; font-weight: 700; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.site-form.is-done > *:not(.form-done) { display: none; }
.rm-card { position: relative; }
.rm-open { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--blue, #1A75AA); cursor: pointer; }
.rm-form { display: grid; gap: 10px; }
.rm-form h3 { margin: 0 0 4px; }
.rm-form label { font-size: 13px; }
.rm-form input { padding: 9px 12px; font-size: 15px; }
.rm-form.is-done > *:not(.form-done):not(h3) { display: none; }
@media (max-width: 900px) { .contact-form-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row.two { grid-template-columns: 1fr; } }
.quick-contact a { overflow-wrap: anywhere; }
.quick-contact a[href^="mailto:"] { font-size: clamp(19px, 5vw, 30px); overflow-wrap: normal; } /* keep the firm inbox on one line */

/* Home service cards: lighter overlay so the bright photos read bright; text keeps a dark base */
#services .feature-card::before { background: linear-gradient(180deg, rgba(13, 27, 38, 0.30) 0%, rgba(13, 27, 38, 0) 20%, rgba(13, 27, 38, 0.18) 42%, rgba(13, 27, 38, 0.82) 78%, rgba(13, 27, 38, 0.94) 100%); }
#services .feature-card h3, #services .feature-card p { text-shadow: 0 1px 12px rgba(13, 27, 38, 0.55); }

/* Team grid (engine): whole card clickable, wide landscape bio panel */
.person-card.is-clickable { cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.person-card.is-clickable:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(26, 117, 170, .35); }
.person-card.is-clickable:hover .partner-photo img { transform: scale(1.04); }
.person-card.is-clickable:focus-visible { outline: 3px solid #1A75AA; outline-offset: 3px; }
.person-more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue, #1A75AA); font-size: 15px; }
.person-card.is-clickable:hover .person-more .i { transform: translateX(3px); }
.person-more .i { transition: transform .2s; }
.person-panel { max-width: 1040px; width: calc(100% - 40px); max-height: calc(100vh - 48px); overflow: auto; padding: 0; border: 0; border-radius: 28px; box-shadow: 0 40px 100px rgba(13, 27, 38, .45); }
.person-panel[open] { animation: panelIn .35s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.person-panel::backdrop { background: rgba(13, 27, 38, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.person-panel-grid { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; }
.person-panel-photo { background: #fff; position: relative; }
.person-panel-photo img { width: 100%; height: 100%; min-height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; display: block; }
.person-panel-body { padding: clamp(28px, 4vw, 48px); }
.person-panel-body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; color: var(--navy); margin: 6px 0 6px; }
.person-panel-body .partner-cred { margin-bottom: 18px; }
.person-panel-body p { color: var(--text-2); }
.person-panel-body .partner-facts { margin-top: 22px; }
.person-panel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.person-panel .person-bio-close { z-index: 2; background: rgba(255, 255, 255, .92); }
@media (max-width: 760px) {
  .person-panel { width: calc(100% - 20px); max-height: calc(100vh - 20px); border-radius: 22px; }
  .person-panel-grid { grid-template-columns: 1fr; }
  .person-panel-photo img { aspect-ratio: auto; height: 340px; min-height: 0; }
  .person-panel-body { padding: 24px 22px 28px; }
}

/* Home hero steadiness (2026-10-12): the home hero no longer zooms (Ken Burns). The live-camera video
   already moves, and zooming the layer that holds the video made it judder while the video cross-faded
   in a few pixels off the still. The video is nudged to sit exactly on the still. */
.hero-sri .hero-bg, .hero-sri .hex-pattern { animation: none; transform: none; }
.intro .hero-sri .hero-bg { transform: none; }
.hero-video { transform: translateY(-0.34%) scale(1.004); }
/* Stats row: four numbers stand alone (Alliance membership is in the header). */
.trust-grid.trust-four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .trust-grid.trust-four { grid-template-columns: 1fr 1fr; } }
/* Phone and tablet: a clean 2 x 2 (the base sheet's 5-item rules made the 4th stat span the full row). */
.trust-four .trust-num { white-space: nowrap; }
.trust-four .trust-label { text-wrap: balance; }
@media (max-width: 980px) {
  .trust-four .trust-item { padding: 28px 24px; border-left: 0; border-top: 0; grid-column: auto; }
  .trust-four .trust-item:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  .trust-four .trust-item:nth-child(even) { padding-right: 0; }
  .trust-four .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (min-width: 981px) and (max-width: 1080px) {
  .trust-four .trust-item:nth-child(4) { border-left: 1px solid var(--line); padding-left: 26px; border-top: 0; }
}
@media (max-width: 760px) {
  .trust-four .trust-item { padding: 22px 16px; }
  .trust-four .trust-num { font-size: 36px; }
  .trust-four .trust-label { margin-top: 8px; font-size: 13px; }
}
html:has(dialog.person-panel[open]) { overflow: hidden; }
.person-panel { overscroll-behavior: contain; }

/* Wealth diagram: two streams into one plan */
.wx { margin: 0; padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.wx-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wx-streams { container-type: inline-size; }
.wx-logo { display: flex; align-items: center; justify-content: center; height: 54px; max-width: 100%; margin-bottom: 10px; }
.wx-logo-lwa img { display: block; height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.wx-logo-la { gap: 9px; color: var(--white); }
.wx-logo-la .monogram { height: 42px; width: auto; flex: none; }
.wx-la-text { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.wx-la-name { font-family: var(--serif); font-size: 18px; white-space: nowrap; }
.wx-la-sub { margin-top: 5px; padding-top: 4px; border-top: 1px solid rgba(169, 221, 247, .55); font: 700 5.8px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; opacity: .8; white-space: nowrap; }
@container (max-width: 440px) { .wx-sources { grid-template-columns: 1fr; gap: 22px; } .wx-flow { height: 56px; } .wx-src { padding: 18px 14px; } .wx-tax { position: relative; } .wx-tax::after { content: "+"; position: absolute; left: 50%; bottom: -19px; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 20px/1 var(--sans); color: var(--white); background: #1d2a35; border: 1px solid rgba(169, 221, 247, .5); z-index: 1; } }
.wx-src { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 20px 14px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(169, 221, 247, .35); }
.wx-src strong { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--white); line-height: 1.15; }
.wx-wealth { border-color: rgba(255, 255, 255, .3); }
.wx-flow { display: block; width: 100%; height: 80px; overflow: visible; }
.wx-line { fill: none; stroke-width: 3; stroke-linecap: round; }
.wx-line-t { stroke: var(--sky); }
.wx-line-w { stroke: rgba(255, 255, 255, .7); }
.wx-dash { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 16; opacity: .55; animation: wx-flow 1.6s linear infinite; }
@keyframes wx-flow { to { stroke-dashoffset: -18; } }
@media (prefers-reduced-motion: reduce) { .wx-dash { animation: none; } }
.wx-plan { text-align: center; }
.wx-plan { padding: 22px 18px 20px; border-radius: 20px; background: linear-gradient(140deg, rgba(96, 191, 241, .26), rgba(96, 191, 241, .08)); border: 1px solid rgba(96, 191, 241, .6); }
.wx-plan-k { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.wx-plan h3 { margin: 0 0 14px; font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--white); }
.wx-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.wx-chips li { padding: 7px 13px; border-radius: 999px; font-size: 14px; color: var(--white); background: rgba(13, 27, 38, .55); border: 1px solid rgba(255, 255, 255, .2); }
@media (max-width: 560px) { .wx-src strong { font-size: 19px; } .wx-src { padding: 16px 10px; } .wx-plan h3 { font-size: 23px; } .wx-chips li { font-size: 13px; } }

/* Back to top (Jacob, 2026-10-13): appears after about one screen of scrolling and jumps straight
   to the top (no smooth scrolling on Jacob's sites). Sits under the header and phone menu (z 50). */
.to-top { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(169, 221, 247, 0.45); background: #0B2440; color: #fff; cursor: pointer; box-shadow: 0 12px 28px -12px rgba(4, 14, 28, 0.6); opacity: 0; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s, background 0.2s; }
.to-top[hidden] { display: none; }
.to-top.is-on { opacity: 1; transform: none; }
.to-top:hover, .to-top:focus-visible { background: #1A75AA; }
.to-top:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.to-top svg { width: 22px; height: 22px; }
.nav-open .to-top { display: none; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
