.link-page{min-height:100svh;position:relative;isolation:isolate;display:flex;flex-direction:column;background:#090a07}
.link-page::before{content:"";position:fixed;z-index:-3;inset:0;background:url('../images/home-background.jpeg') center top/cover no-repeat;transform:scale(1.005)}
.link-page::after{content:"";position:fixed;z-index:-2;inset:0;background:linear-gradient(180deg,rgba(5,5,4,.28) 0%,rgba(6,6,4,.38) 28%,rgba(7,7,5,.58) 66%,rgba(6,7,4,.82) 100%),linear-gradient(90deg,rgba(8,7,5,.18),rgba(8,7,5,.08),rgba(8,7,5,.18))}

.home-main{width:min(100% - 30px,650px);margin:0 auto;padding:38px 0 24px;flex:1;display:flex;flex-direction:column;justify-content:center;position:relative}
.home-brand{text-align:center;margin-bottom:25px}
.home-logo{width:min(300px,72vw);height:auto;object-fit:contain;margin:0 auto;filter:drop-shadow(0 4px 16px rgba(0,0,0,.28))}
.home-brand h1{margin:20px 0 2px;font-size:clamp(23px,4vw,33px);font-weight:400;line-height:1.55;text-shadow:0 2px 18px rgba(0,0,0,.55)}
.home-brand p{margin:0;color:rgba(247,241,225,.72);font-size:11px;text-shadow:0 1px 12px rgba(0,0,0,.65)}
.home-brand p span{display:inline-block;margin:0 7px;color:var(--copper-light)}

.link-stack{display:grid;gap:9px}
.link-action{min-height:66px;display:grid;grid-template-columns:52px minmax(0,1fr) 28px;gap:12px;align-items:center;padding:8px 16px 8px 12px;border:1px solid rgba(217,138,85,.75);border-radius:10px;background:linear-gradient(90deg,rgba(8,7,5,.74),rgba(17,11,8,.80));box-shadow:inset 0 0 0 1px rgba(255,255,255,.018),0 5px 22px rgba(0,0,0,.10);backdrop-filter:blur(6px);transition:transform .25s var(--ease),background .25s,border-color .25s,box-shadow .25s}
.link-action:hover{transform:translateY(-2px);border-color:#e6a06c;background:linear-gradient(90deg,rgba(29,17,11,.82),rgba(14,10,7,.88));box-shadow:0 11px 26px rgba(0,0,0,.18)}
.link-action .action-icon{width:40px;height:40px;display:grid;place-items:center;justify-self:center;border-radius:9px;color:#e9a16f;background:linear-gradient(145deg,rgba(209,138,97,.14),rgba(182,95,60,.045));box-shadow:inset 0 0 0 1px rgba(233,161,111,.23),0 0 18px rgba(182,95,60,.06);transition:color .25s var(--ease),background .25s var(--ease),box-shadow .25s var(--ease),transform .25s var(--ease)}
.link-action .action-icon .ui-icon{width:31px;height:31px;stroke-width:2.05;filter:drop-shadow(0 0 4px rgba(233,161,111,.12))}
.link-action:hover .action-icon{color:#f0ad7d;background:linear-gradient(145deg,rgba(209,138,97,.19),rgba(182,95,60,.06));box-shadow:inset 0 0 0 1px rgba(240,173,125,.34),0 0 20px rgba(182,95,60,.09);transform:translateY(-1px)}
.link-action .action-copy{min-width:0}
.link-action strong{display:block;font-size:15px;font-weight:500;line-height:1.55}
.link-action small{display:block;margin-top:1px;color:rgba(247,241,225,.62);font-size:9px;line-height:1.6}
.link-action .action-arrow{justify-self:end;color:rgba(247,241,225,.72)}
.link-action .action-arrow .ui-icon{width:18px;height:18px;transition:transform .25s var(--ease)}
.link-action:hover .action-arrow .ui-icon{transform:translateX(-3px)}
.link-action.featured{border-color:#e0ad7b;background:linear-gradient(105deg,rgba(151,72,38,.94),rgba(182,95,60,.88) 55%,rgba(199,130,80,.90));box-shadow:0 10px 30px rgba(66,27,12,.24)}
.link-action.featured .action-icon{color:#fff5ec;background:rgba(255,247,238,.11);box-shadow:inset 0 0 0 1px rgba(255,243,231,.26),0 0 18px rgba(255,232,212,.09)}
.link-action.featured .action-arrow{color:#ffe8d4}
.link-action.featured:hover .action-icon{color:#fff;background:rgba(255,247,238,.15);box-shadow:inset 0 0 0 1px rgba(255,255,255,.32),0 0 20px rgba(255,232,212,.11)}
.link-action.featured small{color:rgba(255,247,238,.76)}

.home-signature{display:flex;align-items:center;justify-content:center;gap:14px;margin:26px 0 15px;color:rgba(247,241,225,.68);font-size:10px;text-align:center;text-shadow:0 1px 12px rgba(0,0,0,.6)}
.home-signature::before,.home-signature::after{content:"";width:50px;height:1px;background:linear-gradient(90deg,transparent,var(--copper))}
.home-signature::after{transform:scaleX(-1)}
.home-social{margin-bottom:16px}
.home-credit{margin-top:auto;padding:13px 0 0;border-top:1px solid rgba(247,241,225,.07);display:grid;justify-items:center;gap:0;text-align:center}
.home-credit span{font-size:7px;color:rgba(247,241,225,.30)}
.home-credit a{font-family:var(--font-en);font-size:9px;color:rgba(217,138,85,.80);letter-spacing:.04em;direction:ltr}

@media(min-width:900px) and (min-height:800px){
  .home-main{padding-top:48px;padding-bottom:28px}
  .home-brand{margin-bottom:28px}.home-logo{width:320px}
  .link-stack{gap:10px}.link-action{min-height:69px}
}

@media(min-width:621px) and (max-height:780px){
  .home-main{padding:22px 0 16px}
  .home-brand{margin-bottom:17px}
  .home-logo{width:min(260px,34vh)}
  .home-brand h1{margin-top:12px;font-size:24px}
  .link-stack{gap:7px}.link-action{min-height:59px}
  .home-signature{margin:17px 0 10px}.home-social{margin-bottom:10px}
  .home-credit{padding-top:9px}
}

@media(max-width:620px){
  /* Mobile uses the dedicated portrait artwork as the full-page fixed background.
     Its aspect ratio closely matches modern phones, so cover fills the viewport
     without the letterboxing / black band caused by contain. */
  .link-page::before{
    background-image:url('../images/home-background-mobile-clean.png');
    background-position:center center;
    background-size:cover;
    background-repeat:no-repeat;
    transform:none;
  }
  .link-page::after{background:linear-gradient(180deg,rgba(5,5,4,.08) 0%,rgba(5,5,4,.13) 22%,rgba(6,6,4,.22) 48%,rgba(6,7,4,.42) 78%,rgba(6,7,4,.58) 100%)}
  .home-main{width:min(100% - 26px,610px);padding:24px 0 18px;justify-content:flex-start}
  .home-brand{margin-bottom:20px}.home-logo{width:min(260px,72vw)}
  .home-brand h1{margin-top:17px;font-size:21px}.home-brand p{font-size:10px}
  .link-stack{gap:8px}.link-action{min-height:62px;grid-template-columns:44px minmax(0,1fr) 24px;gap:9px;padding:7px 13px 7px 9px;border-radius:9px;background:linear-gradient(90deg,rgba(7,6,4,.48),rgba(14,9,6,.56));backdrop-filter:blur(2.5px);-webkit-backdrop-filter:blur(2.5px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.012),0 5px 18px rgba(0,0,0,.08)}
  .link-action:not(.featured):hover{background:linear-gradient(90deg,rgba(21,13,8,.58),rgba(13,9,6,.63))}
  .link-action strong{text-shadow:0 1px 8px rgba(0,0,0,.58)}
  .link-action small{text-shadow:0 1px 7px rgba(0,0,0,.58)}
  .link-action .action-icon{width:36px;height:36px;border-radius:8px}.link-action .action-icon .ui-icon{width:28px;height:28px}.link-action strong{font-size:13px}.link-action small{font-size:8px}.link-action .action-arrow .ui-icon{width:16px;height:16px}
  .home-signature{margin:22px 0 13px;font-size:9px;gap:10px}.home-signature::before,.home-signature::after{width:38px}
}

@media(max-width:390px){
  .home-main{width:calc(100% - 22px)}
  .home-logo{width:235px}.home-brand h1{font-size:19px}
  .link-action{grid-template-columns:40px minmax(0,1fr) 21px;min-height:60px;padding-right:10px}.link-action strong{font-size:12px}
}
