body[data-page=home]{background:#f3f5ef}
.compact-home{padding-top:44px;position:relative}
.compact-heading{max-width:none;position:relative;padding:0 0 28px;border-bottom:1px solid #cad8cc}
.compact-heading:after{content:'↘';position:absolute;right:12px;bottom:22px;font-size:100px;font-weight:300;color:#4b8263;line-height:1}
.compact-heading .eyebrow{display:flex;align-items:center;gap:10px;font-size:.68rem;letter-spacing:.16em}
.brand-dot{width:8px;height:8px;border-radius:50%;background:#4d956d;box-shadow:0 0 0 5px #4d956d16}
.compact-heading h1{font-weight:500;font-size:clamp(2.5rem,4.5vw,4.7rem);line-height:1.04;letter-spacing:-.055em;margin:22px 0 16px}
.compact-heading h1 em{font-style:normal;color:#538467}
.compact-heading p{font-size:1rem;margin-bottom:0;max-width:75%}
.quick-cards{gap:18px;margin-top:26px}
.quick-card{position:relative;overflow:hidden;border-radius:20px;padding:24px 26px;background:#153c32!important;color:#f2f7ef;box-shadow:0 12px 30px #17372c0a;transition:transform .3s,box-shadow .3s}
.quick-card:nth-child(2){background:#e0e8d9!important;color:#213e33}
.quick-card:nth-child(3){background:#ceddd2!important;color:#213e33}
.quick-card:hover{transform:translateY(-6px);box-shadow:0 18px 36px #17372c20}
.card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.card-top .eyebrow{font-size:.6rem;letter-spacing:.13em;margin:0;opacity:.8}
.card-arrow{width:34px;height:34px;display:grid;place-items:center;border:1px solid #89a68f66;border-radius:50%;font-size:1.2rem;transition:background .3s,transform .3s}
.quick-card:hover .card-arrow{background:#75a58240;transform:rotate(45deg)}
.card-art{height:174px;margin:12px -26px 6px;position:relative;background-image:radial-gradient(#8ca88d28 1px,transparent 1px);background-size:18px 18px}
.card-art svg{height:100%;width:100%;overflow:visible;transition:transform .6s}
.quick-card:hover svg{transform:scale(1.05)}
.diagram-base{stroke:#658477;stroke-width:3}
.diagram-active{stroke:#bde894;stroke-width:5;stroke-dasharray:350;animation:home-progress 4s ease-in-out 1 both}
.diagram-nodes{fill:#bde894;stroke:#153c32;stroke-width:3}
.terrain-lines{stroke:#6d8f72;stroke-width:1.2;opacity:.55}
.terrain-edge{stroke:#2c674a;stroke-width:3;stroke-linejoin:round}
.survey-rings{stroke:#527863;stroke-width:1;opacity:.55}
.survey-line{stroke:#487c5c;stroke-width:2;stroke-dasharray:5 5}
.survey-dot{fill:#295e44;stroke:#e3eee0;stroke-width:4}
.survey-corners{stroke:#35654c;stroke-width:2}
.quick-card h2{font-size:clamp(1.3rem,2vw,1.85rem);margin:10px 0 12px;letter-spacing:-.035em}
.quick-card p{font-size:.92rem;line-height:1.65;opacity:.83;margin-bottom:24px}
.quick-link{border-top:1px solid #87a38f40;padding-top:16px;font-size:.82rem;display:flex;justify-content:space-between}
.compact-experience{border-top:0;margin-top:12px;padding-block:26px;gap:30px}
.compact-experience strong{font-size:2.5rem;letter-spacing:-.045em}
.compact-contact{padding-top:24px;padding-bottom:6px}
@keyframes home-progress{from{stroke-dashoffset:350}to{stroke-dashoffset:0}}
@media(max-width:760px){.quick-cards{grid-template-columns:1fr}.card-art{height:160px}.compact-heading:after{font-size:58px;right:0}.compact-heading h1{font-size:clamp(2.2rem,7.8vw,3.5rem)}.compact-heading p{max-width:85%}.compact-home{padding-top:30px}.quick-card{padding:22px}.compact-experience{gap:16px}.compact-experience>div{display:block}.compact-experience strong{display:block;font-size:2rem;margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){.diagram-active{animation:none}.quick-card,.card-arrow,.card-art svg{transition:none}.quick-card:hover,.quick-card:hover svg{transform:none}}
/* Compact navigation, aligned with the home page rather than a separate card. */
body[data-page=home] .navigation-dock{padding:0;background:#f3f5eff2;border-bottom:1px solid #cedacf;backdrop-filter:blur(18px)}
body[data-page=home] .navigation-dock .header{min-height:102px;padding:12px 0;gap:24px;background:transparent;border:0;border-radius:0;box-shadow:none;flex-wrap:nowrap}
body[data-page=home] .navigation-dock .brand{width:76px;height:77px;flex:0 0 76px}
body[data-page=home] .navigation-dock nav{width:auto;order:0;gap:3px;padding:5px;border:1px solid #dce4da;border-radius:100px;background:#ffffffa8}
body[data-page=home] .navigation-dock nav a{padding:9px 16px;font-size:.83rem;border-radius:100px;transition:background .2s,color .2s;text-decoration:none}
body[data-page=home] .navigation-dock nav a:hover,body[data-page=home] .navigation-dock nav a:focus-visible{background:#dce8da;color:#173e2f}
body[data-page=home] .header-actions{gap:16px;margin-left:0}
body[data-page=home] .navigation-dock .small-button{padding:10px 19px;min-height:44px;background:#183e31;border-color:#183e31;box-shadow:0 4px 12px #183e3110}
body[data-page=home] .navigation-dock .small-button:hover{background:#326249}
body[data-page=home] .language{border:0;padding:10px 4px;font-size:.75rem}
@media(max-width:900px){body[data-page=home] .navigation-dock .header{gap:16px;flex-wrap:wrap;padding-block:10px}body[data-page=home] .header-actions{margin-left:auto}body[data-page=home] .navigation-dock nav{order:3;width:100%;justify-content:space-between;margin-bottom:4px}body[data-page=home] .navigation-dock .brand{width:64px;height:65px;flex-basis:64px}body[data-page=home] .navigation-dock nav a{padding:8px 12px;font-size:.78rem}}
@media(max-width:390px){body[data-page=home] .navigation-dock nav a{padding:8px 7px;font-size:.72rem}body[data-page=home] .navigation-dock .header{gap:10px}}
@media(prefers-reduced-motion:reduce){body[data-page=home] .navigation-dock nav a{transition:none}}
/* Compact masthead with grouped navigation. */
body[data-page=home] .navigation-dock{padding:12px 0;background:#f3f5efed;border-bottom:0}
body[data-page=home] .navigation-dock .header{min-height:88px;padding:10px 20px;background:#fff;border:1px solid #dce5da;border-radius:18px;box-shadow:0 6px 24px #183e3108;gap:22px}
body[data-page=home] .navigation-dock .brand{width:64px;height:65px;flex-basis:64px}
body[data-page=home] .navigation-dock nav{background:#f1f5ee;border:0;padding:5px;gap:2px}
body[data-page=home] .navigation-dock nav a{padding:10px 16px;color:#38584a;font-weight:500}
body[data-page=home] .navigation-dock nav a:hover,body[data-page=home] .navigation-dock nav a:focus-visible{background:#fff;box-shadow:0 2px 8px #173e2f0d}
body[data-page=home] .navigation-dock .small-button{background:#214d39;border-color:#214d39;border-radius:12px;padding:10px 12px 10px 18px;gap:20px}
body[data-page=home] .navigation-dock .small-button span{display:grid;place-items:center;background:#ffffff14;border-radius:7px;width:27px;height:27px}
body[data-page=home] .language{padding:9px;border-radius:8px;color:#5a7366}
body[data-page=home] .language:hover{background:#edf3e9}
@media(max-width:900px){body[data-page=home] .navigation-dock{padding:8px 0}body[data-page=home] .navigation-dock .header{padding:10px 14px;gap:8px;border-radius:16px}body[data-page=home] .navigation-dock nav{margin-bottom:0}body[data-page=home] .navigation-dock nav a{padding:8px 10px;font-size:.77rem}body[data-page=home] .navigation-dock .brand{width:58px;height:59px;flex-basis:58px}}
@media(max-width:390px){body[data-page=home] .navigation-dock nav a{padding:8px 6px;font-size:.71rem}}
/* Give the full brand mark clear prominence in the compact masthead. */
body[data-page=home] .navigation-dock .brand{width:112px;height:113px;flex:0 0 112px}
body[data-page=home] .navigation-dock .header{padding-block:12px}
@media(max-width:900px){body[data-page=home] .navigation-dock .brand{width:96px;height:97px;flex-basis:96px}}
@media(max-width:390px){body[data-page=home] .navigation-dock .brand{width:88px;height:89px;flex-basis:88px}}
