/* ILARDEUS STUDIO V14.2 — homepage clipped frame (adapted from V14.1) */
.home-page .division-card{
  /* The metallic strip is the true OUTER surface, so its diagonal is continuous. */
  border:0;
  background:linear-gradient(148deg,rgba(240,248,252,.93) 0%,rgba(183,207,221,.83) 45%,rgba(115,158,187,.95) 100%);
  --home-inset:1.6px;
  --il-cut:24px;
  box-shadow:0 9px 25px rgba(0,0,0,.12);
  transition:transform .32s ease,filter .32s ease,box-shadow .32s ease,background .32s ease;
}
.home-page .division-card .home-card-inner{
  position:absolute;
  inset:var(--home-inset);
  display:block;
  clip-path:polygon(0 0,calc(100% - (var(--il-cut) - var(--home-inset))) 0,100% calc(var(--il-cut) - var(--home-inset)),100% 100%,0 100%);
  background:#06111b;
  overflow:hidden;
}
.home-page .division-card:hover,
.home-page .division-card:focus-visible{
  background:linear-gradient(135deg,#f1faff 0%,#a3cfe4 48%,#5d9dc4 100%);
  filter:drop-shadow(0 0 10px rgba(120,190,231,.28));
  transform:translateY(-4px);
}
.home-page .division-card::after{z-index:5;}
.home-page .division-card:focus-visible{outline:2px solid #e4f3ff;outline-offset:4px;}
@media(max-width:700px){
 .home-page .division-card{--il-cut:19px;}
 }
@media(prefers-reduced-motion:reduce){
 .home-page .division-card,.home-page .division-card:hover{transform:none;}
}

/* ILARDEUS STUDIO V14.2 — homepage card branding only.
   Uses the actual ILARDEUS top-line from the official site logo.
   Exact existing header, skyline, sizes, clipped metallic frame, blue underline untouched. */
.home-page .home-brand-card {
  --home-inset:1.6px;
  background:linear-gradient(145deg,rgba(244,249,252,.92),rgba(166,195,211,.89) 49%,rgba(108,149,174,.94));
}
.home-page .home-brand-card .home-card-inner {
  background:
    radial-gradient(ellipse at 91% 43%,rgba(58,111,142,.19),transparent 42%),
    linear-gradient(118deg,#06111b 0%,#091722 51%,#0a1823 100%);
}
.home-page .home-brand-card .home-brand-ornament{
  position:absolute;top:-11%;right:-6%;height:125%;width:45%;
  opacity:.64;pointer-events:none;
  background:
    linear-gradient(104deg,transparent 17%,rgba(204,223,235,.11) 17.25%,transparent 17.5%),
    linear-gradient(104deg,transparent 45%,rgba(80,143,178,.20) 45.3%,transparent 45.6%),
    linear-gradient(104deg,transparent 66%,rgba(177,214,233,.12) 66.25%,transparent 66.5%);
  transform:translateX(0);transition:opacity .35s ease,transform .45s ease;
}
.home-page .home-brand-card .home-brand-ornament::before {
  content:"";display:block;position:absolute;inset:22% 4% 18% 28%;
  border:1px solid rgba(180,209,227,.14);
  transform:skewX(-19deg);
  background:linear-gradient(145deg,rgba(73,128,160,.055),transparent 60%);
}
.home-page .home-brand-card .home-brand-ornament::after {
  content:"";position:absolute;right:15%;top:18%;width:32%;height:68%;
  border-right:1px solid rgba(184,216,230,.18);
  transform:skewX(-19deg);
}
.home-page .home-brand-card:hover .home-brand-ornament,
.home-page .home-brand-card:focus-visible .home-brand-ornament{opacity:.92;transform:translateX(-4px)}
.home-page .home-brand-card .home-brand-content{
  position:relative;z-index:3;display:flex;flex-direction:column;align-items:flex-start;
  height:100%;padding:clamp(20px,2.15vw,32px) clamp(22px,2.45vw,38px) clamp(16px,1.3vw,23px);
}
.home-page .home-brand-card .home-brand-lockup{
  display:flex;flex-direction:column;align-items:center;width:min(59%,268px);
  margin:0 0 0 -3px;
}
.home-page .home-brand-card .home-brand-wordmark{
  display:block;max-width:100%;width:100%;height:auto;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.34));
}
.home-page .home-brand-card .home-brand-division {
  display:block;font-family:Arial,Helvetica,sans-serif;text-align:center;
  margin-top:9px;margin-left:.44em;
  color:rgba(234,242,249,.90);font-size:clamp(12px,1.12vw,19px);
  font-weight:800;line-height:1.15;letter-spacing:.44em;white-space:nowrap;
}
.home-page .home-brand-card .home-brand-description{
  display:block;font-size:clamp(12px,.91vw,15px);
  color:rgba(226,233,240,.88);line-height:1.44;
  margin-top:clamp(18px,2vw,31px);max-width:295px;
  text-shadow:0 1px 4px rgba(0,0,0,.30);
}
.home-page .home-brand-card .home-brand-arrow {
  display:block;position:absolute;bottom:clamp(14px,1.4vw,22px);left:clamp(22px,2.45vw,38px);
  font-size:24px;line-height:1;color:#e9f4fc;transition:transform .3s ease;
}
.home-page .home-brand-card:hover .home-brand-arrow,
.home-page .home-brand-card:focus-visible .home-brand-arrow {transform:translate(3px,-3px)}
/* Keep the home V14.1 metallic border and the center-expanding bottom accent. */
.home-page .home-brand-card::after {z-index:6}
@media (max-width:1080px){
 .home-page .home-brand-card .home-brand-lockup{width:min(65%,242px)}
 .home-page .home-brand-card .home-brand-content{padding:21px 22px 17px}
 .home-page .home-brand-card .home-brand-description{margin-top:20px;font-size:12px;max-width:245px}
 .home-page .home-brand-card .home-brand-arrow{left:22px;bottom:15px}
}
@media (max-width:700px){
 .home-page .home-brand-card .home-brand-content{padding:18px 22px 12px}
 .home-page .home-brand-card .home-brand-lockup{width:min(66%,216px)}
 .home-page .home-brand-card .home-brand-division{font-size:13px;margin-top:6px}
 .home-page .home-brand-card .home-brand-description{margin-top:13px;font-size:12px;max-width:270px}
 .home-page .home-brand-card .home-brand-ornament{width:39%;right:-8%}
 .home-page .home-brand-card .home-brand-arrow{bottom:11px;font-size:20px}
}
@media (max-width:390px){
 .home-page .home-brand-card .home-brand-lockup{width:min(68%,203px)}
 .home-page .home-brand-card .home-brand-content{padding-top:17px}
 .home-page .home-brand-card .home-brand-description{margin-top:12px;font-size:11.5px;max-width:220px}
}
@media (prefers-reduced-motion:reduce){
 .home-page .home-brand-card .home-brand-ornament,.home-page .home-brand-card .home-brand-arrow{transition:none!important}
}
