/* S-BHK's editorial banking system. The mark remains a red square and white circle. */
:root {
  --bhk-navy: #142f3d;
  --bhk-ink: #1b3039;
  --bhk-red: #cf142b;
  --bhk-cream: #f7f5f0;
  --bhk-line: #dbe1e0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--bhk-ink);
  background: #fff;
}

html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", Arial, sans-serif; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible {
  outline: 3px solid #23788b;
  outline-offset: 3px;
}
.topbar { background: var(--bhk-navy); }
.topbar-inner { max-width: 1328px; height: 38px; padding: 0 24px; }
.audiences .selected { height: 38px; font-size: 11px; letter-spacing: .075em; text-transform: uppercase; }
.audiences .utility-divider { display: inline-block; width: 1px; height: 12px; margin: 0 10px; padding: 0; border: 0; background: #b9c9cd; vertical-align: -2px; }
.login-link { height: 38px; padding: 0 23px; background: var(--bhk-red); letter-spacing: .025em; }
.site-header { border-bottom: 1px solid #e7e9e6; }
.header-inner { max-width: 1328px; min-height: 86px; padding: 16px 24px; gap: 50px; }
.brand { gap: 13px; }
.brand strong { font-family: "Segoe UI", Arial, sans-serif; font-size: 25px; font-weight: 760; letter-spacing: -.055em; color: var(--bhk-ink); }
.brand-symbol { width: 43px; height: 43px; box-shadow: 0 0 0 1px #cf142b12; }
.brand-symbol:after { inset: 11px; }
.primary-nav { gap: clamp(20px, 2.7vw, 42px); }
.primary-nav a { font-size: 13px; letter-spacing: .01em; color: #33434a; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--bhk-red); }
.primary-nav strong { font-size: 14px; font-weight: 650; }

.hero { max-width: none; padding: 0; }
.hero-image { height: clamp(490px, 39vw, 590px); background: var(--bhk-navy); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #102533bb 0%, #10253355 42%, #10253300 70%); }
.hero-message { position: relative; z-index: 1; top: auto; bottom: auto; left: auto; width: min(100%, 1328px); height: 100%; margin: 0 auto; padding: 48px 24px 58px; background: transparent; color: #fff; align-items: flex-start; }
.hero-message .eyebrow { color: #d9e3df; margin-bottom: 21px; font-size: 11px; letter-spacing: .19em; }
.hero-message h1 { max-width: 620px; margin-bottom: 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 4.7vw, 75px); font-weight: 400; line-height: 1.04; letter-spacing: -.043em; text-wrap: balance; }
.hero-message>p:not(.eyebrow) { max-width: 425px; margin: 0 0 30px; font-size: 16px; line-height: 1.65; color: #f0f4f3; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; }
.red-button { padding: 15px 20px; min-width: 217px; background: var(--bhk-red); font-weight: 650; letter-spacing: .01em; transition: background .2s ease, transform .2s ease; }
.red-button:hover { background: #a60e23; transform: translateY(-2px); }
.hero-secondary { color: #fff; font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; }
.hero-secondary span { margin-left: 8px; }
.hero-caption { position: absolute; z-index: 1; right: max(24px, calc((100vw - 1280px) / 2)); bottom: 25px; display: flex; gap: 27px; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-shadow: 0 1px 8px #0008; }
.hero-caption span { border-left: 1px solid #ffffff80; padding-left: 27px; }

.hero-news { max-width: 1280px; height: auto; margin: 0 auto; padding: 34px 24px 31px; display: grid; grid-template-columns: minmax(190px, .8fr) repeat(2, minmax(0, 1fr)); gap: 14px; background: #fff; color: var(--bhk-ink); }
.news-heading { padding: 18px 28px 12px 0; }
.news-label { color: var(--bhk-red); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.news-heading p:last-child { margin: 12px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 23px; line-height: 1.18; }
.news-item { min-height: 138px; padding: 20px 23px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; background: var(--bhk-cream); border: 1px solid #ece9e1; transition: border-color .2s ease, transform .2s ease; }
.news-item:hover { border-color: #b6c4c8; transform: translateY(-2px); }
.news-item .news-type { display: block; margin-bottom: 10px; color: #637178; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.news-item strong { margin: 0 0 6px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(19px, 1.55vw, 24px); font-weight: 400; line-height: 1.16; }
.news-item small:not(.news-type) { font-size: 12px; line-height: 1.4; color: #546269; }
.news-item>b { align-self: flex-start; color: var(--bhk-red); font-size: 22px; font-weight: 400; }

.quick-links { max-width: 1280px; margin: 0 auto; padding: 0 24px 26px; border-bottom: 0; gap: 1px; }
.quick-links a { padding: 19px 21px; background: #f2f6f6; border: 0; transition: background .2s ease; }
.quick-links a:hover { background: #e9f0ef; }
.quick-links span { color: var(--bhk-red); }
.quick-links strong { font-size: 16px; font-weight: 680; }
.quick-links small { color: #5b6a70; }
.quick-links b { color: var(--bhk-red); }

.help-section { max-width: 1280px; padding: 73px 24px 94px; }
.section-heading { max-width: 720px; margin: 0 0 32px; text-align: left; }
.section-heading .eyebrow { margin-bottom: 13px; }
.section-heading h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 3.1vw, 48px); font-weight: 400; line-height: 1.14; letter-spacing: -.03em; }
.section-heading>p:last-child { color: #5a686e; }
.help-feature { min-height: 405px; grid-template-columns: 1.08fr .92fr; background: var(--bhk-cream); }
.help-visual { position: relative; min-height: 405px; overflow: hidden; }
.help-visual img { width: 100%; height: 100%; min-height: 405px; object-fit: cover; object-position: center; display: block; }
.image-caption { position: absolute; left: 25px; bottom: 23px; padding: 10px 13px; background: #fffdf5ed; color: var(--bhk-ink); font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.help-copy { padding: clamp(35px, 4.5vw, 72px); }
.help-copy h3 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(35px, 3vw, 48px); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; }
.help-copy>p:not(.eyebrow) { color: #4f5c61; line-height: 1.7; }
.text-link { text-decoration: underline; text-underline-offset: 5px; }
.service-grid { gap: 14px; margin-top: 18px; }
.service-card { position: relative; min-height: 228px; padding: 28px 29px; display: flex; flex-direction: column; border: 1px solid var(--bhk-line); border-top: 3px solid var(--bhk-red); background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.service-card:hover { box-shadow: 0 14px 28px #142f3d18; transform: translateY(-3px); }
.service-number { color: var(--bhk-red); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.service-card h3 { max-width: 270px; margin: 20px 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 400; line-height: 1.18; }
.service-card p { max-width: 280px; margin: 0; color: #627077; font-size: 13px; line-height: 1.5; }
.service-arrow { position: absolute; right: 23px; top: 23px; color: var(--bhk-red); font-size: 22px; }

.prefooter { background: #e9eeed; }
.prefooter a { min-height: 116px; border-color: #c6d1d0; }
.prefooter strong { font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.prefooter a:hover strong { color: var(--bhk-red); }
.footer { background: var(--bhk-navy); }

.content-page { max-width: 880px; padding-top: 72px; }
.content-page h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.content-page .lead { color: #455c65; }
.notice { background: var(--bhk-cream); }

.sign-in-page { min-height: calc(100vh - 165px); padding: 70px 24px; background: #f0f3f1; }
.sign-in-shell { max-width: 1110px; min-height: 505px; grid-template-columns: 1fr 440px; box-shadow: 0 22px 55px #142f3d1c; }
.sign-in-intro { position: relative; padding: 65px; background: linear-gradient(90deg, #142f3de3, #142f3d8c), url('/static/planning-editorial.png') center / cover; }
.sign-in-intro .eyebrow { color: #e8f0ec; }
.sign-in-intro h1 { max-width: 400px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 3.5vw, 55px); font-weight: 400; }
.sign-in-intro p:last-child { max-width: 380px; }
.sign-in-form { padding: 54px 45px; }
.sign-in-form h2 { font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 400; }
.sign-in-form input { border-color: #aab6b8; background: #fcfdfc; }
.sign-in-form input:focus { border-color: #23788b; }
.sign-in-form .hint { padding: 12px 14px; background: var(--bhk-cream); }

.bhk-app { font-family: "Segoe UI", Arial, sans-serif; background: #f3f6f5; }
.bhk-app aside { background: var(--bhk-navy); }
.bhk-app aside nav button.active, .bhk-app aside nav button:hover { background: var(--bhk-red); }
.bhk-app .workspace header h2, .bhk-app .section-title h3, .bhk-app .panel h3 { font-family: Georgia, "Times New Roman", serif; }
.bhk-app .balance-hero { background: linear-gradient(115deg, #142f3d, #284d57); border-top: 4px solid var(--bhk-red); }
.bhk-app .panel, .bhk-app .account-card { box-shadow: 0 7px 22px #142f3d0c; }
.bhk-app .account-card { border-top-color: var(--bhk-red); }
.bhk-app .primary { background: var(--bhk-red); }
@media (max-width: 900px) {
  .bhk-app aside .profile button { display: block; color: #fff; font-size: 20px; }
}
@media (max-width: 620px) {
  .bhk-app aside > .profile { position: fixed; z-index: 6; top: 18px; right: 95px; display: flex; width: 38px; height: 38px; margin: 0; padding: 0; border: 0; background: transparent; }
  .bhk-app aside > .profile .avatar, .bhk-app aside > .profile div { display: none; }
  .bhk-app aside .profile button { width: 38px; height: 38px; margin: 0; border: 1px solid #aab9bd; background: #fff; color: var(--bhk-navy); }
}

@media (max-width: 1050px) {
  .header-inner { gap: 25px; }
  .primary-nav { gap: 18px; }
  .hero-message { padding-left: 45px; }
  .hero-message h1 { font-size: clamp(45px, 5.3vw, 62px); }
  .hero-news { grid-template-columns: 1fr 1fr; }
  .news-heading { grid-column: 1 / -1; padding: 0 0 3px; }
  .news-heading p:last-child { margin-top: 4px; }
}
@media (max-width: 760px) {
  .topbar-inner { padding: 0 15px; }
  .header-inner { display: flex; flex-wrap: wrap; min-height: auto; padding: 14px 17px; }
  .brand { margin: 0; }
  .primary-nav { width: 100%; justify-content: space-between; gap: 9px; }
  .primary-nav a { padding: 4px 0; }
  .primary-nav strong { font-size: 12px; }
  .hero-image { height: 600px; }
  .hero-photo { object-position: 65% center; }
  .hero-shade { background: linear-gradient(90deg, #102533d9, #10253391 58%, #10253324); }
  .hero-message { width: 100%; padding: 50px 25px 100px; }
  .hero-message h1 { font-size: clamp(44px, 7.2vw, 60px); }
  .hero-caption { left: 25px; right: auto; bottom: 23px; }
  .hero-news { padding: 25px 17px; }
  .quick-links { padding: 0 17px 18px; grid-template-columns: repeat(3, 1fr); }
  .quick-links a { grid-template-columns: 1fr 17px; padding: 16px; }
  .quick-links span { grid-row: auto; grid-column: 1 / -1; margin-bottom: 8px; }
  .quick-links b { grid-row: 2 / 4; grid-column: 2; }
  .help-section { padding: 54px 17px 68px; }
  .help-feature { grid-template-columns: 1fr; }
  .help-visual, .help-visual img { min-height: 315px; height: 315px; }
  .help-copy { padding: 34px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { min-height: 250px; padding: 20px; }
  .service-card h3 { font-size: 21px; }
  .sign-in-shell { grid-template-columns: 1fr; }
  .sign-in-intro { min-height: 260px; padding: 35px; }
}
@media (max-width: 570px) {
  .audiences > .selected:last-child { display: flex; font-size: 9px; }
  .audiences .utility-divider:last-child { display: inline-block; }
  .language { display: none; }
  .login-link { min-width: auto; padding: 0 14px; }
  .header-inner { display: block; }
  .brand { margin-bottom: 17px; }
  .primary-nav { width: 100%; display: flex; justify-content: space-between; flex-wrap: nowrap; gap: 4px; }
  .primary-nav a { min-width: 0; padding: 3px 0; }
  .primary-nav strong { font-size: 11px; }
  .hero-image { height: 605px; }
  .hero-photo { object-position: 65% center; }
  .hero-shade { background: linear-gradient(180deg, #102533eb 0%, #102533bb 57%, #10253342 100%); }
  .hero-message { padding: 42px 21px 100px; justify-content: flex-start; }
  .hero-message h1 { font-size: clamp(41px, 10vw, 55px); }
  .hero-message>p:not(.eyebrow) { font-size: 14px; }
  .hero-actions { gap: 18px; }
  .hero-caption { left: 21px; font-size: 9px; }
  .hero-news { display: block; padding: 25px 17px; }
  .news-heading { padding: 0 0 6px; }
  .news-item { min-height: 125px; margin: 10px 0; border: 1px solid #ece9e1 !important; padding: 18px !important; }
  .quick-links { grid-template-columns: 1fr; }
  .quick-links a { display: grid; grid-template-columns: 32px 1fr 20px; padding: 14px; border-bottom: 1px solid #fff; }
  .quick-links span { grid-row: 1 / 3; grid-column: 1; margin: 0; }
  .quick-links b { grid-row: 1 / 3; grid-column: 3; }
  .section-heading h2 { font-size: 37px; }
  .help-visual, .help-visual img { min-height: 245px; height: 245px; }
  .help-copy { padding: 30px 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 185px; }
  .service-card h3 { max-width: none; margin-top: 13px; }
  .sign-in-page { padding: 20px 12px; }
  .sign-in-intro { min-height: 250px; padding: 28px; }
  .sign-in-form { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .red-button, .news-item, .service-card { transition: none; }
}
