/* www.iqrp.com: matches the approved mockup (Client Portal Mockup › 0, 0b, 0c, 0e). Self-hosted fonts. */
@font-face { font-family: 'Jost'; font-weight: 300; font-display: swap; src: url(/fonts/jost-latin-300-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 400; font-display: swap; src: url(/fonts/jost-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 500; font-display: swap; src: url(/fonts/jost-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2'); }

:root { --navy: #14213D; --ink: #1D1D1F; --body: #2C2C2E; --muted: #48484A; --coral: #E8505B; --peach: #F6B27A;
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Jost', 'Avenir Next', Avenir, system-ui, sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--sans); font-weight: 300; -webkit-font-smoothing: antialiased; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #FFFFFF; color: var(--navy); padding: 10px 14px; border-radius: 8px; z-index: 9; }
.skip:focus { left: 16px; }

/* ---------- Homepage ---------- */
/* Homepage fills exactly one screen on phones: svh = the visible height with the browser bars showing (no empty scroll), and the page
   background matches the photo so a pull/bounce past the end never shows white. */
html:has(.home) { background: #2B2535; overscroll-behavior-y: none; } /* the dark of the photo's bottom edge, for the phone's pull-past-the-end stretch */
body:has(.home) { background: transparent; overscroll-behavior-y: none; }
/* Phones "bounce" past the end of a page (iPhone browsers can't turn that off). A fixed copy of the photo sits behind the page,
   so the bounce shows the sunset, not an empty band. */
body:has(.home)::before { content: ''; position: fixed; left: 0; right: 0; top: -40vh; bottom: -40vh; z-index: -1;
  background: #2B3A55 url(/img/home-palms.jpg) center 72% / cover no-repeat; }
.home { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; color: #FFFFFF; background: #2B3A55 url(/img/home-palms.jpg) center 72% / cover no-repeat; display: flex; flex-direction: column; }
.home .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,16,32,.55), rgba(10,16,32,.25) 60%, rgba(10,16,32,.15)); }
.login { position: absolute; top: 22px; right: 0; padding: 0 max(24px, 4vw) 8px 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 21px; color: #FFFFFF; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.8); min-width: 150px; z-index: 3; }
.login:hover, .lnk:hover { opacity: .75; }
.home header { position: relative; padding: 34px max(24px, 6vw) 0; }
.logo { height: 60px; max-width: 80vw; width: auto; filter: drop-shadow(0 1px 3px rgba(0,0,0,.3)); }
.hero { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 20px max(24px, 6vw) 150px; }
.hl { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 64px; line-height: 1.15; letter-spacing: -.3px; max-width: 1150px; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.hl .inc { font-style: italic; font-weight: 600; background: linear-gradient(100deg, #FFE1A8 0%, #F7B267 45%, #F28C28 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 2px 10px rgba(0,0,0,.45)); padding-right: .06em; }
.dash { display: inline-block; width: 30px; height: 2px; background: #FFFFFF; vertical-align: middle; margin: 0 12px 8px; }
.lede { margin: 40px 0 0; max-width: 760px; font-size: 21px; line-height: 1.6; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.lnk { color: #FFFFFF; text-decoration: none; display: inline-flex; align-items: center; gap: 18px; }
.lnk .ln { display: block; height: 1px; background: #FFFFFF; }
.cta { position: absolute; right: max(24px, 6vw); bottom: 64px; font-size: 24px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.cta .ln { width: 80px; }
.home-foot { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 14px max(24px, 6vw) 16px; font-size: 13px; color: rgba(255,255,255,.9); background: linear-gradient(0deg, #2B2535 0%, rgba(43,37,53,.55) 45%, rgba(43,37,53,0) 100%); }
.home-foot a { color: rgba(255,255,255,.9); }
.home-foot .foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.fine { flex-basis: 100%; font-size: 11.5px; color: rgba(255,255,255,.7); line-height: 1.5; }
/* Opening sequence: headline in (done by ~1.3 s) → "income" glows once → the lede fades in about a second after the glow. */
@media (prefers-reduced-motion: no-preference) {
  .hl { animation: rise 1.1s ease .2s both; }
  .hl .inc { animation: glow 1.4s ease-in-out 1.4s both; }
  .lede { animation: rise 1s ease 3.6s both; }
  .cta { animation: rise 1s ease 4.6s both; }
  .inner .lg { animation: rise .8s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes glow {
    0%, 100% { filter: drop-shadow(0 2px 10px rgba(0,0,0,.45)); }
    45% { filter: drop-shadow(0 0 16px rgba(255,206,130,.95)) drop-shadow(0 0 34px rgba(242,140,40,.75)); }
  }
}

/* ---------- Inner pages (styled after the reference site's contact page) ---------- */
html:has(body.inner) { background: #3E4149; } /* inner pages: same tone as the page, for the stretch past the end */
body.inner { background: #4A4E57 url(/img/home-palms.jpg) center top / cover fixed no-repeat; color: #FFFFFF; }
body.inner::before { content: ''; position: fixed; inset: 0; background: linear-gradient(180deg, rgba(58,62,72,.90), rgba(66,68,76,.94)); z-index: -1; }
body.inner { position: relative; z-index: 0; }
.ih { position: relative; padding: 0 max(24px, 6vw); }
.ih .login { top: 18px; }
.ih-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-top: 64px; }
.ih-nav { display: flex; flex-wrap: wrap; gap: 6px 34px; }
.ih-nav a { color: #FFFFFF; text-decoration: none; font-size: 22px; font-weight: 300; padding-bottom: 10px; border-bottom: 2px solid transparent; }
.ih-nav a[aria-current] { border-bottom-color: rgba(255,255,255,.55); }
.ih-nav a:hover { opacity: .75; }
.ih-logo img { height: 46px; width: auto; display: block; }
.ih-rule { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 40px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.45); }
.ttl { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 46px; line-height: 1.15; color: #FFFFFF; }
.ih-right { font-size: 21px; font-weight: 300; color: rgba(255,255,255,.88); }
.lg { max-width: 940px; padding: 48px max(24px, 6vw) 96px; }
.lg h2 { font-weight: 500; font-size: 20px; margin: 40px 0 10px; color: #FFFFFF; }
.lg h2.big { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 34px; margin-top: 64px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.25); }
.lg p, .lg li { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.88); margin: 0 0 16px; }
.lg b, .lg strong { color: #FFFFFF; font-weight: 500; }
.lg ul { margin: 0 0 16px; padding-left: 22px; }
.lg a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.lg .sm p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.7); }
.lg .meta { font-size: 15px; color: rgba(255,255,255,.7); margin-top: -6px; }
.lg .updated { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 40px; }
.lg .lead { font-size: 22px; line-height: 1.5; color: #FFFFFF; }
.ask { background: linear-gradient(180deg, #F28C28 0%, #E8505B 55%, #7AA0D1 100%) left top / 3px 100% no-repeat, rgba(255,255,255,.07); border-radius: 6px; padding: 14px 18px 14px 22px; margin: 8px 0 24px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.88); }
.ask b { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: .8px; color: #FFFFFF; margin-bottom: 4px; }
.pdfs { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 24px; }
.pdf { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 400; text-decoration: none !important; color: #FFFFFF !important; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 9px 16px; }
.pdf:hover { background: rgba(255,255,255,.1); }
.toc { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; margin-bottom: 8px; }
.foot { background: #1E1E20; color: rgba(255,255,255,.8); padding: 40px max(24px, 6vw); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: 14px; }
.foot .foot-links { display: flex; flex-wrap: wrap; gap: 26px; font-size: 16px; }
.foot a { color: rgba(255,255,255,.85); text-decoration: none; } .foot a[aria-current] { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }

/* Contact form: underline-only fields, like the reference site */
.cf { display: flex; flex-direction: column; gap: 34px; max-width: 900px; margin: 36px 0 8px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 60px; }
.cf label { font-size: 19px; font-weight: 500; display: flex; flex-direction: column; gap: 6px; color: #FFFFFF; }
.cf input, .cf textarea { font: inherit; font-size: 19px; font-weight: 300; color: #FFFFFF; background: transparent; padding: 12px 2px; border: 0; border-bottom: 2px solid rgba(255,255,255,.9); border-radius: 0; }
.cf textarea { min-height: 220px; resize: vertical; }
.cf input:focus, .cf textarea:focus { outline: none; border-bottom-color: var(--peach); }
.cf .hp { position: absolute; left: -9999px; }
.cf button { align-self: flex-start; font: inherit; font-size: 19px; font-weight: 400; color: #FFFFFF; background: transparent; border: 1px solid rgba(255,255,255,.85); border-radius: 999px; padding: 13px 34px; cursor: pointer; }
.cf button:hover { background: rgba(255,255,255,.1); }
.cf button:disabled { opacity: .6; cursor: default; }
.note { font-size: 15px !important; color: rgba(255,255,255,.7) !important; margin: 0 !important; }
.sent { background: rgba(255,255,255,.08); border-left: 3px solid var(--peach); border-radius: 6px; padding: 18px 20px; margin: 24px 0; font-size: 18px; }
.err { background: rgba(253,236,234,.95); color: #B42318; border-radius: 6px; padding: 12px 16px; font-size: 16px; }

@media (max-width: 760px) {
  .hl { font-size: 40px; } .dash { width: 26px; } .lede { font-size: 18px; } .lede br { display: none; }
  .ttl { font-size: 34px; } .ih-top { padding-top: 56px; flex-direction: column-reverse; gap: 24px; } .ih-nav { gap: 6px 20px; } .ih-nav a { font-size: 18px; } .ih-rule { margin-top: 28px; } .ih-right { font-size: 17px; } .cf-row { grid-template-columns: 1fr; }
  .hero { padding-bottom: 36px; }
  .home header { padding-top: 64px; }
  .cta { position: static; margin-top: 36px; font-size: 21px; } .cta .ln { width: 56px; }
  .home .shade { background: linear-gradient(180deg, rgba(10,16,32,.62) 0%, rgba(10,16,32,.42) 55%, rgba(10,16,32,.30) 100%); }
  .hl, .lede { text-shadow: 0 1px 14px rgba(0,0,0,.55); }
  .lg { padding-top: 40px; } .lg p, .lg li { font-size: 17px; }
  .login { font-size: 19px; min-width: 0; }
}
.lg h2.big.first { border-top: 0; padding-top: 0; margin-top: 24px; }

/* Disclosures: current documents list (title · date · link) */
.lg .doclist { list-style: none; padding: 0; margin: 8px 0 28px; border-top: 1px solid rgba(255,255,255,.25); }
.lg .doclist li { margin: 0; padding-left: 0; display: grid; grid-template-columns: 1fr auto auto; gap: 6px 18px; align-items: center; padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.25); font-size: 16px; }
.lg .doclist .dl-d { font-size: 14px; color: rgba(255,255,255,.7); white-space: nowrap; }
.lg .doclist .dl-a { font-size: 14px; color: #FFFFFF !important; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 5px 14px; text-decoration: none !important; }
.lg .doclist .dl-a:hover { background: rgba(255,255,255,.1); }
@media (max-width: 600px) { .lg .doclist li { grid-template-columns: 1fr auto; } .lg .doclist .dl-t { grid-column: 1 / -1; } }
