/* ============================================================
   Shared chrome — unified header, sticky footer, local Neue
   Montreal fonts, theme variables + dark mode, and the
   theme-swapping logo. Loaded by every page so the site looks
   consistent. On skills.html / about.html this file is loaded
   AFTER that page's own stylesheet, so its palette bridge and
   chrome rules win on the cascade (it replaces light-theme.css).
   ============================================================ */

/* ──────────  Local Neue Montreal family  ────────── */
@font-face {
  font-family: "Neue Montreal";
  src: url("../fonts/Neue_Montreal/NeueMontreal-Light.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../fonts/Neue_Montreal/NeueMontreal-LightItalic.otf") format("opentype");
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../fonts/Neue_Montreal/NeueMontreal-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../fonts/Neue_Montreal/NeueMontreal-Italic.otf") format("opentype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../fonts/Neue_Montreal/NeueMontreal-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../fonts/Neue_Montreal/NeueMontreal-MediumItalic.otf") format("opentype");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../fonts/Neue_Montreal/NeueMontreal-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../fonts/Neue_Montreal/NeueMontreal-BoldItalic.otf") format("opentype");
  font-weight: 700; font-style: italic; font-display: swap;
}

/* ──────────  Theme variables  ────────── */
:root {
  --palette-0: #000;
  --palette-10: #161616;
  --palette-black: #2D2828;
  --palette-gray-80: #808184;
  --palette-gray-60: #B4B5B9;
  --palette-gray-20: #e9e9eb;
  --palette-white: #FFFFFF;
  --palette-offwhite: #E8E6E1;
  --palette-body-light: #555050;  /* softer dark-gray body copy (light mode) */

  --color-text-main: var(--palette-black);
  --color-text-secondary: var(--palette-gray-80);
  --color-text-link: var(--palette-gray-80);
  --color-text-hover: var(--palette-black);
  --color-bg-default: var(--palette-white);
  /* Default body-text color. Lighter than headings: a soft dark
     gray in light mode, a soft off-white in dark mode. */
  --color-text-body: var(--palette-body-light);

  --header-h: 72px;
}

body.dark-mode {
  --color-text-main: var(--palette-white);
  --color-text-secondary: var(--palette-gray-80);
  --color-text-link: var(--palette-gray-60);
  --color-text-hover: var(--palette-gray-20);
  --color-bg-default: var(--palette-0);
  --color-text-body: var(--palette-offwhite);
}

/* ──────────  Palette bridge  ──────────
   skills.html / about.html stylesheets reference an older palette
   (--black, --white, --mid, etc.). Map those onto the theme vars
   so those pages follow light/dark automatically. These overrides
   win because this file loads after the page stylesheet. */
:root {
  --black:  var(--color-bg-default);   /* page background        */
  --dark:   var(--color-bg-default);
  --mid:    var(--color-text-secondary); /* borders              */
  --dim:    var(--color-text-secondary);
  --muted:  var(--color-text-secondary); /* secondary text       */
  --light:  var(--color-text-body);    /* body copy (off-white dk) */
  --white:  var(--color-text-main);    /* primary text / headings  */
  --accent: var(--color-text-main);    /* mono accent            */
  --font-display: "Neue Montreal", "Rubik", sans-serif;
  --font-mono:    "Neue Montreal", "Rubik", monospace;
}

/* ──────────  Base surfaces (shared)  ────────── */
body {
  background-color: var(--color-bg-default);
  color: var(--color-text-main);
  font-family: "Neue Montreal", "Rubik", system-ui, -apple-system, sans-serif;
  transition: background-color 450ms ease, color 200ms ease;
}
@media (prefers-reduced-motion: reduce) {
  body { transition: none; }
}
/* Links carry no default underline sitewide. */
a { text-decoration: none; }

/* ──────────  Page entrance: fade + slide up on load  ────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
/* Applied to each page's main content wrapper so the content eases
   up into place when the page opens (same feel as the about page). */
.page-hero,
.work-page,
.photo-page,
.reel-section {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
@media (prefers-reduced-motion: reduce) {
  .page-hero,
  .work-page,
  .photo-page,
  .reel-section {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Remove the dark film-grain overlay on the skills/about pages */
body::after { display: none !important; }

/* ──────────  Photography grid (mixed horizontal + vertical)  ────────── */
.photo-page {
  width: min(94vw, 1600px);
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) 0 120px;
}
.photo-grid {
  /* Masonry-style columns: landscape photos show uncropped, and photos
     flagged "h" (can crop vertical) are cut to a 4:5 portrait frame.
     Columns balance their own heights, so mixed shapes leave no gaps. */
  column-count: 3;
  column-gap: 16px;
}
.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
  break-inside: avoid;
  margin-bottom: 16px;
}
.photo-item img {
  width: 100%;
  height: auto;
  display: block;
}
/* On desktop the columns are set by hand (see the note in photography.html),
   so a marked photo ends its column. Tablet and phone keep automatic flow. */
@media (min-width: 901px) {
  .photo-item--colend { break-after: column; }
}
/* Vertical crop. --pos picks which part of the photo stays in frame
   (x% y%), set per photo on the element. */
.photo-item--v { aspect-ratio: 4 / 5; }
.photo-item--v img {
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
/* Empty placeholder slot */
.photo-item.is-placeholder {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed var(--color-text-secondary);
  background: none;
}
.photo-item.is-placeholder::after {
  content: attr(data-label);
  font-family: "Neue Montreal", "Rubik", sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  opacity: .7;
}

/* Two-column layout (tablets / narrow windows): the last photo is repeated
   at the bottom of the left column to even the columns out, and the original
   at the end is hidden. The copy is hidden everywhere else. */
.photo-item--sm-left { display: none; }
@media (max-width: 900px) {
  .photo-grid { column-count: 2; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .photo-item--sm-left { display: block; break-after: column; }
  .photo-item--sm-skip { display: none; }
}
@media (max-width: 560px) {
  .photo-grid { column-count: 1; }
  .photo-item { margin-bottom: 12px; }
}

/* ──────────  Reel page: large embedded video  ────────── */
.reel-section {
  min-height: calc(100vh - var(--header-h));
  width: min(94vw, 1600px);
  margin: 0 auto;
  padding: calc(var(--header-h) + 48px) 0 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.reel-title {
  font-family: "Neue Montreal", "Rubik", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.01em;
  color: var(--color-text-main);
}
.reel-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border-radius: 2px;
}
.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ──────────  Generic content-page hero (social, photography…)  ────────── */
.page-hero {
  min-height: calc(100vh - var(--header-h));
  width: min(94vw, 1600px);
  margin: 0 auto;
  padding: calc(var(--header-h) + 48px) 0 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero-title {
  font-family: "Neue Montreal", "Rubik", sans-serif;
  font-weight: 600;
  font-size: clamp(2.75rem, 9vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--color-text-main);
  margin-bottom: 20px;
}
.page-hero-note {
  font-family: "Neue Montreal", "Rubik", sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--color-text-body);
  max-width: 560px;
}

/* ──────────  Social work samples (company sections + 9:16 strips)  ────────── */
.work-page {
  width: min(94vw, 1600px);
  margin: 0 auto;
  padding: calc(var(--header-h) + 56px) 0 120px;
}
.work-section { margin-bottom: 88px; }
.work-section:last-child { margin-bottom: 0; }

/* Company logo header for each section */
.work-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.work-logo-img {
  height: 51px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
/* Right-aligned logo variant (e.g. The Daily Tar Heel). */
.work-logo--right { justify-content: flex-end; }

/* Bio block below each company logo. The bottom border acts as the
   section divider (moved here from the logo so logo + bio group). */
.work-bio {
  max-width: 960px;
  margin-bottom: 28px;
}
.work-bio--right {
  margin-left: auto;
  text-align: right;
}
.work-bio-role {
  font-family: "Neue Montreal", "Rubik", sans-serif;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}
.work-bio-text {
  font-family: "Neue Montreal", "Rubik", sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.6;
  color: var(--color-text-body);
}
/* Boston Globe has a light + dark logo; swap by theme. Sized a bit
   taller than the DTH logo so the two read at a similar visual size. */
.work-logo-light,
.work-logo-dark {
  height: 87px;
  /* The PNG has transparent padding on its left; pull it left so the
     first letter aligns with the section edge (no cropping needed). */
  margin-left: -10px;
}
.work-logo-dark { display: none; }
body.dark-mode .work-logo-light { display: none; }
body.dark-mode .work-logo-dark { display: block; }
/* Placeholder header until the real logo is supplied */
.work-logo-placeholder {
  font-family: "Neue Montreal", "Rubik", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text-main);
}

/* One gallery block (carousel of vertical 9:16 items) */
.work-gallery { margin-bottom: 40px; }
.work-gallery:last-child { margin-bottom: 0; }

/* Viewport shows --vg-visible items at once (3 by default, 2 on small
   screens). Side padding leaves room for the overlaid arrows. A
   max-width keeps the gallery (and its frames) from getting too large. */
.vgallery-wrap {
  --vg-visible: 3;
  --vg-gap: 16px;
  --vg-arrow: 44px;        /* space reserved on each side for an arrow */
  position: relative;
  width: 100%;
  margin: 0 auto;
}
/* DESKTOP (default): static grid filling the full-width bar — exactly
   6 equal-width 9:16 frames per row, no scrolling, no arrows. Extra
   frames wrap to the next row. */
.vgallery-track {
  --vg-gap: 16px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--vg-gap);
}
.vgallery-slide {
  aspect-ratio: 9 / 16;            /* 1080 x 1920 */
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
}
/* Linked frame: the anchor fills the whole 9:16 frame */
.vgallery-slide > a {
  position: absolute;
  inset: 0;
  display: block;
}
.vgallery-slide img,
.vgallery-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Hover glow for linked frames (mouse devices only). The glow colour
   follows the theme: dark glow in light mode, light glow in dark mode. */
body { --vg-glow: 0, 0, 0; --vg-glow-bright: 1; --vg-glow-in: 0.55; --vg-glow-out: 0.48; }
body.dark-mode { --vg-glow: 255, 255, 255; --vg-glow-bright: 1.1; --vg-glow-in: 0.44; --vg-glow-out: 0.385; }

.vgallery-slide > a::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 31px rgba(var(--vg-glow), var(--vg-glow-in));
  opacity: 0;
  transition: opacity .3s ease;
}
@media (min-width: 769px) {
  /* Desktop only: on mobile the slide's own transition (scale/fade for
     the carousel) must not be overridden. */
  .vgallery-slide:has(> a) { transition: box-shadow .3s ease; }
}
.vgallery-slide > a img {
  transition: filter .3s ease;
}
@media (hover: hover) {
  .vgallery-slide:has(> a:hover) {
    box-shadow: 0 0 24px rgba(var(--vg-glow), var(--vg-glow-out));
  }
  .vgallery-slide > a:hover::after { opacity: 1; }
  .vgallery-slide > a:hover img { filter: brightness(var(--vg-glow-bright)); }
}

/* Empty placeholder slot (dashed 9:16 frame) */
.vgallery-slide.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed var(--color-text-secondary);
  background: none;
}
.vgallery-slide.is-placeholder::after {
  content: "9 : 16";
  font-family: "Neue Montreal", "Rubik", sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--color-text-secondary);
  opacity: .7;
}

/* Edge fade vignettes */
.vgallery-edge {
  position: absolute;
  top: 0; bottom: 0;
  width: 6%;
  pointer-events: none;
  z-index: 2;
  transition: opacity .3s ease;
}
.vgallery-edge--left  { left: calc(var(--vg-arrow) + 8px);  background: linear-gradient(to right, var(--color-bg-default) 0%, transparent 100%); }
.vgallery-edge--right { right: calc(var(--vg-arrow) + 8px); background: linear-gradient(to left,  var(--color-bg-default) 0%, transparent 100%); }

/* Prev / next arrows — overlaid on the left and right of the gallery */
.vgallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: var(--vg-arrow);
  height: var(--vg-arrow);
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  background: var(--color-bg-default);
  border: 1px solid var(--color-text-secondary);
  border-radius: 50%;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, opacity .2s ease;
}
.vgallery-btn:hover { color: var(--color-text-hover); border-color: var(--color-text-hover); }
.vgallery-btn:disabled { opacity: .25; cursor: default; }
.vgallery-btn--prev { left: 0; }
.vgallery-btn--next { right: 0; }

/* DESKTOP: no carousel chrome — hide arrows + edge fades (static grid). */
.vgallery-btn,
.vgallery-edge { display: none; }

/* ── MOBILE: restore the scrolling carousel (2-up, smaller frames) ── */
@media (max-width: 768px) {
  .work-page { padding-top: calc(var(--header-h) + 32px); }
  .work-section { margin-bottom: 56px; }

  .vgallery-wrap {
    --vg-gap: 12px;
    --vg-arrow: 34px;
    --vg-item-w: 60%;        /* one centred frame; neighbours peek in */
    max-width: none;
    padding: 0;
  }
  /* Inner element clips the overflowing track (keeps arrows visible). */
  .vgallery-viewport { overflow: hidden; }

  /* Track slides horizontally; JS centres the active frame. */
  .vgallery-track {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--vg-gap);
    /* Centre the active item in the viewport. */
    padding: 0 calc((100% - var(--vg-item-w)) / 2);
    will-change: transform;
    transition: transform .55s cubic-bezier(0.16, 1, 0.3, 1);
  }
  /* One active frame; neighbours dimmed + slightly shrunk (just visible). */
  .vgallery-slide {
    flex: 0 0 var(--vg-item-w);
    transform: scale(0.9);
    opacity: 0.35;
    transition: transform .55s cubic-bezier(0.16,1,0.3,1),
                opacity .55s cubic-bezier(0.16,1,0.3,1);
  }
  .vgallery-slide.is-active {
    transform: scale(1);
    opacity: 1;
  }
  /* Show the arrows on mobile; hide (not just dim) when unavailable. */
  .vgallery-btn { display: inline-flex; }
  .vgallery-btn:disabled { visibility: hidden; }
}

/* ──────────  billykid gallery: theme fixes  ──────────
   Bind the edge vignettes directly to the real page background so
   they fade to the correct colour in both light and dark mode
   (previously they used --black, which read too bright in dark). */
.gallery-edge--left {
  background: linear-gradient(to right, var(--color-bg-default) 0%, transparent 100%) !important;
}
.gallery-edge--right {
  background: linear-gradient(to left, var(--color-bg-default) 0%, transparent 100%) !important;
}
/* Dots + active-slide accents track the theme text colour (mono look). */
.gallery-dot { background: var(--color-text-secondary); }
.gallery-dot.is-active { background: var(--color-text-main); }
/* Gallery labels / counter / controls use the shared font + theme. */
.gallery-label,
.gallery-count,
.gallery-btn,
.credit-role {
  font-family: "Neue Montreal", "Rubik", sans-serif;
}

/* ──────────  Content readability (about + billykid)  ──────────
   Headings track the primary text color (dark in light mode, white
   in dark mode — like the hero). Body copy uses the softer body
   token: a lighter dark-gray in light mode, off-white in dark. */
.about-title,
.film-title,
.credit-name { color: var(--color-text-main); }

.full-info p,
.film-logline { color: var(--color-text-body); }

/* Clearance for the fixed header + sticky footer on the non-index
   pages (they previously had a static footer). The index page
   manages its own spacing, so it is excluded. */
body:not(.page-index) main {
  padding-bottom: 96px;
}
@media (max-width: 768px) {
  body:not(.page-index) main { padding-bottom: 110px; }
}

/* ────────────  Sticky header  ──────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
  background: var(--color-bg-default);
  border-bottom: 1px solid transparent;
  transition: transform .3s ease, background-color 450ms ease, border-color .3s ease;
}
.site-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 12px 0;
  transition: opacity .2s ease;
}
.site-logo:hover { opacity: .75; }
.site-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Logo stays the SAME in both light and dark mode — no theme swap.
   Always show the default logo; the dark-mode variant is never shown.
   (The .site-logo-dark <img> is kept in the markup in case a theme
   swap is wanted again later.) */
.site-logo-light { display: block; }
.site-logo-dark  { display: none; }

/* Inline nav (desktop) */
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-link);
  text-decoration: none;
  transition: color .2s ease;
}
.site-nav-link.active { color: var(--color-text-hover); }
.site-nav-link.active::after { width: 100%; }
.site-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--color-text-hover);
  transition: width .25s ease;
}
.site-nav-link:hover { color: var(--color-text-hover); }
.site-nav-link:hover::after { width: 100%; }

/* Hamburger button (mobile only) */
.nav-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 6px;
  border: none;
  background: none;
  cursor: pointer;
  position: static;
  transform: none;
}
.nav-menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-text-main);
  transition: transform .3s ease, opacity .3s ease;
}

/* Mobile dropdown menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: var(--color-bg-default);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(0.76, 0, 0.24, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-text-secondary);
  border: none;
  background: none;
  cursor: pointer;
  transition: color .2s ease;
}
.mobile-close:hover { color: var(--color-text-hover); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-nav-link {
  font-size: clamp(2rem, 9vw, 3.25rem);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color .2s ease;
}
.mobile-nav-link:hover { color: var(--color-text-hover); }
.mobile-nav-link.active { color: var(--color-text-hover); }
.mobile-menu-footer {
  position: absolute;
  bottom: 32px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--color-text-secondary);
}

/* ────────────  Sticky footer  ──────────── */
.site-footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  background: var(--color-bg-default);
  border-top: 1px solid var(--color-text-secondary);
  transition: transform .35s ease, background-color 450ms ease, border-color .3s ease;
}
body.footer-hidden .site-footer {
  transform: translateY(100%);
}
@media (prefers-reduced-motion: reduce) {
  .site-footer { transition: background-color 450ms ease, border-color .3s ease; }
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 15px;
  min-width: 0;
}
.footer-link {
  color: var(--color-text-secondary);
  transition: color .2s ease;
}
.footer-link:hover { color: var(--color-text-hover); }
.footer-muted { color: var(--color-text-secondary); }

.footer-theme-toggle {
  border: 1px solid var(--color-text-secondary);
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--color-text-secondary);
  padding: 6px 16px;
  transition: color .2s ease, border-color .2s ease;
}
.footer-theme-toggle:hover {
  color: var(--color-text-hover);
  border-color: var(--color-text-hover);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}
.social-icon {
  display: inline-flex;
  color: var(--color-text-secondary);
  transition: color .2s ease, transform .2s ease;
}
.social-icon:hover {
  color: var(--color-text-hover);
  transform: translateY(-2px);
}

/* ────────────  Responsive chrome  ──────────── */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .site-nav { display: none; }
  .nav-menu-btn { display: flex; }
  .site-logo-img { height: 40px; }

  body.header-hidden .site-header { transform: translateY(-100%); }

  .site-footer {
    gap: 12px;
    padding: 12px 16px;
    font-size: 13px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 13px;
  }
  .footer-social { gap: 14px; }
}
