:root {
  color-scheme: dark;
  --navy: #081622;
  --panel: #102230;
  --panel-deep: #0c1c29;
  --cream: #f6f0e5;
  --gold: #d4b780;
  --muted: #b4bec5;
  --line: #30414c;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { background: var(--navy); color: var(--cream); }
body { margin: 0; background: radial-gradient(ellipse at 10% 0%, #18324488, transparent 55%); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
button .icon { pointer-events: none; }
h1, h2, p { margin-top: 0; }
.icon { width: 21px; height: 21px; flex-shrink: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 16px; background: var(--cream); color: var(--navy); z-index: 20; }
.skip-link:focus { top: 12px; }
.topbar, .home-top { max-width: 1120px; margin: auto; min-height: 92px; padding: 20px 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.back { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; font-size: 13px; color: #d3d9dc; }
.back .icon { transform: rotate(180deg); width: 18px; }
.topnote { font-size: 11px; color: var(--muted); letter-spacing: .4px; display: inline-flex; align-items: center; min-height: 44px; }
.single { padding: 16px 36px 36px; }
.contact-card { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); max-width: 1048px; margin: auto; background: var(--panel); border: 1px solid #4d513f; border-radius: 6px; overflow: hidden; box-shadow: 0 32px 80px #0004; }
.profile-panel { min-width: 0; background: var(--panel-deep); border-right: 1px solid var(--line); }
.photo-wrap { background: #050a0e; }
.portrait { display: block; width: 100%; height: auto; object-fit: contain; }
.identity-panel { padding: 32px 36px 30px; }
.card-brand { color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: 2px; line-height: 1.7; margin: 0 0 23px; }
.identity { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.identity h1 { font-family: var(--serif); font-size: clamp(38px, 4.2vw, 52px); font-weight: 400; letter-spacing: -1.7px; line-height: 1.04; margin: 0 0 14px; }
.identity h1 span { color: var(--cream); }
.role { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 0; }
.brokerage-wordmark { color: var(--cream); font-size: 36px; font-weight: 700; letter-spacing: -2.8px; line-height: 1; }
.brokerage-wordmark span { display: block; font-size: 8px; letter-spacing: 3.2px; margin: 6px 0 0 4px; text-align: center; }
.brokerage { font-size: 12px; color: var(--muted); margin: 22px 0 19px; }
.tagline { font: italic 19px/1.6 var(--serif); color: #ded9ce; margin-bottom: 0; max-width: 320px; }
.service-area { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.6; color: var(--muted); margin: 20px 0 0; }
.service-area .icon { width: 15px; height: 15px; color: var(--gold); }
.card-body { min-width: 0; padding: 38px 36px 26px; }
.section-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.gold-rule { height: 1px; width: 25px; background: var(--gold); }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 2px; line-height: 1.7; color: var(--gold); margin: 0 0 16px; }
.section-heading .eyebrow { margin: 0; }
.save-button, .secondary-button { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; min-height: 56px; border: 1px solid var(--gold); border-radius: 4px; background: var(--gold); color: #13202a; font-size: 14px; font-weight: 650; padding: 16px 18px; transition: background .16s, border-color .16s; }
.save-button>span { flex: 1; text-align: left; }
.save-button>.icon:last-child:not(:first-child) { width: 18px; }
.save-button:hover { background: #e4cda2; border-color: #e4cda2; }
.secondary-button { background: transparent; color: var(--cream); border-color: #687165; margin-top: 12px; }
.secondary-button:hover { background: #ffffff09; }
.quick-actions { display: flex; gap: 8px; margin: 18px 0 27px; }
.quick-action { min-height: 68px; min-width: 44px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--gold); padding: 10px 2px; transition: background .16s, border-color .16s; }
.quick-action:hover { border-color: #807656; background: #d4b7800a; }
.quick-action span { font-size: 12px; line-height: 1.2; color: var(--cream); white-space: nowrap; }
.quick-action .icon { width: 19px; height: 19px; }
.details { border-top: 1px solid var(--line); }
.detail { display: flex; align-items: center; gap: 15px; padding: 19px 0; min-height: 83px; border-bottom: 1px solid var(--line); }
.detail-icon { width: 22px; flex-shrink: 0; display: grid; place-items: center; color: var(--gold); }
.detail-icon .icon { width: 18px; height: 18px; }
.detail-text { min-width: 0; flex: 1; }
.detail-text small { display: block; color: var(--muted); font-size: 10px; letter-spacing: 1.2px; line-height: 1.5; text-transform: uppercase; margin-bottom: 6px; }
.detail-text>span { display: block; color: var(--cream); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.detail>.icon { width: 16px; height: 16px; color: #9aabac; }
.detail:hover .detail-text>span { color: var(--gold); }
.services { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; }
.services span { color: var(--gold); font-size: 11px; line-height: 1.7; letter-spacing: .3px; }
.card-footer { font: italic 16px/1.6 var(--serif); color: #bec8cb; margin: 26px 0 0; }
.under-card { font-size: 11px; line-height: 1.6; color: var(--muted); letter-spacing: .3px; text-align: center; margin: 26px 0 0; }
.home-top { border-bottom: 1px solid var(--line); min-height: 100px; }
.home-mark { font: 28px var(--serif); min-width: 70px; min-height: 44px; display: flex; align-items: center; gap: 10px; }
.home-mark span { color: var(--gold); font-size: 17px; }
.brand-small { font-size: 9px; letter-spacing: 2px; color: var(--gold); }
.home { max-width: 1120px; margin: 0 auto; padding: 66px 36px 64px; }
.home-introduction { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; margin-bottom: 48px; }
.home h1 { font: 400 clamp(55px, 6.2vw, 80px)/.99 var(--serif); letter-spacing: -2.7px; margin: 0; }
.home h1 em { font-weight: 400; color: var(--gold); }
.home-intro { max-width: 310px; font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0 0 4px; }
.selection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.select-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #3b4a4a; border-radius: 4px; overflow: hidden; background: var(--panel); transition: border-color .2s, transform .2s; }
.select-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.select-photo { aspect-ratio: 2048/1638; background: #050a0e; display: grid; align-items: center; }
.select-photo .portrait { width: 100%; height: 100%; object-fit: contain; }
.select-info { padding: 28px 30px; }
.select-info .eyebrow { font-size: 9px; letter-spacing: 1.6px; margin-bottom: 13px; }
.select-info h2 { font: 400 36px/1.15 var(--serif); letter-spacing: -.8px; margin-bottom: 12px; }
.select-info>p:not(.eyebrow) { font-size: 12px; color: var(--muted); line-height: 1.7; margin-bottom: 25px; }
.view-card { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--gold); font-size: 13px; padding: 18px 0 0; }
.view-card .icon { width: 20px; }
.home-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1048px; margin: auto; border-top: 1px solid var(--line); padding: 26px 0 34px; color: #b4bec5; }
.home-footer>span:first-child { font: italic 17px/1.6 var(--serif); }
.footer-wordmark { font-size: 24px; font-weight: 650; color: var(--cream); letter-spacing: -1.5px; white-space: nowrap; }
.footer-wordmark small { font-size: 8px; letter-spacing: 2px; margin-left: 3px; }
dialog { background: var(--panel); color: var(--cream); border: 1px solid #786c4f; border-radius: 6px; width: calc(100% - 32px); max-width: 450px; max-height: calc(100dvh - 32px); overflow: auto; padding: 45px 28px 28px; box-shadow: 0 24px 100px #0008; }
dialog::backdrop { background: #02080fc9; backdrop-filter: blur(5px); }
dialog h2 { font: 400 30px/1.15 var(--serif); letter-spacing: -.7px; margin-bottom: 15px; }
dialog p { font-size: 14px; line-height: 1.6; color: var(--muted); }
dialog .eyebrow { color: var(--gold); font-size: 10px; }
.close { position: absolute; top: 9px; right: 9px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 3px; background: transparent; color: var(--gold); }
.close:hover { background: #ffffff0a; }
.close .icon { width: 20px; height: 20px; }
.contact-qr { display: block; width: 100%; height: auto; max-width: 330px; background: white; margin: 20px auto 24px; }
.link-label { display: block; color: var(--muted); font-size: 12px; margin: 24px 0 10px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { min-width: 0; flex: 1; min-height: 48px; border: 1px solid #52616b; border-radius: 3px; padding: 12px; color: var(--cream); background: var(--navy); font-size: 12px; }
.copy-row button { width: 48px; flex-shrink: 0; border: 1px solid #52616b; border-radius: 3px; background: transparent; color: var(--gold); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--cream); color: var(--navy); font-size: 13px; line-height: 1.5; padding: 14px 20px; border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 100; max-width: 90vw; text-align: center; }
.toast.visible { opacity: 1; }
@media (max-width: 800px) {
  .topbar { max-width: 550px; padding: 16px 24px; min-height: 76px; }
  .topnote { font-size: 9px; letter-spacing: 0; }
  .back { font-size: 12px; gap: 9px; }
  .single { padding: 0 16px 30px; }
  .contact-card { display: block; max-width: 500px; }
  .profile-panel { border-right: 0; }
  .identity-panel { padding: 28px 28px 26px; }
  .identity h1 { font-size: 44px; line-height: 1.02; }
  .card-brand { font-size: 9px; letter-spacing: 1.65px; margin-bottom: 20px; }
  .brokerage-wordmark { font-size: 34px; }
  .brokerage { margin-top: 19px; }
  .tagline { font-size: 18px; line-height: 1.5; max-width: 290px; }
  .service-area { margin-top: 17px; font-size: 11px; }
  .card-body { padding: 27px 28px 28px; border-top: 1px solid var(--line); }
  .section-heading { margin-bottom: 19px; }
  .quick-actions { margin: 16px 0 25px; gap: 7px; }
  .quick-action { min-height: 67px; }
  .detail { gap: 12px; min-height: 80px; padding: 17px 0; }
  .detail-text>span { font-size: 13px; }
  .detail>.icon { width: 14px; }
  .card-footer { font-size: 15px; }
  .home-top { padding: 18px 24px; min-height: 84px; }
  .home-top .brand-small { display: none; }
  .home { padding: 42px 24px 40px; }
  .home-introduction { display: block; margin-bottom: 32px; }
  .home h1 { font-size: 60px; letter-spacing: -2px; }
  .home-intro { max-width: 350px; font-size: 14px; margin-top: 24px; }
  .home .eyebrow { font-size: 9px; letter-spacing: 1.6px; }
  .selection-grid { gap: 22px; }
  .select-info { padding: 24px; }
  .select-info h2 { font-size: 30px; }
  .select-info .eyebrow { font-size: 8px; letter-spacing: 1.5px; }
  .home-footer { margin: 0 24px; padding-bottom: 28px; }
  .home-footer>span:first-child { font-size: 14px; }
}
@media (max-width: 600px) {
  .selection-grid { grid-template-columns: 1fr; }
  .home-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media (max-width: 374px) {
  .identity-panel { padding: 26px 24px; }
  .card-body { padding: 26px 24px; }
  .identity h1 { font-size: 42px; }
  .quick-actions { gap: 6px; }
  .quick-action span { font-size: 12px; }
  .home h1 { font-size: 55px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
