/* DK Financial Network Atlas_A — approved institutional homepage redesign.
   Scope: global navigation/footer, and namespaced atlas-* homepage sections only.
   Preserve legacy page sections, disclosures, routes and form behavior. */
:root {
  --navy: #0e2b3d;
  --navy-2: #18394d;
  --navy-3: #244458;
  --ink: #1b2935;
  --muted: #51616c;
  --gold: #a97842;
  --gold-light: #e4cc98;
  --paper: #f6f2eb;
  --offwhite: #f9f6f0;
  --line: #d9d3ca;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --atlas-midnight: #0b2232;
  --atlas-ivory: #f6f2eb;
  --atlas-softwhite: #fffdf9;
  --atlas-brass: #a97842;
  --atlas-divider: #d9d3ca;
  --atlas-wrap: 1470px;
}
html { scroll-padding-top: 101px; }
body { background: var(--atlas-softwhite); font-family: var(--sans); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible { outline: 3px solid #a97842; outline-offset: 3px; }
.atlas-wrap { width: min(calc(100% - 9vw), var(--atlas-wrap)); margin-inline: auto; }

/* Firm's real logo and shared navigation: no duplicate logo text lockups. */
.atlas-topline {
  min-height: 36px; display: flex; align-items: center; justify-content: center;
  padding: 5px 14px; text-align: center; background: var(--navy); color: #fff;
  text-transform: uppercase; font-size: 10px; font-weight: 650;
  letter-spacing: .46em; line-height: 1.4;
}
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,253,249,.985); border-bottom: 1px solid rgba(16,37,54,.10);
  backdrop-filter: blur(15px); box-shadow: 0 2px 18px rgba(24,43,55,.035);
}
.site-header .header-inner { width: min(calc(100% - 9vw), var(--atlas-wrap)); height: 78px; gap: 30px; }
.site-header .brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0; }
.site-header .brand img { width: 205px; height: auto; max-height: 77px; object-fit: contain; display: block; }
.site-header .primary-nav { display: flex; align-items: center; gap: clamp(16px,2.6vw,47px); margin-left: auto; }
.site-header .primary-nav > a,
.site-header .primary-nav .nav-dropdown > summary {
  font: 600 clamp(17px,1.42vw,20px)/1.15 var(--serif);
  color: var(--atlas-midnight); letter-spacing: -.012em; text-transform: none; white-space: nowrap;
  transition: color .16s ease; cursor: pointer;
}
.site-header .primary-nav > a:hover,
.site-header .primary-nav > a[aria-current],
.site-header .primary-nav .nav-dropdown > summary:hover { color: #895b31; }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { list-style: none; display:flex; gap: 9px; align-items:center; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-chevron { width: 7px; height: 7px; display:inline-block; transform: rotate(45deg) translateY(-2px);
  border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; margin-left: 2px; }
.nav-dropdown[open] .nav-chevron { transform: rotate(225deg) translateY(-1px); }
.nav-dropdown-menu { display:none; position:absolute; top: calc(100% + 20px); left: -18px;
  min-width: 275px; z-index: 1110; padding: 9px;
  border:1px solid var(--atlas-divider); background: var(--atlas-softwhite);
  box-shadow: 0 20px 44px rgba(10,32,48,.17); border-radius:6px; }
.nav-dropdown[open] .nav-dropdown-menu { display: flex; flex-direction: column; }
.nav-dropdown-menu a { display:block; padding: 12px 13px; color: var(--atlas-midnight);
  font: 500 14px/1.45 var(--sans); white-space: nowrap; border-radius:3px; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { background: var(--atlas-ivory); color:#774f2b; }
.site-header .header-schedule { display:inline-flex; flex: 0 0 auto; align-items:center; justify-content:center;
  border:1.5px solid var(--atlas-brass); border-radius:5px; background:transparent;
  color: #77502b; font:600 clamp(16px,1.34vw,19px)/1.1 var(--serif);
  letter-spacing: -.015em; padding: 11px 23px; min-height: 44px; }
.site-header .header-schedule:hover { background: #f6eadd; color: #54391c; }
.site-header .primary-nav .mobile-contact { display:none; }

/* Hero: left ivory editorial panel + original illustration of a conceptual meeting room. */
.atlas-hero { position: relative; overflow: hidden; isolation:isolate;
  background: linear-gradient(115deg,#fcf9f4 0%,#f6f2eb 68%,#e6e3db 100%); }
.atlas-hero-media { position:absolute; inset:0 0 0 auto; width:57%; z-index:0; }
.atlas-hero-media picture, .atlas-hero-media img { display:block; width:100%; height:100%; }
.atlas-hero-media img { object-fit: cover; object-position: 51% 47%; }
.atlas-hero-media::before { content:''; position:absolute; inset:0; z-index:1;
  background: linear-gradient(90deg,#f6f2eb 0,rgba(246,242,235,.93) 3%,rgba(246,242,235,.40) 16%,transparent 27%); }
.atlas-hero-inner { position:relative; min-height: 404px; z-index:2; display:flex; align-items:center; }
.atlas-hero-copy { position:relative; width:47%; max-width:720px; padding:40px 20px 35px 23px; }
.atlas-hero-copy::before { position:absolute; content:''; left:0; top:42px; bottom:95px;
  width:2px; background:var(--atlas-brass); }
.atlas-eyebrow { margin:0; font-size: 11px; font-weight:750; line-height:1.4;
  letter-spacing:.26em; text-transform:uppercase; color:#8a572b; }
.atlas-hero-eyebrow { margin:0 0 14px; }
.atlas-hero h1 { margin:0 0 17px; color:var(--atlas-midnight);
  font: 600 clamp(49px,4.65vw,76px)/.91 var(--serif); letter-spacing:-.033em; max-width:680px; }
.atlas-hero-summary { max-width:590px; margin:0 0 21px; color: #20303c;
  font: 400 clamp(15px,1.1vw,18px)/1.44 var(--sans); }
.atlas-hero-actions { display:flex; flex-wrap:wrap; gap: clamp(16px,2.7vw,43px); align-items:center; margin-bottom:13px; }
.atlas-button { display:inline-flex; justify-content:center; align-items:center; text-align:center;
  min-height:44px; border-radius:5px; padding:10px 30px; border:1.5px solid transparent;
  font: 600 20px/1.08 var(--serif); white-space:nowrap; letter-spacing:-.01em; }
.atlas-button-primary { background:var(--navy); color:#fff; border-color:var(--navy); }
.atlas-button-primary:hover { background:var(--navy-2); color:#fff; }
.atlas-text-link { font:600 20px/1 var(--serif); color:var(--atlas-midnight); border-bottom:1px solid var(--atlas-brass);
  text-decoration:none; padding-bottom:5px; }
.atlas-text-link:hover { color:#87552a; }
.atlas-text-link span { font:13px/1 var(--sans); margin-left:4px; }
.atlas-hero-signoff { font:italic 600 18px/1.2 var(--serif); margin:0; color:#28303a; }

/* Expertise entry paths: the user-requested three divisions, not generic service tiles. */
.atlas-expertise { background:linear-gradient(180deg,#fffdf9,#f6f2eb);
  padding: 31px 0 29px; scroll-margin-top:100px; }
.atlas-section-heading { text-align:center; margin-bottom:20px; }
.atlas-divided-eyebrow { display:flex; flex-wrap:nowrap; justify-content:center; align-items:center;
  gap:26px; margin-bottom:11px; }
.atlas-divided-eyebrow::before, .atlas-divided-eyebrow::after { content:''; display:inline-block; height:1px;
  width:min(18vw,340px); background:#b89063; opacity:.85; }
.atlas-section-heading h2 { color:var(--atlas-midnight); margin:0;
  font: 600 clamp(39px,3.2vw,56px)/.98 var(--serif); letter-spacing:-.02em; }
.atlas-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.atlas-card { display:grid; grid-template-columns:37.5% minmax(0,1fr); overflow:hidden;
  min-height:185px; background:var(--atlas-softwhite); border:1px solid var(--atlas-divider);
  border-radius:8px; box-shadow:0 5px 16px rgba(31,40,46,.055); }
.atlas-card-img { position:relative; overflow:hidden; background: linear-gradient(130deg,#9eaa9b,#c9b28c);
  min-height:185px; }
.atlas-card-img img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.atlas-card-copy { min-width:0; padding:18px 16px 15px 23px; display:flex;
  flex-direction:column; align-items:flex-start; }
.atlas-line-icon { display:block; width:32px; height:32px; flex:none; margin:0 0 6px;
  fill:none; stroke:var(--atlas-brass); stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; }
.atlas-card h3 { color:#111b24; margin:0 0 6px; font: 600 clamp(23px,1.72vw,31px)/.99 var(--serif); letter-spacing:-.023em; }
.atlas-card p { margin:0 0 8px; color:#293540; font: 400 13px/1.38 var(--sans); }
.atlas-card-link { margin-top:auto; padding-bottom:2px; border-bottom:1px solid var(--atlas-brass);
  font: 650 14px/1.3 var(--sans); text-decoration:none; color:#76502f; }
.atlas-card-link span { margin-left:6px; font-size:16px; }
.atlas-card-link:hover { color:#382616; }

/* Process band, with original vector silhouettes and high-contrast copy. */
.atlas-approach { position:relative; isolation:isolate; overflow:hidden; background:
  linear-gradient(115deg,#103146,#17374d 55%,#0d2a3d); color:#fff; scroll-margin-top:100px; }
.atlas-approach::before { content:''; position:absolute; z-index:-1; pointer-events:none; inset:0;
  background: url('/assets/mountain-silhouette.svg') center bottom / 100% 75% no-repeat; opacity:.9; }
.atlas-approach-inner { display:grid; grid-template-columns:31% minmax(0,1fr); align-items:center;
  gap:4%; min-height:228px; padding:25px 0; }
.atlas-approach-heading { border-left:2px solid #d4a06c; padding:5px 0 5px 30px; }
.atlas-approach-heading h2 { color:#fff; margin:0; font:500 clamp(35px,2.7vw,45px)/.97 var(--serif); }
.atlas-approach-flow { display:flex; flex-direction:column; gap:22px; align-items:center; }
.atlas-process-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px;
  list-style:none; padding:0; margin:0; width:100%; }
.atlas-process-steps li { min-width:0; position:relative; }
.atlas-process-steps li:not(:last-child)::after { content:''; position:absolute; top:25px;
  left:calc(100% - 6px); width:26px; height:1px; background:rgba(249,245,233,.55); }
.atlas-process-steps .atlas-line-icon { width:34px; height:34px; margin:0 0 9px; stroke:#e4b277; }
.atlas-process-steps h3 { color:#fff; font:600 29px/1 var(--serif); margin:0 0 6px; }
.atlas-process-steps p { color:#e2ebef; margin:0; font:400 12.5px/1.45 var(--sans); }
.atlas-button-outline { border:1.5px solid #dba66b; color:#fff; background:rgba(8,31,44,.16); min-height:39px; padding:6px 30px; }
.atlas-button-outline:hover { background:rgba(255,255,255,.13); color:#fff; }

/* Global footer: real brand + exact legacy disclosure. */
.site-footer { background:var(--atlas-softwhite); color:var(--ink); padding:38px 0 0; }
.site-footer .footer-top { display:grid; grid-template-columns:1.45fr 1fr 1.12fr;
  gap:clamp(25px,5.5vw,80px); padding:0 0 29px; border-bottom:1px solid var(--atlas-divider); }
.site-footer .footer-brand .brand-footer { display:inline-flex; align-items:center; }
.site-footer .footer-brand .brand-footer img { width:220px; height:auto; }
.site-footer .footer-brand p { margin:10px 0 0; color:var(--slate); font:400 13px/1.5 var(--sans); max-width:350px; }
.site-footer .footer-top h3 { margin:7px 0 13px; font:600 23px/1 var(--serif); color:var(--atlas-midnight); }
.site-footer .footer-top a:not(.brand) { display:block; font:500 13px/1.75 var(--sans); color:#33414a; margin-bottom:3px; }
.site-footer .footer-top a:not(.brand):hover { text-decoration:underline; text-decoration-color:var(--atlas-brass); }
.site-footer .footer-top address { margin:10px 0 0; font:400 13px/1.5 var(--sans); color:var(--slate); }
.site-footer .disclosures { border-top:0; border-bottom:1px solid var(--atlas-divider); padding:24px 0 27px; }
.site-footer .disclosures h3 { font:600 22px/1 var(--serif); margin:0 0 12px; color:var(--atlas-midnight); }
.site-footer .disclosures p { font:400 12px/1.7 var(--sans); color:#59616a; margin:0 0 10px; }
.site-footer .disclosures a { color:#394959; text-decoration:underline; text-decoration-color:#b89063; }
.site-footer .footer-bottom { padding:18px 0 20px; color:var(--slate); font-size:12px; }
.site-footer .footer-bottom a { color:#80572d; }

/* Tablet / compact desktop */
@media(max-width:1240px) {
  .site-header .header-inner { gap:18px; }
  .site-header .brand img { width:180px; }
  .site-header .primary-nav { gap:clamp(10px,1.65vw,24px); }
  .site-header .primary-nav > a,.site-header .primary-nav .nav-dropdown > summary { font-size:18px; }
  .site-header .header-schedule { padding:10px 12px; }
  .atlas-hero-copy { width:52%; }
  .atlas-hero h1 { font-size:clamp(51px,5.5vw,67px); }
  .atlas-card { grid-template-columns:35% minmax(0,1fr); }
  .atlas-card-copy { padding:14px; }
  .atlas-card h3 { font-size:clamp(23px,2vw,28px); }
}
@media(max-width:1030px) {
  .site-header .header-inner { height:76px; }
  .site-header .menu-toggle { display:flex; margin-left:auto; flex-direction:column; align-items:center; justify-content:center;
    gap:5px; width:45px; height:44px; padding:10px; background:transparent; border:1px solid var(--atlas-brass); border-radius:5px; }
  .site-header .menu-toggle span { width:22px; height:2px; background:var(--navy); display:block; }
  .site-header .header-schedule { display:none; }
  .site-header .primary-nav { display:none; position:absolute; left:0; right:0; top:100%;
    background:var(--atlas-softwhite); border-bottom:1px solid var(--atlas-divider);
    padding:17px max(5vw,20px) 21px; box-shadow:0 15px 34px rgba(11,34,50,.16);
    max-height:calc(100dvh - 75px); overflow-y:auto; flex-direction:column; align-items:stretch; gap:0; margin:0; }
  .site-header .primary-nav.open { display:flex; }
  .site-header .primary-nav > a,.site-header .primary-nav .nav-dropdown > summary {font:600 22px/1.2 var(--serif);padding:12px 4px;display:flex;}
  .site-header .primary-nav .mobile-contact { display:flex; align-items:center; margin-top:6px; border:1px solid var(--atlas-brass); border-radius:5px; padding:12px 15px; }
  .nav-dropdown-menu { position:static; top:auto; left:auto; box-shadow:none; border:0;
    border-left:2px solid var(--atlas-brass); margin:0 0 6px 12px; padding:0 8px; min-width:0; }
  .nav-dropdown-menu a { padding:11px 14px; white-space:normal; }
  .atlas-hero-inner { min-height:405px; }
  .atlas-hero-media { width:53%; }
  .atlas-hero-copy { width:55%; }
  .atlas-hero h1 { font-size:clamp(45px,5.5vw,62px); }
  .atlas-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .atlas-card:last-child { grid-column:1/-1; }
  .atlas-approach-inner { grid-template-columns:1fr; gap:26px; padding:33px 0 31px; }
  .atlas-approach-heading { border-left:2px solid #d4a06c; }
  .atlas-approach-heading h2 { font-size:40px; }
  .atlas-approach-flow { align-items:stretch; }
  .atlas-approach-flow .atlas-button { align-self:center; }
}
@media(max-width:767px) {
  .atlas-wrap { width:calc(100% - 38px); }
  .atlas-topline { min-height:33px; font-size:8.5px; letter-spacing:.21em; }
  .site-header .header-inner { width:calc(100% - 38px); height:73px; }
  .site-header .brand img { width:154px; max-height:69px; }
  .atlas-hero-media { position:relative; inset:auto; width:100%; height:260px; }
  .atlas-hero-media::before { background:linear-gradient(180deg,rgba(246,242,235,.22),transparent 35%); }
  .atlas-hero-inner { min-height:0; display:block; }
  .atlas-hero-copy { width:100%; max-width:none; padding:38px 4px 32px 18px; }
  .atlas-hero-copy::before { left:0; top:40px; bottom:96px; }
  .atlas-hero { display:flex; flex-direction:column; }
  .atlas-hero-inner { order:0; }
  .atlas-hero-media { order:1; }
  .atlas-hero h1 { font-size:clamp(50px,10.3vw,68px); max-width:600px; }
  .atlas-hero-summary { font-size:16px; max-width:530px; }
  .atlas-hero-signoff { font-size:17px; }
  .atlas-expertise { padding:35px 0; }
  .atlas-section-heading h2 { font-size:clamp(37px,7vw,49px); }
  .atlas-divided-eyebrow { font-size:9px; letter-spacing:.17em; gap:9px; }
  .atlas-divided-eyebrow::before,.atlas-divided-eyebrow::after { width:12vw; }
  .atlas-cards { grid-template-columns:1fr; gap:15px; }
  .atlas-card:last-child { grid-column:auto; }
  .atlas-card { grid-template-columns:38% minmax(0,1fr); min-height:185px; }
  .atlas-card-img { min-height:185px; }
  .atlas-card-copy { padding:17px; }
  .atlas-card h3 { font-size:clamp(26px,5vw,31px); }
  .atlas-card p { font-size:14px; }
  .atlas-process-steps { grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px 24px; }
  .atlas-process-steps li::after { display:none; }
  .site-footer .footer-top { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 15px; }
  .site-footer .footer-brand { grid-column:1/-1; }
  .site-footer .footer-brand .brand-footer img { width:205px; }
  .site-footer .footer-bottom { gap:14px; }
}
@media(max-width:520px) {
  .atlas-hero-actions { align-items:flex-start; gap:17px; }
  .atlas-hero h1 { font-size:clamp(49px,11.4vw,60px); }
  .atlas-card { grid-template-columns:37% minmax(0,1fr); }
  .atlas-card h3 { font-size:27px; }
  .atlas-card-copy { padding:12px 12px 14px 16px; }
  .atlas-card p { font-size:13px; }
  .atlas-approach-heading { padding-left:18px; }
  .atlas-approach-heading h2 { font-size:clamp(35px,8.5vw,43px); }
  .atlas-process-steps { grid-template-columns:1fr 1fr; gap:21px 16px; }
  .atlas-process-steps h3 { font-size:27px; }
  .atlas-process-steps p { font-size:13px; }
  .atlas-card-img img { object-position: center; }
}
@media(max-width:380px) {
  .atlas-card { grid-template-columns:1fr; }
  .atlas-card-img { height:155px; min-height:155px; }
  .atlas-hero-actions { gap:15px; flex-direction:column; }
  .atlas-process-steps { grid-template-columns:1fr; }
  .atlas-approach-inner { gap:25px; }
  .atlas-hero h1 { font-size:50px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; }
}


/* Atlas legal footer links — Pages 10–11 */
.site-footer .atlas-legal-footer-links{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;margin:14px auto;padding:8px 24px}
.site-footer .atlas-legal-footer-links a{font:500 12px/1.5 var(--sans,Arial,sans-serif);color:#d1dce1;text-decoration:underline;text-underline-offset:3px}
.site-footer .atlas-legal-footer-links a:hover,.site-footer .atlas-legal-footer-links a:focus-visible{color:#e4cc98}

/* Contact forms: automatic email-only fallback until the secure mail provider is configured. */
.contact-email-only{background:#f8f5ee;border:1px solid #e8ded0;border-left:3px solid #b39867;padding:22px 24px;margin:18px 0 28px;color:#193747;line-height:1.65}
.contact-email-only strong{font-weight:600}.contact-email-only p{margin:7px 0 0}.contact-email-only a{color:inherit;text-decoration:underline;text-underline-offset:3px}
