:root{color-scheme:light;--paper:#FFFDF5;--surface:#FFFFFF;--inner:#F5EDD6;--ink:#05140D;--muted:#4d5d50;--line:#DED5BA;--header:#003D1F;--button:#008F47;--button-text:#FFFFFF;--accent:#008F47;--trim:#FF990A;--urgent:#E60000;--dark:#003D1F;--green:#008F47;--red:#F50000;--pink:#FF33BB;--amber:#FF990A;--blue:#00BFE6}
:root[data-theme=dark]{color-scheme:dark;--paper:#02120A;--surface:#062314;--inner:hsl(150,50%,12%);--ink:#FFF9E6;--muted:#b6c8ba;--line:hsl(150,40%,18%);--header:hsl(150,100%,2%);--button:#00F57A;--button-text:#02120A;--accent:#00F57A;--trim:#FFA629;--urgent:hsl(0,100%,60%);--dark:#062314}
body{font-family:Barlow,sans-serif;font-size:15px;background:var(--paper);color:var(--ink)}h1,h2,h3,h4,.name,.hero-aside strong{font-family:'Barlow Condensed',sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.005em}h1{font-size:clamp(54px,6.8vw,88px);line-height:.98}h1 em{color:var(--accent)}h2{font-size:46px}h3{line-height:1.08}header{background:var(--header);border-color:var(--trim);border-bottom-width:2px;color:#FFF9E6}.name{font-size:26px}.nav-links{gap:25px;font-size:15px}.nav-links a:last-child{border:0}.theme-toggle{background:transparent;color:#FFF9E6;border:1px solid #fff6;padding:7px 12px;border-radius:4px;font:500 14px Barlow,sans-serif;white-space:nowrap}.theme-toggle:hover{background:#ffffff15}button:focus-visible,a:focus-visible{outline-color:var(--trim)}.eyebrow,.tag{color:var(--accent);font-size:14px}.eyebrow{font-weight:700}.lede{font-size:19px}.hero-aside p,.step p,.card p,.modal-body p{font-size:15px}.hero-aside strong{font-size:32px}.button,.button.light{background:var(--button);color:var(--button-text);font-size:15px;font-weight:600}.button:hover{filter:brightness(.93)}.feature{background:var(--surface);border-color:var(--line);border-top:4px solid var(--green)}.feature:nth-of-type(2){border-top-color:var(--blue)}.feature:nth-of-type(3){border-top-color:var(--pink)}.feature h3{font-size:40px}.feature p{font-size:15px}.tags span{background:var(--inner);color:var(--muted);font-size:14px}.text-btn{color:var(--ink);font-size:15px}.visual,.visual.cert,.visual.orbit{background:var(--inner)}.preview,.cert .preview{background:var(--surface);color:var(--ink);border:1px solid var(--line);box-shadow:0 15px 35px #001d1210}.preview-title,.cert .preview-title{background:var(--header);color:#FFF9E6;border-color:var(--line);font-family:'Barlow Condensed',sans-serif;font-weight:700;text-transform:uppercase;font-size:18px}.demo-row,.cert .demo-row{border-color:var(--line);font-size:15px}.pill,.cert .pill{background:var(--inner);color:var(--ink);font-size:13px;border-left:3px solid var(--green);border-radius:0}.demo-row:nth-child(2) .pill{border-color:var(--blue)}.demo-row:nth-child(3) .pill{border-color:var(--trim)}.demo-label,.cert .demo-label{color:var(--muted);font-size:13px}.moon{background:linear-gradient(90deg,var(--pink) 50%,var(--inner) 50%);box-shadow:0 0 50px #ff33bb18;border:1px solid var(--line)}.orbit-caption{color:var(--muted);font-size:14px}.progress{background:var(--inner)}.progress i{background:var(--pink)}.library{background:var(--inner)}.card{background:var(--surface);border-color:var(--line);border-top:3px solid var(--green)}.card[data-category=growth]{border-top-color:var(--amber)}.card[data-category=learning]{border-top-color:var(--pink)}.card h3{font-size:28px}.filter{border-color:var(--line);font-size:15px;background:var(--surface);color:var(--ink)}.filter[aria-pressed=true]{background:var(--button);color:var(--button-text);border-color:var(--button)}.contact{background:var(--header);color:#FFF9E6;border-top:3px solid var(--trim)}.contact p{color:#d4e6d7;font-size:15px}.minor{font-size:15px}dialog{background:var(--surface);color:var(--ink)}dialog::backdrop{background:#00180dbd}.modal-head{background:var(--surface)}.modal-head h2{font-size:36px}.modal-body h3{font-size:25px}.modal-body .status{color:var(--accent);font-size:14px}.close{background:var(--inner);color:var(--ink);border-color:var(--line);font-size:15px}time,.time,.timer{font-family:'JetBrains Mono',monospace;font-variant-numeric:tabular-nums}footer{font-size:14px}.skip:focus{background:var(--surface);color:var(--ink)}
@media(max-width:800px){h1{font-size:58px}h2{font-size:38px}.name{font-size:24px}.nav-links{gap:14px}.nav-links a:last-of-type{display:none}.hero-aside strong{font-size:28px}.feature h3{font-size:36px}.lede{font-size:18px}.theme-toggle{font-size:14px;padding:7px 10px}.modal-head h2{font-size:30px}}
@media(max-width:380px){.nav-links{gap:10px}.nav-links a{display:none}.name{font-size:22px}h1{font-size:51px}}

.screenshot-visual{margin:0;padding:22px;gap:12px;justify-content:center;min-width:0}.screenshot-link{display:block;border-radius:6px;overflow:hidden;border:1px solid var(--line);line-height:0;box-shadow:0 12px 32px #001d121a;cursor:zoom-in}.screenshot-link img,.detail-screenshot img{display:block;width:100%;height:auto}.screenshot-visual .demo-label{margin:0;line-height:1.65}.detail-screenshot{display:block;border:1px solid var(--line);border-radius:5px;overflow:hidden;cursor:zoom-in;margin:15px 0 22px}

.orbit-screenshot{align-items:center;padding:28px}.orbit-screenshot .screenshot-link{width:min(100%,230px);border-radius:16px}.orbit-screenshot .demo-label{text-align:center}.detail-screenshot.portrait{max-width:280px;margin:18px auto 24px;border-radius:12px}

.dashboard-feature{grid-template-columns:1fr}.dashboard-feature .feature-copy{padding:32px 40px 28px;display:grid;grid-template-columns:1fr auto;column-gap:40px;align-items:start}.dashboard-feature .feature-copy>.tag,.dashboard-feature .feature-copy>h3,.dashboard-feature .feature-copy>p{grid-column:1}.dashboard-feature .feature-copy>h3{margin:8px 0 10px}.dashboard-feature .feature-copy>p{max-width:750px;margin:0 0 18px}.dashboard-feature .tags{grid-column:1}.dashboard-feature .text-btn{grid-column:2;grid-row:2/5;align-self:center;margin:0;white-space:nowrap}.dashboard-feature .landscape-screenshot{padding:28px 40px 24px;min-height:0;align-items:center;border-top:1px solid var(--line)}.landscape-screenshot .screenshot-link{width:100%;max-width:1100px}.landscape-screenshot .demo-label{width:100%;max-width:1100px}.detail-screenshot{margin-bottom:18px}#project-dialog:has(.detail-screenshot:not(.portrait)){width:min(1100px,calc(100% - 32px))}
@media(max-width:800px){.dashboard-feature .feature-copy{display:block;padding:27px}.dashboard-feature .text-btn{margin-top:20px}.dashboard-feature .landscape-screenshot{padding:18px}.dashboard-feature .feature-copy>p{margin-bottom:18px}}

/* Project labels need a clear edge against both card palettes. */
.tags span{background:#F5EDD6;color:#05140D;border:1px solid #8D7950;font-weight:600;padding:5px 11px;line-height:1.4}
:root[data-theme=dark] .tags span{background:#153D29;color:#FFF9E6;border-color:#70B58E}
.product-links{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0 0;grid-column:1}.product-links a{font-size:15px;font-weight:600;text-decoration:none;border:1px solid var(--accent);border-radius:4px;padding:8px 13px;color:var(--ink);background:var(--inner)}.product-links a:hover{background:var(--button);color:var(--button-text)}.product-links span{font-weight:400}.dashboard-feature .text-btn{grid-row:2/6}.card-image{width:100%;height:165px;object-fit:cover;object-position:top;border:1px solid var(--line);border-radius:4px;margin:0 0 18px}.modal-body>.detail-screenshot img{max-height:560px;object-fit:contain;background:var(--inner)}.modal-body>.detail-screenshot.portrait img{max-height:none}.modal-body>.product-links{margin:12px 0 22px}@media(max-width:800px){.product-links{gap:9px;margin:18px 0}.card-image{height:210px}}
.card-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:auto;padding-top:22px}.card-actions .text-btn{margin:0}.screenshot-button{border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);font-size:15px;padding:0}.screenshot-button:hover{border-color:var(--accent)}#screenshot-viewer{width:min(1500px,calc(100% - 28px));max-width:none;max-height:94vh;background:var(--surface);padding:0}.screenshot-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 24px;border-bottom:1px solid var(--line);background:var(--surface)}.screenshot-toolbar h2{font-size:27px;margin:0;max-width:65%}.screenshot-toolbar>div{display:flex;align-items:center;gap:20px;flex-shrink:0}.screenshot-toolbar a{font-size:14px}.screenshot-stage{padding:18px;background:var(--inner);display:flex;justify-content:center;align-items:center}.screenshot-stage img{display:block;max-width:100%;width:auto;height:auto;max-height:calc(94vh - 120px);object-fit:contain}.screenshot-popup-link{font-size:15px}@media(max-width:650px){.screenshot-toolbar{padding:14px;gap:12px;align-items:flex-start}.screenshot-toolbar h2{font-size:23px;max-width:50%}.screenshot-toolbar>div{gap:12px;flex-direction:column;align-items:flex-end}.screenshot-stage{padding:8px}.screenshot-stage img{max-height:calc(94vh - 145px)}}
.guide-link{font-size:15px;color:var(--ink);text-underline-offset:5px}.modal-body>.guide-link{display:inline-block;margin:10px 0;font-weight:600}#guide-viewer{width:min(1200px,calc(100% - 28px));max-width:none;height:94vh;max-height:94vh;padding:0;overflow:hidden;background:var(--surface)}.guide-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 24px;border-bottom:1px solid var(--line)}.guide-toolbar h2{font-size:28px;margin:0}.guide-fallback{display:flex;gap:18px;flex-wrap:wrap;justify-content:space-between;padding:8px 24px;background:var(--inner);font-size:14px}#guide-frame{display:block;border:0;width:100%;height:calc(100% - 117px);background:var(--inner)}@media(max-width:650px){.guide-toolbar{padding:14px}.guide-toolbar h2{font-size:24px}.guide-fallback{padding:8px 14px}}

.guide-pages{height:calc(100% - 117px);overflow-y:auto;overscroll-behavior:contain;background:var(--inner);padding:20px}.guide-pages img{display:block;width:100%;max-width:850px;height:auto;margin:0 auto 22px;box-shadow:0 3px 18px #0002}.guide-pages img:last-child{margin-bottom:0}

.hero h1 em{color:var(--blue)}

#project-dialog,#screenshot-viewer,#guide-viewer{border:3px solid var(--popup-accent,var(--green));box-shadow:0 25px 100px #0009,0 0 0 1px #ffffff18}dialog::backdrop{background:#001008b8;backdrop-filter:blur(4px)}.modal-head,.screenshot-toolbar,.guide-toolbar{border-bottom:1px solid var(--popup-accent,var(--green))}:root[data-theme=dark] #project-dialog,:root[data-theme=dark] #screenshot-viewer,:root[data-theme=dark] #guide-viewer{background:#0B2E1D}:root[data-theme=dark] .modal-head,:root[data-theme=dark] .screenshot-toolbar,:root[data-theme=dark] .guide-toolbar{background:#103B28}:root[data-theme=dark] .modal-body p{color:#E0EBDD}:root[data-theme=dark] .modal-body .status{color:#FFF9E6}

.project-screenshot-footer{margin-top:28px;padding-top:20px;border-top:1px solid var(--popup-accent,var(--line))}.project-screenshot-footer .screenshot-popup-link{font-weight:600;color:var(--ink);display:inline-block;border:1px solid var(--popup-accent,var(--line));border-radius:4px;padding:9px 16px;text-decoration:none;background:var(--inner)}.project-screenshot-footer .screenshot-popup-link:hover{background:var(--surface)}

.screenshot-choices{display:flex;gap:10px;flex-wrap:wrap;padding:12px 20px;border-bottom:1px solid var(--line);background:var(--surface)}.screenshot-choices[hidden]{display:none}.screenshot-choices button{font-size:15px;padding:7px 14px;border:1px solid var(--popup-accent,var(--line));border-radius:4px;background:var(--inner);color:var(--ink)}.screenshot-choices button[aria-pressed=true]{background:var(--popup-accent);color:#05140D;font-weight:600}#screenshot-viewer:has(.screenshot-choices:not([hidden])) .screenshot-stage img{max-height:calc(94vh - 185px)}

/* A full-width opening statement, with one clear path into the work. */
.hero{display:block;position:relative;padding:70px 0 56px;isolation:isolate;color:#FFF9E6}
.hero::before{content:"";position:absolute;inset:0 calc(50% - 50vw);background:#003D1F;z-index:-1;border-bottom:3px solid var(--amber)}
.hero .eyebrow{color:#FFF9E6;margin:0 0 32px;letter-spacing:.13em}
.hero h1{max-width:1100px;font-size:clamp(64px,8.5vw,112px);line-height:.94;margin:0;letter-spacing:-.015em}
.hero h1>span{display:block}
.hero h1 em{display:block;color:var(--blue)}
.hero-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-top:40px;padding-top:28px;border-top:1px solid #ffffff38}
.hero .lede{margin:0;max-width:620px;color:#FFF9E6;font-size:20px;line-height:1.5}
.hero .lede span{color:#BBD5C5;font-size:17px}
.hero .anchor-row{margin:0;flex-shrink:0;gap:22px;align-items:center}
.hero .button{background:var(--blue);color:#05140D;padding:15px 24px;font-weight:700;border-radius:4px}
.hero .minor{color:#FFF9E6;white-space:nowrap}
:root[data-theme=dark] .hero::before{background:#032414}
@media(max-width:1000px){.hero-bottom{align-items:flex-start;flex-direction:column;gap:24px}.hero .lede{max-width:650px}}
@media(max-width:650px){.hero{padding:46px 0 38px}.hero .eyebrow{font-size:12px;letter-spacing:.08em;margin-bottom:26px}.hero h1{font-size:clamp(49px,12.5vw,78px)}.hero-bottom{margin-top:30px;padding-top:24px}.hero .lede{font-size:18px}.hero .lede span{font-size:16px}.hero .anchor-row{gap:20px;flex-wrap:wrap}.hero .button{padding:13px 19px}}

main{overflow-x:clip}

/* Featured projects use the same compact reading pattern as the project library. */
.featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.featured-card{border-top:3px solid var(--green);padding:27px;min-width:0}
.featured-card[data-feature=signedsealed]{border-top-color:var(--blue)}
.featured-card[data-feature=orbit]{border-top-color:var(--pink)}
.featured-card h3{font-size:32px;margin:15px 0}
.featured-card .tag{font-size:14px;line-height:1.5}
.featured-card .tags{margin:0 0 6px}
.featured-card .product-links{margin:18px 0 0;gap:9px}
.featured-card .product-links a{padding:7px 10px;font-size:14px}
.featured-card .card-actions{padding-top:24px;gap:15px}
.featured-card .screenshot-button{text-decoration:none;border-bottom-color:var(--ink)}
@media(max-width:1000px){.featured-grid{grid-template-columns:1fr}.featured-card h3{font-size:32px}}

.featured-card .project-brand{display:flex;align-items:center;gap:13px;min-height:60px;margin:17px 0 20px;line-height:1.05}
.brand-mark{width:60px;height:60px;display:flex;align-items:center;justify-content:center;flex:0 0 60px;overflow:hidden;border-radius:10px;background:#17343A}
.brand-mark img{display:block;width:46px;height:46px;object-fit:contain}
.featured-card[data-feature=signedsealed] .brand-mark{background:#F6F3EC;border:1px solid #DED5BA}
.featured-card[data-feature=signedsealed] .brand-mark img{width:54px;height:54px}
.featured-card[data-feature=orbit] .brand-mark{background:#2B2040}
.featured-card[data-feature=orbit] .brand-mark img{width:60px;height:60px}

/* Keep the featured introduction together as one readable hierarchy. */
.featured>.wrap>.section-head{display:block;margin-bottom:34px;max-width:930px}
.featured .section-head .eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 16px;color:var(--ink);font-size:14px;letter-spacing:.13em}
.featured .section-head .eyebrow::before{content:"";display:block;width:36px;height:3px;background:var(--blue);flex-shrink:0}
.featured .section-head h2{font-size:clamp(38px,4.5vw,58px);line-height:1.02;letter-spacing:0;margin:0 0 22px}
.featured .section-head>p{max-width:760px;font-size:18px;line-height:1.6;margin:0;color:var(--muted)}
@media(max-width:650px){.featured .section-head h2{font-size:38px;margin-bottom:18px}.featured .section-head>p{font-size:16px}.featured>.wrap>.section-head{margin-bottom:28px}}

/* A clear introduction followed by three practical stages. */
.method{padding:76px 0 80px;border-top:1px solid var(--line);background:var(--paper)}
.method-grid{display:block}
.method-intro .eyebrow{display:flex;align-items:center;gap:12px;color:var(--ink);margin:0 0 16px;letter-spacing:.13em}
.method-intro .eyebrow::before{content:"";width:36px;height:3px;background:var(--amber);flex-shrink:0}
.method-intro h2{font-size:clamp(38px,4.5vw,58px);line-height:1.02;margin:0 0 26px}
.method-intro h2 em{font-style:normal;color:#007F9A}
:root[data-theme=dark] .method-intro h2 em{color:var(--blue)}
.method-summary{display:flex;justify-content:space-between;align-items:center;gap:46px;margin-bottom:36px}
.method-summary>div{max-width:770px}
.method-summary p{font-size:16px;line-height:1.65;margin:12px 0 0}
.method-summary p.method-lede{font-size:19px;line-height:1.55;margin:0;color:var(--ink)}
.method-link{display:inline-block;flex-shrink:0;color:var(--ink);background:var(--surface);border:1px solid var(--ink);border-radius:4px;padding:12px 18px;text-decoration:none;font-weight:600}
.method-link:hover{background:var(--inner)}
.method .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;border:0}
.method .step{padding:28px;background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--blue);border-radius:8px}
.method .step:nth-child(2){border-top-color:var(--amber)}
.method .step:nth-child(3){border-top-color:var(--pink)}
.step-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;margin-bottom:20px;color:var(--ink);background:var(--inner);border:1px solid var(--line);border-radius:8px}
.step-icon svg{width:30px;height:30px}
.method .step h3{font-size:30px;line-height:1.05;margin:0 0 15px;max-width:280px}
.method .step p{font-size:16px;line-height:1.65}
@media(max-width:900px){.method-summary{display:block}.method-link{margin-top:22px}.method .steps{grid-template-columns:1fr}.method .step h3 br{display:none}.method .step h3{max-width:none}.step-icon{margin-bottom:16px}}
@media(max-width:650px){.method{padding:50px 0}.method-intro h2{font-size:38px}.method-summary p.method-lede{font-size:18px}.method .step{padding:24px}.method .step h3{font-size:28px}}

.nav-links a.expert-home-link{display:inline-flex!important;align-items:center;justify-content:center;background:#FF33BB;color:#05140D;border:1px solid #FF33BB;border-radius:4px;padding:8px 13px;font:700 15px/1.4 Barlow,sans-serif;text-decoration:none;white-space:nowrap}
.nav-links a.expert-home-link:hover{background:#FF66CC;border-color:#FF66CC}
@media(max-width:650px){header nav.wrap{flex-wrap:wrap;gap:12px;padding-top:14px;padding-bottom:14px}.nav-links{gap:12px;flex-wrap:wrap}.nav-links a.expert-home-link{padding:7px 10px;font-size:14px}}


/* Match the main site's hover feedback across cards and controls. */
.card,.feature,.method .step{border-top-width:4px;transition:transform 180ms ease,box-shadow 180ms ease}
:is(button,.button,.product-links a,.method-link,.expert-home-link,.screenshot-popup-link,.guide-link,.tags span){transition:transform 160ms ease,box-shadow 160ms ease,background-color 160ms ease,border-color 160ms ease}
.guide-link,.screenshot-button,.text-btn{display:inline-block}
@media(hover:hover) and (pointer:fine){
 :is(.card,.feature,.method .step):hover{transform:translateY(-3px);box-shadow:0 9px 24px #0023121A}
 :root[data-theme=dark] :is(.card,.feature,.method .step):hover{box-shadow:0 9px 24px #0006}
 :is(button,.button,.product-links a,.method-link,.expert-home-link,.screenshot-popup-link,.guide-link):hover{transform:translateY(-2px);box-shadow:0 4px 12px #00231225}
 :root[data-theme=dark] :is(button,.button,.product-links a,.method-link,.expert-home-link,.screenshot-popup-link,.guide-link):hover{box-shadow:0 4px 12px #0006}
 .tags span:hover{transform:translateY(-2px);border-color:var(--blue);box-shadow:0 3px 9px #00231220}
 .filter:hover{border-color:var(--button)}
}
:is(.card,.feature,.method .step):focus-within{box-shadow:0 0 0 2px var(--blue)}
@media(prefers-reduced-motion:reduce){
 :is(.card,.feature,.method .step,button,.button,.product-links a,.method-link,.expert-home-link,.screenshot-popup-link,.guide-link,.tags span){transition:none}
 :is(.card,.feature,.method .step,button,.button,.product-links a,.method-link,.expert-home-link,.screenshot-popup-link,.guide-link,.tags span):hover{transform:none}
}

#project-dialog:has(.video-gallery){width:min(1100px,calc(100% - 28px));max-width:none}
.video-gallery{margin-top:32px;padding-top:24px;border-top:1px solid var(--popup-accent,var(--line))}
.video-gallery>h3{margin-top:0}
.video-group-title{font-size:29px;margin:30px 0 16px}
.video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.video-card{min-width:0;background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--amber);border-radius:8px;padding:18px}
.video-card h5{font:700 25px/1.1 'Barlow Condensed',sans-serif;text-transform:uppercase;margin:0 0 8px;color:var(--ink)}
.video-card p.video-meta{font:400 13px/1.5 'JetBrains Mono',monospace;color:var(--muted);margin:0 0 14px}
.video-stage{display:flex;justify-content:center;align-items:center;background:#02120A;border:1px solid var(--line);border-radius:5px;overflow:hidden}
.video-stage video{display:block;width:100%;height:auto;max-height:430px;object-fit:contain}
@media(max-width:700px){.video-grid{grid-template-columns:1fr}.video-card{padding:15px}.video-stage video{max-height:65vh}.video-group-title{font-size:27px}}

/* Directly readable case studies share the portfolio's typography and palette. */
.case-study{max-width:1100px;padding-top:55px;padding-bottom:65px}
.case-study h1{font-size:clamp(38px,6vw,66px);max-width:950px;margin-bottom:20px}
.case-study>.status{color:var(--muted);border-left:4px solid var(--blue);padding-left:16px;margin-bottom:28px}
.case-study>section:not(.video-gallery){max-width:800px;margin:32px 0}
.case-study h2{font-size:30px;margin-bottom:12px}
.case-study p{line-height:1.7}
.case-study .video-card h4{font:700 25px/1.1 'Barlow Condensed',sans-serif;text-transform:uppercase;margin:0 0 8px}
.case-screenshots{margin-top:36px;border:1px solid var(--line);border-top:4px solid var(--blue);border-radius:6px;padding:20px;background:var(--surface)}
.case-screenshots summary{cursor:pointer;font-weight:700}
.case-screenshots figure{margin:24px 0 0}
.case-screenshots img{max-width:100%;height:auto;max-height:900px;display:block;margin:auto}
.case-screenshots figcaption{margin-top:10px;color:var(--muted)}
.case-back{margin-top:42px}

/* Keep popup actions separated, including when they wrap on small screens. */
.project-screenshot-footer,.project-action-footer{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.project-action-footer{margin-top:28px}

/* Phone menu: the header links hidden at phone width, opened by the Menu button. */
.menu-toggle,header nav.mobile-menu{display:none}
@media(max-width:800px){
 .nav-links a:not(.expert-home-link){display:none}
 .menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:64px;background:#FF990A;color:#05140D;border:1px solid #FF990A;border-radius:4px;padding:7px 10px;font:700 14px/1.4 Barlow,sans-serif}
 header.menu-open nav.mobile-menu{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;position:absolute;top:100%;left:0;right:0;padding:6px 22px 20px;max-height:calc(100vh - 130px);overflow-y:auto;background:var(--header);border-top:1px solid #ffffff25;border-bottom:2px solid var(--trim);box-shadow:0 14px 28px #0005}
 .mobile-menu a{padding:15px 0;font-size:18px;color:#FFF9E6;text-decoration:none;border-bottom:1px solid #ffffff25}
}

.legal-links a{color:inherit;text-underline-offset:4px}

.guide-pages iframe{display:block;width:100%;height:100%;border:0}
