/* sunwisecapital.com — Sunwise brand layer on top of site.css (shared FunderPrint design system). */

/* The blinking owl. Same timing as the original nav-logo.gif: eyes open ~4s, then a quick blink. */
.logo { position:relative; display:inline-block; line-height:0; }
.logo .blink, .owl .blink { position:absolute; left:0; top:0; opacity:0; animation:blink 4.3s steps(1,end) infinite; }
@keyframes blink { 0%, 93% { opacity:0; } 94%, 99% { opacity:1; } 100% { opacity:0; } }
@media (prefers-reduced-motion: reduce){ .logo .blink, .owl .blink { animation:none; } }

/* hero centre: the owl head in place of FunderPrint's mark */
.owl { position:absolute; left:50%; top:50%; width:190px; height:190px; transform:translate(-50%,-50%); z-index:2; border-radius:50%; background:#fff; display:grid; place-items:center; box-shadow:0 24px 60px rgba(0,45,86,.18), 0 0 0 12px rgba(232,167,19,.16); animation:owlBreathe 4.5s ease-in-out infinite; }
.owl > span { position:relative; display:block; width:68%; line-height:0; margin-top:6%; }
.owl img { width:100%; height:auto; }
@keyframes owlBreathe { 0%,100% { transform:translate(-50%,-50%) scale(1); } 50% { transform:translate(-50%,-50%) scale(1.035); } }
@media (max-width:1100px){ .owl { width:160px; height:160px; } }
@media (max-width:900px){ .owl { width:120px; height:120px; } }
@media (prefers-reduced-motion: reduce){ .owl { animation:none; } }

/* phones: keep every orbiting card on screen, and reveal by rising, not sliding in from the side */
@media (max-width:900px){ .rv.l, .rv.r { transform:translateY(36px); } .rv.l.in, .rv.r.in { transform:none; } }
@media (max-width:560px){
  .hero .orb, .a-hero .orb { --r:112px; --tw:96px; height:330px; }
  .owl { width:96px; height:96px; box-shadow:0 14px 34px rgba(0,45,86,.18), 0 0 0 8px rgba(232,167,19,.16); }
  .ripple { width:120px; height:120px; margin:-60px; }
}

/* program tiles in the orbit */
.pg.pr b.t { font-size:1.25em; }
.pg.pr p { margin:0; font-size:.95em; line-height:1.35; color:var(--ink-2); flex:1; }
.pg.pr .tag { align-self:flex-start; margin-top:.5em; }
.pg.pr.navy { background:var(--navy); } .pg.pr.navy b.t { color:var(--gold); } .pg.pr.navy p { color:rgba(255,255,255,.85); }

/* use-case ticker (words, not report pages) */
.uses { background:var(--cream); padding:20px 0 90px; overflow:hidden; }
.uses .row { display:flex; gap:14px; width:max-content; animation:slide 70s linear infinite; }
.uses:hover .row { animation-play-state:paused; }
.uses .row span { background:#fff; border-radius:99px; padding:14px 22px; font:700 16px var(--head); color:var(--navy); white-space:nowrap; box-shadow:0 6px 16px rgba(0,45,86,.07); }
.uses .row span::before { content:"→ "; color:var(--gold-ink); }
.uses .cap { text-align:center; font:700 12px var(--head); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); margin-top:22px; }
@media (prefers-reduced-motion: reduce){ .uses .row { animation:none; flex-wrap:wrap; width:auto; justify-content:center; padding:0 24px; } }

/* two versions of the file: what the owner believes vs what the lender sees */
.versions { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:40px; }
@media (max-width:800px){ .versions { grid-template-columns:1fr; } }
.version { border-radius:22px; padding:28px; }
.version small { display:block; font:800 12px var(--head); letter-spacing:.14em; text-transform:uppercase; margin-bottom:14px; }
.version ul { list-style:none; margin:0; padding:0; display:grid; gap:10px; font-size:16.5px; line-height:1.45; }
.version.owner { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16); }
.version.owner small { color:rgba(255,255,255,.6); }
.version.owner li::before { content:"“"; color:rgba(255,255,255,.45); font-weight:800; margin-right:4px; }
.version.lender { background:#fff; color:var(--ink); }
.version.lender small { color:var(--gold-ink); }
.version.lender li::before { content:"→ "; color:var(--gold-ink); font-weight:800; }
.version.lender b { color:var(--navy); }

/* product tiles link to the hubs */
a.tile { text-decoration:none; color:inherit; }
.tiles.four { grid-template-columns:repeat(4,1fr); }
@media (max-width:1100px){ .tiles.four { grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .tiles.four { grid-template-columns:1fr; } }
.tiles.four .tile { min-height:300px; }
.tile:nth-child(4) .ic { background:var(--gold-ink); }
.tile .go { margin-top:auto; padding-top:18px; font:800 15px var(--head); color:var(--navy); }
.tile .go::after { content:" →"; transition:margin .2s; }
.tile:hover .go::after { margin-left:6px; }

/* resource cards */
.res { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:40px; }
@media (max-width:900px){ .res { grid-template-columns:1fr; } }
.res a { background:#fff; border-radius:22px; padding:26px; text-decoration:none; color:var(--ink-2); line-height:1.55; transition:transform .25s, box-shadow .25s; display:flex; flex-direction:column; }
.res a:hover { transform:translateY(-5px); box-shadow:0 22px 44px rgba(0,45,86,.12); }
.res small { font:800 12px var(--head); letter-spacing:.14em; text-transform:uppercase; color:var(--gold-ink); margin-bottom:10px; }
.res b { font:800 21px/1.25 var(--head); color:var(--navy); margin-bottom:8px; }
.res .soon { opacity:.6; pointer-events:none; }

.tagline { font-family:Georgia,serif; font-style:italic; }

/* ── shared header: Menu (phones/tablets) ── */
header.top nav a.here { border-bottom:2px solid var(--gold); padding-bottom:3px; }
@media (max-width:1100px){ header.top nav > a.hide-md { display:none; } }
header.top { position:sticky; }
header.top nav { position:static; }
.menu { display:none; position:relative; }
.menu summary { list-style:none; cursor:pointer; display:flex; align-items:center; gap:8px; padding:10px 12px; border-radius:12px; border:2px solid var(--navy); color:var(--navy); font:800 14px var(--head); }
.menu summary::-webkit-details-marker { display:none; }
.menu .bars, .menu .bars::before, .menu .bars::after { display:block; width:18px; height:2px; background:var(--navy); border-radius:2px; position:relative; transition:transform .2s, opacity .2s; }
.menu .bars::before, .menu .bars::after { content:""; position:absolute; left:0; }
.menu .bars::before { top:-6px; } .menu .bars::after { top:6px; }
.menu[open] .bars { background:transparent; } .menu[open] .bars::before { transform:translateY(6px) rotate(45deg); } .menu[open] .bars::after { transform:translateY(-6px) rotate(-45deg); }
.menu-panel { position:absolute; right:0; top:calc(100% + 10px); width:min(560px, calc(100vw - 32px)); background:#fff; border-radius:20px; box-shadow:0 24px 60px rgba(0,45,86,.22); padding:22px; display:grid; grid-template-columns:1fr 1fr; gap:18px 24px; z-index:60; }
.menu-panel small { display:block; font:800 11px var(--head); letter-spacing:.14em; text-transform:uppercase; color:var(--gold-ink); margin-bottom:6px; }
header.top .menu-panel a:not(.btn) { display:block !important; padding:8px 0; color:var(--navy); text-decoration:none; font:700 15.5px var(--head); border-bottom:1px solid #EEF2F6; }
header.top .menu-panel a[aria-current="page"] { color:var(--gold-ink); }
.menu-cta { grid-column:1 / -1; display:flex; gap:10px; flex-wrap:wrap; }
.menu-cta .btn { flex:1; justify-content:center; padding:14px 16px !important; font-size:15px !important; }
.menu-cta .btn-line { color:var(--navy); }
@media (max-width:1100px){ .menu { display:block; } }
@media (max-width:760px){
  header.top nav > .btn { display:none; }
  .menu-panel { position:fixed; left:16px; right:16px; top:76px; width:auto; grid-template-columns:1fr; max-height:calc(100vh - 96px); overflow:auto; }
  .menu-cta { flex-direction:column; } .menu-cta .btn { flex:none; width:100%; }
}

/* ── shared footer ── */
footer.site { padding:56px 0 28px; }
footer.site .wrap { display:block; }
.foot-cols { display:grid; grid-template-columns:repeat(4,1fr); gap:28px; padding-bottom:30px; border-bottom:1px solid rgba(255,255,255,.14); }
@media (max-width:900px){ .foot-cols { grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .foot-cols { grid-template-columns:1fr; } }
.foot-cols b { display:block; font:800 12px var(--head); letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin-bottom:10px; }
.foot-cols a, .foot-cols span { display:block; padding:5px 0; color:rgba(255,255,255,.8); text-decoration:none; font-size:14.5px; line-height:1.45; }
.foot-cols a:hover { color:#fff; text-decoration:underline; text-decoration-color:var(--gold); }
.foot-base { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; padding-top:20px; font-size:13px; }
footer.site .disclaim { margin-top:14px; }

/* ── desktop Financing dropdown ── */
.drop { position:relative; }
.drop summary { list-style:none; cursor:pointer; color:var(--navy); font:700 15px var(--head); display:flex; align-items:center; gap:6px; }
.drop summary::-webkit-details-marker { display:none; }
.drop summary::after { content:""; width:7px; height:7px; border:solid var(--navy); border-width:0 2px 2px 0; transform:rotate(45deg) translateY(-2px); transition:transform .2s; }
.drop[open] summary::after { transform:rotate(-135deg) translateY(-1px); }
.drop summary.here { border-bottom:2px solid var(--gold); padding-bottom:3px; }
.drop-panel { position:absolute; left:-18px; top:calc(100% + 14px); min-width:260px; background:#fff; border-radius:16px; box-shadow:0 24px 60px rgba(0,45,86,.2); padding:10px; z-index:60; display:grid; }
header.top .drop-panel a { display:block; padding:10px 12px; border-radius:10px; color:var(--navy); text-decoration:none; font:700 15px var(--head); }
header.top .drop-panel a:hover { background:var(--cream); }
header.top .drop-panel a[aria-current="page"] { color:var(--gold-ink); }
@media (max-width:1100px){ .drop.hide-md { display:none; } }

/* six program tiles: 3 across, then 2, then 1 */
.tiles.six { grid-template-columns:repeat(3,1fr); }
@media (max-width:1000px){ .tiles.six { grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .tiles.six { grid-template-columns:1fr; } }
.tiles.six .tile { min-height:280px; }
.tile:nth-child(5) .ic { background:var(--navy-3); } .tile:nth-child(6) .ic { background:var(--teal); }

/* ── trust bar (every page, above the footer) ── */
.trust-bar { background:#fff; border-top:1px solid var(--line); padding:22px 0; }
.trust-bar .wrap { display:flex; align-items:center; justify-content:center; gap:14px 36px; flex-wrap:wrap; }
.trust-bar img { height:52px; width:auto; }
.trust-bar span, .trust-bar a { display:flex; flex-direction:column; align-items:center; font:600 13px var(--head); color:var(--ink-3); text-decoration:none; line-height:1.25; }
.trust-bar b { font:800 20px var(--head); color:var(--navy); }
.trust-bar a:hover b { color:var(--gold-ink); }
@media (max-width:640px){ .trust-bar .wrap { gap:16px 22px; } .trust-bar img { height:44px; flex-basis:100%; object-fit:contain; } }
/* footer: follow Mark */
.foot-social { display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding:22px 0 0; }
.foot-social span { font:800 12px var(--head); letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin-right:6px; }
.foot-social a { width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.08); transition:background .2s; }
.foot-social a:hover { background:var(--gold); }
.foot-social svg { width:18px; height:18px; fill:#fff; }
.foot-social a:hover svg { fill:var(--navy); }
/* Trustpilot widget on the homepage */
.tp-wrap { margin-top:28px; background:#fff; border-radius:18px; padding:18px; box-shadow:0 6px 20px rgba(0,45,86,.06); }

/* cookie notice (live domain only) */
.cookie-note { position:fixed; left:16px; right:16px; bottom:16px; z-index:80; max-width:560px; margin:0 auto; background:var(--navy); color:#fff; border-radius:16px; padding:14px 16px; display:flex; gap:14px; align-items:center; box-shadow:0 16px 40px rgba(0,0,0,.25); font-size:14px; }
.cookie-note p { margin:0; flex:1; line-height:1.45; } .cookie-note a { color:var(--gold); }
.cookie-note button { border:0; border-radius:10px; background:var(--gold); color:var(--navy); font:800 14px var(--head); padding:10px 18px; cursor:pointer; }

/* Real photos (site/assets/photos/). */
.photo { margin:0; }
.photo img { display:block; width:100%; height:auto; border-radius:24px; box-shadow:0 30px 60px rgba(0,0,0,.18); }
.photo figcaption { margin-top:12px; font:700 13px var(--head); color:var(--ink-3); }
.b-navy .photo figcaption, .b-teal .photo figcaption { color:rgba(255,255,255,.75); }
.photos { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:24px; margin:30px 0 8px; }
.photos .photo img { aspect-ratio:4/5; object-fit:cover; object-position:50% 25%; }
.meta .by { display:inline-flex; align-items:center; gap:8px; }
.meta .by img { width:26px; height:26px; border-radius:50%; object-fit:cover; }
@media (max-width:600px){ .photos .photo img { aspect-ratio:1/1; } }
/* Text links inside dark sections: gold, not browser blue. */
.b-navy p a:not(.btn), .b-teal p a:not(.btn), .b-navy li a, .b-teal li a { color:var(--gold); font-weight:700; text-decoration:underline; text-underline-offset:3px; }

/* Phone as plain text, never a second button (Mark, Nov 28: one CTA, but don't hide the number) */
header.top nav a.tel-top { font-weight:700; color:var(--navy); text-decoration:none; white-space:nowrap; }
header.top nav a.tel-top:hover { text-decoration:underline; }
.talk { margin:12px 0 0; font-size:15px; color:inherit; }
.talk a { color:inherit; font-weight:700; white-space:nowrap; }
.menu-cta .talk { flex-basis:100%; text-align:center; margin:4px 0 0; }
.ctas2 .talk { margin:0; }
