/*
Theme Name: Blue Peak Group
Theme URI: https://bpkgrp.com
Author: Blue Peak Group
Description: Custom investor-facing WordPress theme for Blue Peak Group and its Retail, Hospitality, and Real Estate divisions.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: blue-peak-group
*/

:root {
  --navy: #0b2a5b;
  --navy-dark: #031c44;
  --navy-2: #06295d;
  --ink: #10202d;
  --gold: #b67a19;
  --ivory: #f4f1ea;
  --paper: #fbfaf7;
  --line: rgba(16, 32, 45, 0.15);
  --muted: #60707c;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px; background: white; color: var(--navy); font-weight: 700; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.site-header { height: 82px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, 0.96); color: var(--navy); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(11, 42, 91, 0.16); backdrop-filter: blur(14px); }
.admin-bar .site-header { top: 32px; }
.brand { display: flex; align-items: center; }
.custom-logo-link { display: block; line-height: 0; }
.custom-logo { width: auto; max-width: 250px; max-height: 62px; }
.logo-lockup { display: flex; align-items: center; gap: 13px; }
.logo-lockup > img { display: block; width: 78px; height: 52px; object-fit: cover; }
.official-wordmark { display: flex; flex-direction: column; line-height: 1; }
.official-wordmark strong { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 400; letter-spacing: 0.08em; white-space: nowrap; }
.official-wordmark small { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: 0.5em; margin-top: 8px; }
.desktop-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.desktop-nav .menu { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; }
.desktop-nav .menu a { color: #243e65; transition: color 0.2s; }
.desktop-nav .menu a:hover, .desktop-nav .current-menu-item > a { color: var(--gold); }
.nav-contact { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(11, 42, 91, 0.35); padding: 10px 16px; font-weight: 700; }
.nav-contact:hover { color: var(--gold); border-color: var(--gold); }
.menu-toggle, .mobile-panel { display: none; }

.hero { min-height: calc(100vh - 82px); height: 780px; position: relative; background: var(--navy); color: white; overflow: hidden; }
.hero-image { position: absolute; inset: 0; background-image: url("assets/images/blue-peak-hero.png"); background-size: cover; background-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 16, 42, 0.98) 0%, rgba(5, 29, 69, 0.87) 42%, rgba(5, 29, 69, 0.18) 76%), linear-gradient(0deg, rgba(3, 16, 42, 0.58), transparent 45%); }
.hero-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 34px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.19em; font-weight: 700; font-size: 12px; color: #5d6b75; margin: 0 0 20px; }
.eyebrow.light { color: #d3ae6d; }
.hero h1, .page-hero h1, .split-heading h2, .opportunity-inner h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.1rem, 6.2vw, 6.4rem); line-height: 0.96; letter-spacing: -0.045em; font-weight: 400; margin: 0; }
.hero h1 em, .philosophy h2 em, .opportunity-inner h2 em, .page-hero h1 em { font-weight: 400; color: #d3a75f; }
.hero-copy { font-size: 18px; line-height: 1.7; color: #d3dde4; max-width: 650px; margin: 30px 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; border: 1px solid transparent; transition: 0.25s; }
.button.gold { background: var(--gold); color: white; }
.button.gold:hover { background: #c99335; }
.button.ghost { border-color: rgba(255, 255, 255, 0.4); color: white; }
.button.ghost:hover { background: white; color: var(--navy); }
.button.navy { background: var(--navy); color: white; }
.button.navy:hover { background: var(--navy-2); }
.hero-stats { position: absolute; bottom: 32px; right: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.28); width: min(610px, 52%); padding-top: 22px; }
.hero-stats div { padding: 0 22px; border-left: 1px solid rgba(255, 255, 255, 0.22); }
.hero-stats strong { display: block; font-family: Georgia, serif; font-weight: 400; color: #fff; font-size: 25px; }
.hero-stats span { font-size: 12px; color: #b9c6ce; letter-spacing: 0.04em; }

.section { padding: 118px 0; }
.intro-section { background: var(--paper); }
.split-heading { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 110px; align-items: end; }
.split-heading h2, .opportunity-inner h2 { font-size: clamp(2.8rem, 4.6vw, 5rem); color: var(--navy); }
.lead { font-size: 20px; line-height: 1.75; color: #536572; margin: 0; }
.division-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.division-card { min-height: 520px; padding: 48px clamp(28px, 4vw, 70px); display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); background: #fff; transition: 0.35s; }
.division-card:last-child { border-right: 0; }
.division-card:hover { background: var(--ivory); transform: translateY(-5px); }
.card-top { display: flex; justify-content: space-between; color: #8a969e; }
.line-icon { color: var(--gold); font-size: 29px; line-height: 1; }
.division-card h3 { font-family: Georgia, serif; font-size: 40px; line-height: 1.08; font-weight: 400; margin: 0 0 24px; }
.division-card p:not(.eyebrow) { color: #65747e; max-width: 350px; }
.text-link { display: flex; gap: 9px; align-items: center; font-size: 14px; font-weight: 700; color: var(--navy); }
.philosophy { background: var(--navy); color: white; position: relative; overflow: hidden; }
.philosophy::after { content: ""; position: absolute; right: -180px; top: -200px; width: 600px; height: 600px; border: 1px solid rgba(182, 122, 25, 0.18); transform: rotate(45deg); }
.philosophy .split-heading { position: relative; z-index: 1; }
.philosophy h2 { color: white; }
.muted-light { color: #acbac4 !important; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px; border-top: 1px solid rgba(255, 255, 255, 0.18); position: relative; z-index: 1; }
.pillar { padding: 35px 28px 0 0; border-right: 1px solid rgba(255, 255, 255, 0.16); min-height: 210px; }
.pillar + .pillar { padding-left: 28px; }
.pillar span { font-size: 12px; color: #d3a75f; }
.pillar h3 { font-family: Georgia, serif; font-size: 30px; font-weight: 400; margin: 24px 0 12px; }
.pillar p { color: #9fb0bc; font-size: 15px; line-height: 1.7; margin: 0; }
.opportunity-band { background: #c58c31; }
.opportunity-inner { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 100px; align-items: end; }
.opportunity-inner p { font-size: 18px; max-width: 430px; margin: 0 0 28px; }

.page-hero { background: var(--navy); color: white; padding: 120px 0 100px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -320px; border: 1px solid rgba(211, 167, 95, 0.3); transform: rotate(45deg); }
.page-hero h1 { font-size: clamp(3.4rem, 6vw, 6rem); max-width: 970px; }
.page-hero p:not(.eyebrow) { max-width: 650px; color: #bcc8d0; font-size: 19px; margin: 30px 0 0; }
.content-section { padding: 100px 0; }
.content-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 110px; }
.content-grid h2, .feature-section h2, .inquiry-grid h2 { font-family: Georgia, serif; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1.08; font-weight: 400; margin: 0; color: var(--navy); }
.prose { color: #52636f; font-size: 18px; line-height: 1.8; }
.prose p:first-child { margin-top: 0; }
.value-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 45px; }
.value-list div { padding: 24px 20px 24px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.value-list div:nth-child(even) { padding-left: 20px; }
.feature-section { background: var(--ivory); padding: 100px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 55px; }
.content-section > .feature-grid { margin-top: 0; }
.feature-card { padding: 34px; background: white; min-height: 230px; border-top: 3px solid var(--gold); }
.feature-card h3 { font-family: Georgia, serif; font-size: 28px; font-weight: 400; margin: 16px 0; }
.feature-card p { color: #61727d; }
.detail-list { margin: 35px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.detail-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: #53636e; }
.portfolio-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 55px; }
.portfolio-card { background: white; border: 1px solid var(--line); padding: 38px; min-height: 310px; display: flex; flex-direction: column; justify-content: space-between; }
.portfolio-card .sector { font-size: 11px; letter-spacing: 0.17em; text-transform: uppercase; color: #8c6d40; }
.portfolio-card h3 { font-family: Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.15; margin: 20px 0; }
.portfolio-card p { color: #687782; }
.portfolio-meta { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; color: #65747e; }
.quote-band { padding: 90px 0; background: var(--navy); color: white; }
.quote-band blockquote { font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 1.18; margin: 0; max-width: 1000px; }
.quote-band blockquote em { color: #d3a75f; }
.quote-button { margin-top: 40px; }
.community-copy { max-width: 760px; margin-top: 34px; }
.division-link-card { display: flex; flex-direction: column; color: inherit; }
.division-link-card .text-link { margin-top: auto; }
.division-stat { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.division-stat .line-icon { grid-row: 1 / 3; }
.division-stat strong { font-family: Georgia, serif; font-size: 32px; font-weight: 400; color: var(--navy); line-height: 1; }
.division-stat span:last-child { font-size: 13px; color: #6b7a84; }
.official-logo-section { padding: 62px 0; background: white; border-bottom: 1px solid var(--line); text-align: center; }
.official-logo-section img { display: block; width: min(390px, 86vw); margin: 0 auto; }

.inquiry-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 100px; }
.contact-list { list-style: none; padding: 0; margin: 40px 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cbd1d5; background: white; border-radius: 0; padding: 14px 15px; color: var(--ink); min-height: 52px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.helper { font-size: 12px; color: #71808a; margin: 0; }
.form-submit { margin-top: 7px; cursor: pointer; }
.form-message { grid-column: 1 / -1; padding: 15px 18px; margin-bottom: 22px; border-left: 4px solid; }
.form-message.success { border-color: #2f7a53; background: #eef8f2; color: #20573a; }
.form-message.error { border-color: #a63d40; background: #fff0f0; color: #7b292c; }

.site-footer { background: var(--navy-dark); color: #d4dce2; padding: 80px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1fr 1.2fr; gap: 120px; padding-bottom: 70px; }
.footer-brand { display: inline-flex; margin-bottom: 28px; }
.footer-logo { background: white; padding: 9px 14px 9px 9px; }
.footer-top > div > p { color: #8798a5; font-family: Georgia, serif; font-size: 24px; line-height: 1.45; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.footer-links div { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.footer-links span { color: #d3a75f; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 9px; }
.footer-links a:hover { color: #d3a75f; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 25px; display: flex; justify-content: space-between; color: #768997; font-size: 12px; }
.compact { align-items: start; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy); position: relative; }
  .menu-icon, .menu-icon::before, .menu-icon::after { position: absolute; width: 24px; height: 2px; background: currentColor; left: 10px; transition: 0.2s; }
  .menu-icon { top: 21px; }
  .menu-icon::before, .menu-icon::after { content: ""; left: 0; }
  .menu-icon::before { top: -7px; }
  .menu-icon::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }
  .mobile-panel { position: absolute; top: 82px; left: 0; right: 0; background: var(--navy); color: white; padding: 26px 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .mobile-panel[hidden] { display: none; }
  .mobile-panel:not([hidden]) { display: block; }
  .mobile-panel .menu { list-style: none; margin: 0; padding: 0; }
  .mobile-panel li, .mobile-panel > a { display: block; border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
  .mobile-panel a { display: block; padding: 12px 0; }
  .hero { height: 760px; }
  .hero-stats { width: 100%; left: 0; bottom: 28px; }
  .split-heading, .opportunity-inner, .content-grid, .inquiry-grid, .footer-top { grid-template-columns: 1fr; gap: 45px; }
  .division-grid { grid-template-columns: 1fr; }
  .division-card { min-height: 380px; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .pillar { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

@media (max-width: 620px) {
  .container { width: min(100% - 32px, 1180px); }
  .site-header { height: 72px; padding: 0 16px; }
  .mobile-panel { top: 72px; }
  .logo-lockup { gap: 8px; }
  .logo-lockup > img { width: 58px; height: 42px; }
  .official-wordmark strong { font-size: 16px; }
  .official-wordmark small { font-size: 8px; margin-top: 6px; }
  .hero { min-height: 720px; height: calc(100svh - 72px); }
  .hero h1 { font-size: clamp(2.7rem, 13.5vw, 4.2rem); }
  .hero-inner { justify-content: flex-start; padding-top: 86px; }
  .hero-copy { font-size: 16px; margin: 24px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { grid-template-columns: 1fr 1fr; width: calc(100% - 32px); left: 16px; right: 16px; }
  .hero-stats div { padding: 0 13px; }
  .hero-stats div:last-child { display: none; }
  .section, .content-section, .feature-section { padding: 76px 0; }
  .split-heading h2, .opportunity-inner h2 { font-size: 2.8rem; }
  .division-card { padding: 34px 24px; }
  .pillar-grid { grid-template-columns: 1fr; margin-top: 55px; }
  .pillar, .pillar + .pillar { min-height: auto; padding: 28px 0; }
  .portfolio-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .detail-list { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-links > div:last-child { grid-column: 1 / -1; }
  .footer-logo { padding: 7px 10px 7px 7px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .page-hero { padding: 85px 0 75px; }
  .page-hero h1 { font-size: 3.25rem; }
}
