/* The homepage lives inside the shared portal shell; only its content is styled here. */
.forge-home{width:100%;max-width:1440px;min-width:0;margin-inline:auto;color:#e5dace}
.forge-home :is(h1,h2,h3,p,a){overflow-wrap:anywhere}
.home-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(220px,.85fr);align-items:center;gap:clamp(24px,4vw,64px);min-height:460px;padding:clamp(28px,4vw,56px);background:linear-gradient(110deg,#211b1ef5 10%,#211b1edc 60%,#211b1e96);border:0;border-radius:0;position:relative;isolation:isolate}
.home-hero:after{content:"";position:absolute;bottom:0;left:clamp(28px,4vw,56px);right:clamp(28px,4vw,56px);height:1px;background:linear-gradient(90deg,#b5986270,transparent);pointer-events:none}
.home-hero-copy{max-width:620px;min-width:0;position:relative;z-index:1}
.home-eyebrow{margin:0 0 22px;font-size:.7rem;line-height:1.6;letter-spacing:.15em;color:#d0aa67}
.home-hero h1{margin:0 0 20px;font:400 clamp(2.4rem,4.2vw,4.2rem)/1.12 var(--heading);letter-spacing:0;color:#f0dfba;text-wrap:balance}
.home-intro{margin:0 0 12px;font:400 clamp(1.15rem,1.5vw,1.4rem)/1.5 var(--heading);color:#e8d8bb}
.home-description{max-width:49ch;margin:0;line-height:1.8;color:#d0c4b8;font-size:.95rem}
.home-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:28px}
.forge-home .home-actions .button{min-height:48px;padding:12px 20px;border-radius:0;font-size:.86rem;white-space:normal;gap:16px}
.forge-home .home-primary{background:#c3a268;border:1px solid #c3a268;color:#221b15}
.forge-home .home-primary:hover{background:#dec18b;border-color:#dec18b}
.forge-home .home-secondary{background:#201b1ed9;border:1px solid #b5986255;color:#ebdabb}
.forge-home .home-secondary:hover{background:#332920;border-color:#b5986280}
.home-portrait{position:relative;display:grid;place-items:center;width:100%;max-width:390px;min-width:0;margin:0;justify-self:center;isolation:isolate}
.home-portrait:before{content:"";position:absolute;inset:12%;border-radius:50%;background:radial-gradient(ellipse,#b8904c30,transparent 70%);z-index:-1}
.home-portrait img{width:100%;height:auto;max-height:420px;object-fit:contain;filter:drop-shadow(0 12px 20px #0005)}
.home-routes{margin:36px 0 0}
.home-routes>h2,.home-workshop h2{font:400 clamp(1.25rem,1.8vw,1.6rem)/1.4 var(--heading);color:#e8d7b6;margin:0}
.home-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,28px);margin-top:20px}
.home-feature{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:24px 22px 22px;border:0;border-top:1px solid #b5986252;background:linear-gradient(160deg,#231d20ee,#231d20cf);color:#e5dace;transition:background .15s,border-color .15s}
.home-feature:hover{background:#302628ed;border-top-color:#d0aa67}
.home-feature-icon{height:34px;color:#c9a96f;margin-bottom:15px}
.home-feature-icon .nav-icon{display:block;width:28px;height:28px}
.home-feature-icon svg{display:block;width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.home-feature h3{margin:0 0 12px;font:400 1.25rem/1.35 var(--heading);color:#f0dfba}
.home-feature p{margin:0 0 22px;font-size:.87rem;line-height:1.8;color:#d0c4b8}
.home-feature-action{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin-top:auto;font-size:.82rem;color:#dfbe83}
.home-feature-action>span{flex:none}
.home-workshop{margin-top:36px;padding:28px 0 0;border-top:1px solid #b5986247}
.home-workshop-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.home-drafts-link{display:inline-flex;align-items:center;gap:16px;min-height:44px;font-size:.86rem;color:#e4c388}
.home-drafts-link:hover{text-decoration:underline}
.home-workflow{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0 0;padding:0}
.home-workflow li{display:flex;align-items:flex-start;gap:14px;min-width:0}
.home-step-number{flex:none;padding-top:1px;font:400 1rem/1.6 var(--heading);color:#c2a16a}
.home-workflow h3{margin:0 0 7px;font:400 1rem/1.5 var(--heading);color:#e6d5b5}
.home-workflow p{margin:0;font-size:.82rem;line-height:1.75;color:#c9bbb0}
.home-storage-note{margin:24px 0 0;padding-top:18px;border-top:1px solid #b598622a;color:#c9bbb0;font-size:.78rem;line-height:1.75}
.forge-home a:focus-visible{outline:2px solid #e0bd7b;outline-offset:4px}
@media(max-width:900px){
  .home-hero{grid-template-columns:minmax(0,1fr);min-height:0;gap:26px}
  .home-hero-copy{max-width:680px}
  .home-hero h1{font-size:clamp(2.2rem,6vw,3.8rem)}
  .home-portrait{max-width:270px}
  .home-route-grid{gap:16px}
  .home-feature{padding:22px 18px}
}
@media(max-width:720px){
  .home-route-grid,.home-workflow{grid-template-columns:minmax(0,1fr)}
  .home-feature{padding:22px}
  .home-feature p{max-width:60ch;margin-bottom:18px}
  .home-workflow{gap:20px}
  .home-workshop-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}
}
@media(max-width:520px){
  .home-hero{padding:28px 20px;gap:22px}
  .home-hero:after{left:20px;right:20px}
  .home-eyebrow{font-size:.65rem;letter-spacing:.1em;margin-bottom:18px}
  .home-hero h1{font-size:2.3rem;margin-bottom:18px}
  .home-intro{font-size:1.14rem}
  .home-description{font-size:.88rem;line-height:1.75}
  .home-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:22px}
  .home-actions .button{width:100%}
  .home-portrait{max-width:210px}
  .home-routes,.home-workshop{margin-top:28px}
}
