/* Career Steps — Strategy Atlas + Executive Field Notebook */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&family=Caveat:wght@500;600&display=swap");

:root {
  --atlas-navy: #082f4d;
  --atlas-navy-2: #0c3b5d;
  --atlas-teal: #1f5b62;
  --atlas-mist: #dbe7ea;
  --atlas-ivory: #faf6ed;
  --atlas-paper: #fffdf7;
  --atlas-copper: #c47d46;
  --atlas-line: rgba(12, 59, 93, .17);
  --max: 78rem;
  --radius: .35rem;
}

body { background: linear-gradient(145deg,#e7eee8,#f4efe3); color: #263946; }
body > .site-header,
body > main,
body > .cta-band,
body > .site-footer {
  width: min(calc(100% - 32px), 1180px);
  margin-inline: auto;
}
body > main { background: var(--atlas-ivory); }
body > .site-header { margin-top:16px; border-radius:18px 18px 0 0; }
body > .site-footer { margin-bottom:16px; border-radius:0 0 18px 18px; overflow:hidden; }
.container { width: min(100% - 3rem, var(--max)); }
.site-header { position: sticky; background: rgba(250,246,237,.97); border-color: var(--atlas-line); }
.header-inner { min-height: 5.6rem; }
.brand { min-width: 15rem; }
.brand img { width: 13.6rem; height: 4.5rem; object-fit: contain; object-position: left center; }
.brand-name { display: none; }
.nav-list { gap: clamp(.7rem, 1.5vw, 1.6rem); }
.nav-list a { color: var(--atlas-navy); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--atlas-copper); border-color: var(--atlas-copper); }
.nav-list .nav-cta { border-radius: 0; background: var(--atlas-navy); padding: .78rem 1.15rem; color: white; }

h1, h2 { letter-spacing: -.035em; }
h1, h2, h3 { color: var(--atlas-navy); }
.eyebrow { color: var(--atlas-copper); letter-spacing: .18em; }
.button { border-radius: 0; background: var(--atlas-navy); border-color: var(--atlas-navy); text-transform: uppercase; letter-spacing: .07em; font-size: .8rem; }
.button:hover { background: var(--atlas-teal); border-color: var(--atlas-teal); }
.button-secondary { background: transparent; color: var(--atlas-navy); border-color: var(--atlas-navy); }

/* Cartographic hero */
.atlas-hero { position: relative; overflow: hidden; color: white; background: var(--atlas-navy); }
.atlas-hero::before, .page-hero::before, .section-ink::before {
  content: ""; position: absolute; inset: 0; opacity: .32; pointer-events: none;
  background-image: repeating-radial-gradient(ellipse at 78% 50%, transparent 0 35px, rgba(219,231,234,.14) 36px, transparent 38px 60px);
  transform: rotate(-6deg) scale(1.25);
}
.atlas-hero-grid { position: relative; min-height: 25rem; display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 2rem; }
.atlas-copy { z-index: 2; padding: 3.75rem 0; }
.atlas-copy h1 { max-width: 11ch; color: var(--atlas-ivory); font-size: clamp(2.15rem, 4.5vw, 3.55rem); }
.atlas-copy .lead { color: rgba(255,255,255,.78); }
.atlas-copy .button-secondary { color:var(--atlas-ivory); border-color:rgba(255,255,255,.58); }
.atlas-copy .button-secondary:hover { color:var(--atlas-navy); background:var(--atlas-ivory); border-color:var(--atlas-ivory); }
.atlas-copy .hero-subhead { color: var(--atlas-copper); font: 400 clamp(1.2rem,2vw,1.65rem)/1.3 "Libre Baskerville",serif; }
.atlas-map { position: relative; min-height: 23rem; }
.route { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.route-leg {
  --route-angle: -20deg;
  position: absolute;
  height: 3px;
  background: linear-gradient(90deg, rgba(196,125,70,.58), var(--atlas-copper));
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(196,125,70,.16);
  transform: rotate(var(--route-angle));
  transform-origin: left center;
}
.route-leg-1 { left: 5.5%; top: 72%; width: 29%; }
.route-leg-2 { left: 32.5%; top: 54%; width: 28%; }
.route-leg-3 { --route-angle: -28deg; left: 58.5%; top: 36.5%; width: 25%; }
.route-leg-3::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 22px;
  height: 18px;
  background: #df9155;
  clip-path: polygon(0 0, 100% 50%, 0 100%, 28% 50%);
  filter: drop-shadow(0 0 6px rgba(223,145,85,.42));
  transform: translateY(-50%);
}
.waypoint { position: absolute; z-index: 1; width: 10rem; color: var(--atlas-ivory); font-size: .78rem; }
.waypoint::before { content: ""; display: block; width: 1rem; height: 1rem; margin-bottom: .5rem; background: var(--atlas-navy); border: 3px solid var(--atlas-copper); outline: 1px solid var(--atlas-copper); outline-offset: 4px; border-radius: 50%; }
.waypoint strong { display: table; color: var(--atlas-copper); background:var(--atlas-navy); box-shadow:0 0 0 4px var(--atlas-navy); font-family: "Libre Baskerville",serif; font-size: .96rem; letter-spacing: .07em; text-transform: uppercase; }
.waypoint span { display:table; margin-top:.25rem; color: rgba(255,255,255,.7); background:var(--atlas-navy); box-shadow:0 0 0 4px var(--atlas-navy); }
.wp-1 { left: 4%; top: 69%; }.wp-2 { left: 31%; top: 52%; }.wp-3 { left: 57%; top: 35%; }.wp-4 { left: 79%; top: 14%; width: 8rem; }
.map-coordinates { position: absolute; inset: 1rem; border-left: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.36); font-size: .62rem; letter-spacing: .1em; }
.map-coordinates span { position: absolute; left: .5rem; bottom: .5rem; }

.atlas-services { background: var(--atlas-paper); border-bottom: 1px solid var(--atlas-line); }
.atlas-service-route { position: relative; display: grid; grid-template-columns: repeat(4,1fr); }
.atlas-service-route::before { content: ""; position: absolute; top: 1.75rem; left: 7%; right: 7%; height: 1px; background: var(--atlas-copper); }
.atlas-service { position: relative; padding: 3.2rem 1.5rem 2rem; text-align: center; }
.atlas-service::before { content: "✦"; position: absolute; top: 1rem; left: 50%; z-index: 2; display: grid; width: 1.5rem; height: 1.5rem; place-items:center; color: var(--atlas-copper); background: var(--atlas-paper); border: 1px solid var(--atlas-copper); border-radius: 50%; transform: translateX(-50%); }
.atlas-service + .atlas-service { border-left: 1px solid var(--atlas-line); }
.atlas-service h2 { font-size: 1.05rem; margin-bottom: .45rem; }
.atlas-service p { margin: 0; color: #667783; font-size: .86rem; }

.section { position: relative; padding-block: clamp(4rem,7vw,6rem); }
.section-soft { background: var(--atlas-mist); }
.section-ink { position: relative; overflow: hidden; background: var(--atlas-teal); }
.section-ink > * { position: relative; }
.card, .service-group, .trip-detail { border-radius: 0; box-shadow: none; border-color: var(--atlas-line); }
.card { border-top: 3px solid var(--atlas-copper); }
.card-number { border-radius: 50%; background: var(--atlas-navy); color: var(--atlas-copper); }
.service-group { background: rgba(255,255,255,.055); }
.work-feature { position: relative; overflow:hidden; border-radius: 0; background: var(--atlas-navy); }
.work-feature::after { content:"FIELD REPORT"; position:absolute; right:-1.4rem; top:2.2rem; padding:.35rem 2rem; color:var(--atlas-copper); border:1px solid var(--atlas-copper); transform:rotate(35deg); font-size:.65rem; letter-spacing:.18em; }
.process { position: relative; gap: 0; }
.process::before { content:""; position:absolute; left:5%; right:5%; top:0; height:2px; background:var(--atlas-copper); }
.process-step { padding: 2.3rem 1.3rem 0; border-top:0; }
.process-step::before { content:""; position:absolute; top:-.35rem; width:.8rem; height:.8rem; background:var(--atlas-ivory); border:2px solid var(--atlas-copper); border-radius:50%; }
.page-hero { position: relative; overflow:hidden; padding-block: clamp(3rem,6vw,4.5rem); color:white; background:var(--atlas-navy); }
.page-hero .container { position:relative; z-index:1; }
.page-hero h1 { color:var(--atlas-ivory); font-size:clamp(2.15rem,4.5vw,3.55rem); }
.page-hero .lead { color:rgba(255,255,255,.72); font-size:clamp(1rem,1.7vw,1.15rem); }
.page-hero::after { content:"N 33° 01'  W 96° 42'"; position:absolute; right:4%; bottom:1.5rem; color:rgba(255,255,255,.38); font-size:.68rem; letter-spacing:.16em; }
.quote-card,.contact-card { border-radius:0; border-left-color:var(--atlas-copper); background:var(--atlas-paper); }
.service-section { border-color:var(--atlas-line); }
.service-section h2::after { content:""; display:block; width:3rem; height:2px; margin-top:.8rem; background:var(--atlas-copper); }
.calendar-section { background:var(--atlas-mist); }
.calendar-shell { border-radius:0; }
.cta-band { background:var(--atlas-navy); border-top:2px solid var(--atlas-copper); }
.site-footer { background:#05263d; }
.footer-logo { width:12rem; border-radius:0; }

/* Executive Field Notebook — Insights */
.insights-page { background-color:#f7f0e3; background-image:linear-gradient(rgba(12,59,93,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(12,59,93,.045) 1px,transparent 1px); background-size:24px 24px; }
.insights-page .site-header { background:rgba(250,246,237,.97); }
.insights-page .page-hero { color:white; background:var(--atlas-navy); border-bottom:1px solid rgba(255,255,255,.14); }
.insights-page .page-hero::before { opacity:.16; background-image:linear-gradient(rgba(219,231,234,.25) 1px,transparent 1px),linear-gradient(90deg,rgba(219,231,234,.25) 1px,transparent 1px); background-size:32px 32px; transform:none; }
.insights-page .page-hero::after { content:"NOTES / OBSERVATIONS / OUTCOMES"; color:var(--atlas-copper); }
.insights-page .page-hero h1 { color:var(--atlas-ivory); }
.insights-page .page-hero .lead { color:rgba(255,255,255,.76); }
.insights-page .page-hero h1 {
  font-family:"Caveat",cursive;
  font-weight:600;
  line-height:.94;
  letter-spacing:-.025em;
}
.insights-page .page-hero h1::after { content:"built by rolling up our sleeves"; display:block; margin-top:1rem; color:var(--atlas-copper); font:600 1.45rem/1 "Caveat",cursive; letter-spacing:0; transform:rotate(-2deg); }
.insights-page main { position:relative; }
.insights-page main::after { display:none; }
.insights-page .case-study { position:relative; width:min(100% - 3rem,var(--max)); margin:2rem auto; padding:3rem; background:rgba(255,253,247,.96); border:1px solid rgba(12,59,93,.18); box-shadow:4px 6px 0 rgba(12,59,93,.07); }
.insights-page .case-study:nth-child(even) { transform:rotate(.15deg); }
.insights-page .case-study::before { content:"PROJECT BRIEF"; position:absolute; top:1.1rem; right:1.3rem; color:var(--atlas-copper); border:1px solid var(--atlas-copper); padding:.25rem .6rem; font-size:.62rem; letter-spacing:.14em; transform:rotate(2deg); }
.insights-page .case-study::after { content:"✓ clarity   ✓ action   ✓ measurable progress"; position:absolute; right:2rem; bottom:1rem; color:var(--atlas-copper); font:600 1.1rem "Caveat",cursive; transform:rotate(-1deg); }
.insights-page .case-header h2,
.insights-page .case-block h3 {
  font-family:"Caveat",cursive;
  font-weight:600;
  letter-spacing:0;
}
.insights-page .case-header h2 { font-size:clamp(2rem,4vw,3.2rem); line-height:1; }
.insights-page .case-block h3 { font-size:1.55rem; }
.insights-page .case-label,
.insights-page .case-study::before,
.insights-page .case-study .eyebrow {
  font-family:"Caveat",cursive;
  font-weight:600;
}
.insights-page .case-label { border:1px solid var(--atlas-copper); border-radius:0; color:var(--atlas-copper); background:transparent; font-size:1.05rem; line-height:1; letter-spacing:.03em; text-transform:none; }
.insights-page .case-study::before { font-size:.95rem; line-height:1; letter-spacing:.04em; }
.insights-page .case-study .eyebrow { font-size:1rem; letter-spacing:.05em; text-transform:none; }
.insights-page .case-study:nth-of-type(1) .case-label { transform:rotate(-1.5deg) translateY(2px); }
.insights-page .case-study:nth-of-type(2) .case-label { transform:rotate(1.8deg) translateX(7px); }
.insights-page .case-study:nth-of-type(3) .case-label { transform:rotate(-2.2deg) translate(-4px,3px); }
.insights-page .case-study:nth-of-type(4) .case-label { transform:rotate(1.2deg) translate(5px,-2px); }
.insights-page .case-block { position:relative; padding:1.3rem; border:1px solid var(--atlas-line); background:rgba(250,246,237,.65); }
.insights-page .case-block::before { content:""; position:absolute; top:-7px; left:50%; width:2.8rem; height:.8rem; background:rgba(196,125,70,.18); transform:rotate(-2deg); }
.insights-page .case-block h3::after { content:""; display:block; width:2rem; height:1px; margin-top:.5rem; background:var(--atlas-copper); }

@media (max-width: 68rem) {
  .brand img { width:11rem; }
  .nav-toggle { border-radius:0; border-color:var(--atlas-navy); }
  .site-nav { background:var(--atlas-ivory); }
  .atlas-hero-grid { grid-template-columns:1fr; }
  .atlas-copy { padding:3rem 0 0; }
  .atlas-map { min-height:20rem; }
  .route-leg-1 { --route-angle:-12deg; left:5%; top:72%; width:28%; }
  .route-leg-2 { --route-angle:-12deg; left:32%; top:54%; width:27%; }
  .route-leg-3 { --route-angle:-18deg; left:58%; top:37%; width:22%; }
  .atlas-service-route { grid-template-columns:repeat(2,1fr); }
  .atlas-service:nth-child(3) { border-left:0; }
  .atlas-service-route::before { display:none; }
  .atlas-service::before { top:.8rem; }
}
@media (max-width: 46rem) {
  body > .site-header,
  body > main,
  body > .cta-band,
  body > .site-footer { width:min(calc(100% - 18px),1180px); }
  body > .site-header { margin-top:9px; border-radius:14px 14px 0 0; }
  body > .site-footer { margin-bottom:9px; border-radius:0 0 14px 14px; }
  .container { width:min(100% - 1.5rem,var(--max)); }
  .header-inner { min-height:4.8rem; }
  .brand { min-width:0; }
  .brand img { width:9rem; height:3.7rem; }
  .atlas-copy h1 { font-size:clamp(2rem,10vw,2.75rem); }
  .atlas-map { min-height:22rem; }
  .page-hero { padding-block:2.6rem; }
  .page-hero h1 { font-size:clamp(2rem,10vw,2.75rem); }
  .waypoint { width:7.6rem; font-size:.7rem; }
  .route-leg-1 { --route-angle:-38deg; left:4.5%; top:75.5%; width:33%; }
  .route-leg-2 { --route-angle:-41deg; left:30%; top:58%; width:32%; }
  .route-leg-3 { --route-angle:-66deg; left:54%; top:40%; width:32%; }
  .wp-1{left:2%;top:73%}.wp-2{left:28%;top:56%}.wp-3{left:52%;top:38%}.wp-4{left:auto;right:0;top:15%;width:6.6rem}
  .atlas-service-route { grid-template-columns:1fr; }
  .atlas-service + .atlas-service { border-left:0; border-top:1px solid var(--atlas-line); }
  .atlas-service { text-align:left; padding-left:3.5rem; }
  .atlas-service::before { left:1.5rem; transform:none; }
  .insights-page .case-study { width:calc(100% - 1rem); padding:2.7rem 1rem 3rem; margin:1rem auto; transform:none!important; }
  .insights-page main::after { display:none; }
}
