/* Salt Ice Games: dark navy, ice blue and salt white from the studio logo;
   Hope Below pages add the game's ember orange and hazard stripes. */

@font-face {
  font-family: "Barlow";
  src: url("/fonts/Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/fonts/Barlow-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #0b101a;
  --bg-2: #0f1624;
  --panel: #151e30;
  --panel-2: #1b263b;
  --line: rgba(196, 220, 245, 0.1);
  --line-strong: rgba(196, 220, 245, 0.2);
  --text: #e7eef7;
  --muted: #9cabc0;
  --salt: #f4f0e8;
  --ice: #8fd3fa;
  --ice-deep: #4fa3db;
  --ember: #f38a2b;
  --ember-deep: #d9661a;
  --hazard: #f2c230;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --gap: clamp(16px, 3vw, 32px);
  --block: clamp(48px, 7vw, 88px);
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.7);
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--ice); text-underline-offset: 3px; }
a:hover { color: var(--salt); }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; color: var(--salt); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--salt); color: var(--bg); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }

/* ---------- top bars ---------- */

.editor-bar {
  display: flex; gap: 16px; justify-content: center; align-items: center;
  background: var(--hazard); color: #1a1406; font-weight: 600; font-size: 0.9rem; padding: 6px 12px;
}
.editor-bar a { color: #1a1406; }
.announcement { background: linear-gradient(90deg, var(--ice-deep), #3b7fc0); text-align: center; font-size: 0.95rem; font-weight: 600; }
.announcement > a, .announcement > span { display: block; padding: 8px 16px; color: #fff; text-decoration: none; }
.announcement a:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 26, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand img { width: auto; height: 46px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 600; }
.site-nav a:hover { background: var(--panel); color: var(--salt); }
.site-nav a[aria-current="page"] { color: var(--ice); }
.lang-switch { display: flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.lang-switch a { padding: 3px 10px; border-radius: 999px; font-size: 0.85rem; letter-spacing: 0.06em; color: var(--muted); }
.lang-switch a[aria-current="true"] { background: var(--panel-2); color: var(--salt); }
.lang-switch a:hover { background: var(--panel); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); width: 44px; height: 44px; padding: 0; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: var(--salt); margin: 0 auto; position: relative; transition: transform 0.2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .brand img { height: 38px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 20px 24px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 12px; font-size: 1.1rem; }
  .lang-switch { align-self: flex-start; }
}

/* ---------- buttons ---------- */

.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; text-decoration: none; letter-spacing: 0.01em;
  border: 1px solid transparent; transition: background 0.15s, transform 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ice); color: #08243a; }
.btn--primary:hover { background: var(--salt); color: #08243a; }
.btn--secondary { background: rgba(255, 255, 255, 0.04); color: var(--salt); border-color: var(--line-strong); }
.btn--secondary:hover { background: rgba(255, 255, 255, 0.1); color: var(--salt); }
.btn--steam { background: linear-gradient(180deg, #75b022, #588a1b); color: #fff; }
.btn--steam:hover { background: linear-gradient(180deg, #8ed12b, #67a31f); color: #fff; }
.is-game .btn--primary { background: var(--ember); color: #2a1300; }
.is-game .btn--primary:hover { background: #ffa552; }

.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; background: var(--panel-2); color: var(--ice); border: 1px solid var(--line-strong);
}
.badge--comingsoon { color: var(--hazard); }
.badge--released { color: #9fe07a; }
.badge--earlyaccess { color: var(--ember); }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 10vw, 120px); }
.hero--tall { min-height: min(86vh, 760px); display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 16, 26, 0.95) 0%, rgba(11, 16, 26, 0.75) 45%, rgba(11, 16, 26, 0.25) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}
.hero--center { text-align: center; }
.hero--center .hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero--center .hero__bg::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 16, 26, 0.7) 50%, rgba(11, 16, 26, 0.5) 100%); }
.hero__inner > * { max-width: 680px; }
.hero__logo img { width: min(360px, 70vw); margin-bottom: 20px; }
.eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice); margin-bottom: 16px; }
.hero__title { font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: 1.02; margin-bottom: 20px; text-wrap: balance; }
.hero__subtitle { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #c8d4e4; max-width: 560px; }

/* ---------- page header ---------- */

.page-header { padding: clamp(48px, 8vw, 88px) 0 clamp(16px, 3vw, 24px); background: radial-gradient(ellipse at 20% 0%, rgba(79, 163, 219, 0.16), transparent 60%); }
.page-header h1 { margin-bottom: 12px; text-wrap: balance; }
.page-header__lead { font-size: 1.2rem; color: #c8d4e4; max-width: 680px; }
.page-header--post .page-header__lead { max-width: none; }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }

/* ---------- blocks ---------- */

.block { padding: calc(var(--block) / 2) 0; }
.block:first-child { padding-top: var(--block); }
.page-header + .block { padding-top: 16px; }
.section-title { margin-bottom: 12px; }
.section-intro { color: var(--muted); font-size: 1.1rem; max-width: 680px; margin-bottom: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head .section-title { margin: 0; }
.link-more { font-weight: 600; text-decoration: none; }

.prose { color: #d3ddea; }
.prose--narrow { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--ice); }
.is-game .prose li::marker { color: var(--ember); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--ice); color: var(--salt); font-size: 1.15rem; }
.prose strong { color: var(--salt); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose code { background: var(--panel); padding: 2px 6px; border-radius: 4px; font-size: 0.92em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split--image-right .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.split__media--contain img { box-shadow: none; border: 0; max-width: 360px; margin: 0 auto; }
.split__text .buttons { margin-top: 20px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--image-right .split__media { order: 0; } }

.figure { margin: 0 auto; }
.figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.figure--normal { max-width: 860px; }
.figure--full img { border-radius: 0; border: 0; }
.figure figcaption { color: var(--muted); font-size: 0.95rem; margin-top: 10px; text-align: center; }
.post__cover { margin-bottom: 8px; }

.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gallery__item { display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.gallery__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.3s; }
.gallery__item:hover .gallery__img { transform: scale(1.04); }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature__media img { width: 100%; border-radius: var(--radius-sm); margin-bottom: 16px; }
.feature__title { margin-bottom: 8px; }
.feature__text { color: var(--muted); margin: 0; }
.feature__depth { display: inline-block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; color: var(--ice); margin-bottom: 16px; }
/* "layers": each card a shade darker and warmer, like digging down. */
.features--layers { grid-template-columns: 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.features--layers .feature { border: 0; border-radius: 0; display: grid; grid-template-columns: 64px 220px 1fr; gap: 16px; align-items: baseline; padding: 22px 28px; }
.features--layers .feature__depth, .features--layers .feature__title, .features--layers .feature__text { margin: 0; }
.features--layers .feature:nth-child(1) { background: #4a3a26; }
.features--layers .feature:nth-child(2) { background: #3a2a1d; }
.features--layers .feature:nth-child(3) { background: #3b2016; }
.features--layers .feature:nth-child(4) { background: #2a1210; }
.features--layers .feature:nth-child(n + 5) { background: #1d0c0b; }
.features--layers .feature__depth { color: var(--hazard); }
.features--layers .feature__text { color: #e3d2c0; }
@media (max-width: 720px) { .features--layers .feature { grid-template-columns: 1fr; gap: 6px; } }

.video { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; }
.video video, .video iframe { width: 100%; height: 100%; border: 0; }
.video__consent { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; }
.video__consent img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.video__play { position: relative; width: 84px; height: 84px; border-radius: 50%; background: rgba(11, 16, 26, 0.8); border: 2px solid var(--salt); }
.video__play::after { content: ""; position: absolute; left: 34px; top: 26px; border-left: 22px solid var(--salt); border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.video__note { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 0.9rem; color: var(--salt); text-shadow: 0 1px 4px #000; }
.video__consent:focus-visible .video__play { outline: 3px solid var(--ice); outline-offset: 4px; }

.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(28px, 5vw, 48px); border-radius: var(--radius); border: 1px solid var(--line-strong);
}
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0; color: #c8d4e4; }
.cta .buttons { margin: 0; }
.cta--ice { background: radial-gradient(ellipse at 0% 0%, rgba(143, 211, 250, 0.2), transparent 60%), var(--panel); }
.cta--ember { background: radial-gradient(ellipse at 0% 0%, rgba(243, 138, 43, 0.25), transparent 60%), #1d1510; border-color: rgba(243, 138, 43, 0.3); }

.steam__widget { width: 100%; max-width: 646px; height: 190px; border: 0; }

.downloads { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.download {
  display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: "ext label action" "ext note action";
  align-items: center; column-gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--text);
}
.download:hover { border-color: var(--ice); color: var(--salt); }
.download__ext { grid-area: ext; display: grid; place-items: center; height: 44px; border-radius: 6px; background: var(--panel-2); color: var(--ice); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; }
.download__label { grid-area: label; font-weight: 600; }
.download__note { grid-area: note; color: var(--muted); font-size: 0.9rem; }
.download__action { grid-area: action; color: var(--ice); font-weight: 600; font-size: 0.9rem; }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--panel); padding: 18px 20px; }
.fact dt { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.fact dd { margin: 0; font-weight: 600; font-size: 1.15rem; color: var(--salt); }
.facts__note { color: var(--muted); margin-top: 16px; max-width: 760px; }

.contact__list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.contact__item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.contact__label { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.contact__email { font-weight: 600; font-size: 1.1rem; word-break: break-all; }

/* ---------- cards ---------- */

.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.game-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.game-card:hover { border-color: var(--ember); transform: translateY(-2px); }
.game-card__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.game-card__media { position: relative; }
.game-card__img { width: 100%; aspect-ratio: 920 / 430; object-fit: cover; }
.game-card__media .badge { position: absolute; top: 12px; right: 12px; background: rgba(11, 16, 26, 0.85); }
.game-card__body { padding: 22px 24px 24px; }
.game-card__title { font-size: 1.6rem; margin-bottom: 4px; }
.game-card__tagline { color: var(--ember); font-weight: 600; margin-bottom: 10px; }
.game-card__summary { color: var(--muted); margin-bottom: 14px; }
.game-card__more { color: var(--salt); font-weight: 600; }
.game-grid--single { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .game-grid--single .game-card__link { display: grid; grid-template-columns: 1.15fr 1fr; }
  .game-grid--single .game-card__img { height: 100%; aspect-ratio: auto; min-height: 320px; }
  .game-grid--single .game-card__body { padding: 36px; align-self: center; }
  .game-grid--single .game-card__title { font-size: 2.2rem; }
}

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s; }
.post-card:hover { border-color: var(--ice); }
.post-card__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.post-card__img, .post-card__placeholder { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__placeholder { background: linear-gradient(135deg, var(--panel-2), var(--bg-2)); }
.post-card__body { padding: 18px 20px 22px; }
.post-card__meta { color: var(--muted); font-size: 0.88rem; margin-bottom: 8px; }
.post-card__kind { color: var(--ice); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; }
.post-card__title { font-size: 1.25rem; margin-bottom: 8px; }
.post-card__summary { color: var(--muted); margin: 0; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }

/* ---------- game page ---------- */

.is-game { --game: var(--ember); }
.game-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(64px, 11vw, 132px) 0 clamp(56px, 8vw, 96px); }
.game-hero__bg { position: absolute; inset: 0; z-index: -1; }
.game-hero__img { width: 100%; height: 100%; object-fit: cover; }
.game-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 10, 8, 0.94) 0%, rgba(14, 10, 8, 0.7) 50%, rgba(14, 10, 8, 0.2) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.game-hero__inner > * { max-width: 620px; }
.game-hero__logo { margin: 0 0 16px; }
.game-hero__logo img { width: min(460px, 80vw); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6)); }
.game-hero__tagline { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 600; color: var(--ember); margin-bottom: 12px; }
.game-hero__summary { font-size: 1.15rem; color: #e2d7cc; }
.game-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.game-hero__release { color: var(--salt); font-weight: 600; }
.hazard { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--hazard) 0 14px, #17130b 14px 28px); opacity: 0.9; }
.is-game .section-title::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 10px; background: repeating-linear-gradient(-45deg, var(--hazard) 0 6px, #17130b 6px 12px); border-radius: 2px; }
.is-game .feature__depth { color: var(--hazard); }

/* ---------- error ---------- */

.error-page { padding: clamp(80px, 14vw, 160px) 0; text-align: center; }
.error-page__code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 600; line-height: 1; margin: 0 0 8px; background: linear-gradient(180deg, var(--salt), var(--ice-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page .buttons { justify-content: center; }

/* ---------- footer ---------- */

.site-footer { margin-top: var(--block); border-top: 1px solid var(--line); background: var(--bg-2); padding: 48px 0 24px; }
.site-footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer__brand img { width: 200px; height: auto; margin-bottom: 12px; }
.site-footer__brand p { color: var(--muted); max-width: 320px; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__nav a { color: var(--text); text-decoration: none; }
.site-footer__nav a:hover { color: var(--ice); }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.site-footer__legal a { color: var(--muted); }
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr; } }

.social__title { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.social__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social__link { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--text); font-size: 0.92rem; }
.social__link:hover { border-color: var(--ice); color: var(--salt); }

/* ---------- lightbox ---------- */

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 8, 14, 0.94); display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 16px 16px; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(1600px, 100%); max-height: calc(100vh - 140px); border-radius: var(--radius-sm); }
.lightbox__caption { color: var(--muted); margin: 12px 0 0; text-align: center; }
.lightbox__btn { position: absolute; background: rgba(21, 30, 48, 0.9); color: var(--salt); border: 1px solid var(--line-strong); border-radius: 50%; width: 48px; height: 48px; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--panel-2); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
