.logo-portfolio {
  --logo-gold: #f0bd73;
  --logo-blue: #6da9fb;
  --logo-line: #7795bd3d;
  background: #080b13;
}
.logo-gallery { overflow: clip; padding-bottom: clamp(24px, 4vw, 54px); }
.logo-wrap { width: min(100% - clamp(32px, 7vw, 128px), 1550px); margin-inline: auto; min-width: 0; }
.logo-hero {
  display: grid;
  align-items: end;
  min-height: clamp(253px, 23vw, 366px);
  padding: clamp(78px, 7vw, 108px) 0 clamp(20px, 2.3vw, 35px);
  background:
    linear-gradient(0deg, #080b13, transparent 46%),
    linear-gradient(90deg, #0608104d, transparent 75%),
    url("../assets/logo-gallery-hero.jpg") 50% 48% / cover no-repeat,
    #080b13;
}
.logo-intro { max-width: min(54%, 510px); margin-left: 0; margin-right: auto; }
.logo-back, .logo-view, .logo-contact { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.logo-back {
  min-height: 26px;
  margin-bottom: 7px;
  color: #b5c6df;
  font-size: .85rem;
}
.logo-back:hover { color: var(--logo-gold); }
.logo-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--logo-gold);
  font-size: clamp(.79rem, 1.15vw, .97rem);
  margin: 0;
}
.logo-eyebrow::after {
  content: "";
  width: 40px;
  height: 1px;
  background: linear-gradient(270deg, #f0bd73b0, transparent);
}
.logo-intro h1 { font-size: clamp(35px, 4.22vw, 76px); line-height: 1.06; margin: 8px 0 10px; }
.logo-intro h1 span { color: var(--logo-gold); }
.logo-intro > p:last-child { line-height: 1.6; color: #bac8dc; margin: 0; max-width: 100%; }
.logo-showcase { margin-top: 0; }
.logo-filters {
  direction: rtl;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 19px;
}
.logo-filters button {
  min-height: 41px;
  padding: 6px 16px;
  border: 1px solid #7899c434;
  border-radius: 999px;
  background: #131b2a;
  color: #dce5f4;
  font-size: .83rem;
  cursor: pointer;
  transition: background .23s, color .23s, border-color .23s;
}
.logo-filters button:hover { border-color: var(--logo-gold); }
.logo-filters button[aria-pressed="true"] { background: var(--logo-gold); color: #17120c; border-color: var(--logo-gold); }
.logo-showcase-layout {
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(14px, 1.7vw, 27px);
}
.logo-results, .logo-feature { direction: rtl; min-width: 0; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 15px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.logo-tile { position: relative; min-width: 0; }
.logo-tile a {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.62;
  background: #142334;
  border: 1px solid var(--logo-line);
  border-radius: 8px;
  transition: border-color .22s, box-shadow .22s;
}
.logo-tile a[aria-current="true"] { border-color: var(--logo-gold); box-shadow: 0 0 0 1px #e0a95b71; }
.logo-tile a:hover { border-color: #cfa36c; }
.logo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .42s var(--ease); }
.logo-tile a:hover img { transform: scale(1.055); }
.logo-tile span {
  position: absolute;
  inset: auto 0 0;
  background: linear-gradient(transparent, #060b17e8 88%);
  color: #fff;
  padding: 15px 10px 7px;
  font-size: clamp(.66rem, 1vw, .88rem);
  line-height: 1.3;
}
.logo-feature {
  display: grid;
  align-content: center;
  gap: 13px;
  min-height: clamp(253px, 24vw, 385px);
  padding: clamp(15px, 2vw, 31px);
  border: 1px solid var(--logo-line);
  border-radius: 12px;
  background: radial-gradient(ellipse at 75% 16%, #1d3554b0, transparent 64%), linear-gradient(147deg, #141e2c, #090e19 79%);
  box-shadow: 0 13px 45px #0008;
}
.logo-feature-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(10px, 1.35vw, 22px);
  align-items: center;
}
.logo-feature h2 { font-size: clamp(27px, 2.7vw, 51px); line-height: 1.12; margin: 7px 0 5px; }
.logo-feature #logo-feature-sector { color: #d1ddf0; font-size: .83rem; margin: 0 0 10px; }
.logo-feature #logo-feature-description { margin: 0; color: #b8c5db; font-size: .83rem; line-height: 1.6; }
.logo-feature img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 5px; box-shadow: 0 12px 28px #0008; }
.logo-feature img.logo-image-new { animation: logo-image-in .34s var(--ease) both; }
@keyframes logo-image-in { from { opacity: .35; scale: .975; } to { opacity: 1; scale: 1; } }
.logo-view {
  min-height: 39px;
  padding: 6px 12px;
  margin-top: 12px;
  border: 1px solid #d0a16385;
  border-radius: 999px;
  color: var(--logo-gold);
  font-size: .8rem;
  transition: background .25s, color .25s;
}
.logo-view:hover { background: var(--logo-gold); color: #15100a; }
.logo-feature-dots { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px; }
.logo-feature-dots button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 29px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.logo-feature-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #bac9de61; }
.logo-feature-dots button[aria-pressed="true"]::before { background: var(--logo-gold); }
.logo-pagination { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; }
.logo-pagination p { margin: 0; color: #b9c5da; font-size: .84rem; }
.logo-pagination nav { display: flex; gap: 8px; }
.logo-pagination button {
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid #c79d655f;
  border-radius: 50%;
  color: var(--logo-gold);
  background: #111726;
  cursor: pointer;
}
.logo-pagination button:not(:disabled):hover { color: #17120c; background: var(--logo-gold); }
.logo-pagination button:disabled { opacity: .4; cursor: default; }
.logo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: clamp(22px, 3vw, 38px);
  padding: clamp(15px, 2vw, 28px);
  border: 1px solid var(--logo-line);
  border-radius: 12px;
  background: radial-gradient(ellipse at 12% 20%, #27365380, transparent 53%), #0d1522;
}
.logo-footer h2 { margin: 0 0 4px; font-size: clamp(24px, 2.6vw, 37px); }
.logo-footer p { margin: 0; color: #b9c5da; line-height: 1.5; }
.logo-contact { min-height: 44px; padding: 8px 17px; border-radius: 999px; color: #17120c; background: var(--logo-gold); white-space: nowrap; }
.logo-contact:hover { background: #ffdda5; }
.logo-lightbox figure { margin: 0; text-align: center; }
.logo-lightbox img { margin-inline: auto; max-height: calc(100dvh - 128px); }
.logo-lightbox figcaption { margin-top: 9px; color: #e3eafa; }
@media (min-width: 761px) and (max-width: 1050px) {
  .logo-showcase-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .logo-hero {
    min-height: 290px;
    background-position: center, center, 65% 48%;
    background-image: linear-gradient(0deg, #080b13, #080b1370 63%, #080b133d), linear-gradient(90deg, #080b13a1, #080b1329), url("../assets/logo-gallery-hero.jpg");
  }
  .logo-intro { max-width: min(100%, 29rem); }
  .logo-filters { justify-content: flex-start; }
  .logo-showcase-layout { grid-template-columns: 1fr; }
  .logo-feature { grid-row: 1; min-height: 0; }
  .logo-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 465px) {
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-filters { gap: 7px; }
  .logo-filters button { padding-inline: 10px; }
  .logo-feature { padding: 13px; }
  .logo-feature-body { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-feature img.logo-image-new { animation: none; }
}
