/* ─── SHARED STYLES FOR ALL SECONDARY PAGES ─── */
/* Master — reconciled June 2026                  */
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --blue-dark: #152030;
  --black:     #121212;
  --red:       #6B0202;
  --white:     #F5F5F5;
  --white-pure:#FFFFFF;
  --muted:     rgba(245,245,245,0.76);
  --very-muted:rgba(245,245,245,0.70);
  --max-w:     1440px;
  --pad-x:     64px;
  --pad-y:     64px;
  --nav-h:     54px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: #0A0F18;
  font-family: 'Figtree', sans-serif;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.ma-page {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--blue-dark);
  overflow: hidden;
}

/* ─── NAV ─── */
.ma-nav {
  height: var(--nav-h);
  background: rgba(21,32,48,0.95);
  border-bottom: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--pad-x) 0;
  position: sticky;
  top: 0;
  z-index: 99;
}
.ma-nav-logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-pure);
  text-decoration: none;
  white-space: nowrap;
  font-family: 'Figtree', sans-serif;
}
.ma-nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.ma-nav-links li a {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.7);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  font-family: 'Figtree', sans-serif;
}
.ma-nav-links li a:hover { color: var(--white-pure); }
.ma-nav-links .ma-nav-cta a {
  background: var(--red);
  color: var(--white-pure);
  padding: 7px 16px;
}
.ma-nav-links .ma-nav-cta a:hover { background: #8a0303; }

/* ─── DROPDOWNS ─── */
.ma-has-dropdown { position: relative; }
.ma-has-dropdown > a::after { content: ' ▾'; font-size: 12px; opacity: 0.6; }
.ma-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  margin-top: 0;
  left: -20px;
  background: #000000;
  border: none;
  min-width: 220px;
  z-index: 200;
  flex-direction: column;
  list-style: none;
  padding: 12px 0;
}
.ma-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.ma-dropdown-wide { min-width: 280px; }
.ma-has-dropdown:hover .ma-dropdown,
.ma-has-dropdown:focus-within .ma-dropdown { display: flex; }
.ma-dropdown li a {
  display: block;
  padding: 6px 20px;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Figtree', sans-serif;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(245,245,245,0.7);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.3;
}
.ma-dropdown li a:hover { color: var(--white-pure); }
.ma-rec-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--white-pure);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Figtree', sans-serif;
  line-height: 1.2;
  margin-bottom: 2px;
}
.ma-rec-meta {
  display: block;
  font-size: 18px;
  font-weight: 400;
  color: rgba(245,245,245,0.6);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
  font-family: 'Figtree', sans-serif;
}

/* ─── HAMBURGER ─── */
.ma-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.ma-hamburger span { display: block; width: 24px; height: 2px; background: var(--white-pure); }
.ma-nav-mobile {
  display: none;
  background: #000000;
  border-bottom: 2px solid var(--red);
  padding: 20px var(--pad-x);
  flex-direction: column;
  gap: 0;
}
.ma-nav-mobile.open { display: flex; }
.ma-nav-mobile a {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.8);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: 'Figtree', sans-serif;
}

/* ─── BREADCRUMB ─── */
.ma-breadcrumb {
  background: var(--blue-dark);
  padding: 12px var(--pad-x);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ma-breadcrumb nav {
  font-size: 14px;
  font-weight: 400;
  color: rgba(245,245,245,0.5);
  font-family: 'Figtree', sans-serif;
  letter-spacing: 0.02em;
  text-transform: none;
}
.ma-breadcrumb nav a {
  color: rgba(245,245,245,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.ma-breadcrumb nav a:hover { color: var(--white-pure); }
.ma-breadcrumb nav span { margin: 0 8px; opacity: 0.4; }
.ma-breadcrumb nav strong { color: rgba(245,245,245,0.8); font-weight: 400; }

/* ─── GALLERY GRID ─── */
.ma-gallery {
  background: var(--black);
  padding: var(--pad-y) var(--pad-x);
  columns: 3 !important;
  column-gap: 16px;
}
.ma-gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  cursor: pointer;
  overflow: hidden;
  display: block;
}
.ma-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.88);
  transition: filter 0.3s, transform 0.3s;
}
.ma-gallery-item:hover img {
  filter: brightness(1);
  transform: scale(1.02);
}

/* ─── PORTFOLIO THUMBNAIL BAND ─── */
.ma-portfolio-band {
  background: var(--blue-dark);
  padding: var(--pad-y) var(--pad-x);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ma-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 32px;
  margin-top: 32px;
}
.ma-portfolio-item { display: block; }
.ma-portfolio-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: filter 0.3s;
  filter: brightness(0.8) saturate(0.85);
}
.ma-portfolio-item:hover img { filter: brightness(1) saturate(1); }
.ma-portfolio-caption {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 400;
  color: rgba(245,245,245,0.70);
  text-align: center;
  font-family: 'Figtree', sans-serif;
}

/* ─── RECOMMENDATIONS ─── */
.ma-rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 64px var(--pad-x);
  background: var(--black);
}
.ma-rec-card {
  background: var(--blue-dark);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 6px solid rgba(107,2,2,0.3);
  text-decoration: none;
  position: relative;
  transition: background 0.2s;
}
.ma-rec-card::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}
.ma-rec-card:hover::before { transform: scaleY(1); }
.ma-rec-card:hover { background: #1a2233; }
.ma-rec-card-name {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white-pure);
  font-family: 'Figtree', sans-serif;
}
.ma-rec-card-title {
  font-size: 18px;
  font-weight: 400;
  color: rgba(245,245,245,0.65);
  line-height: 1.5;
  font-family: 'Figtree', sans-serif;
}
.ma-rec-card-cta {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: auto;
  padding-top: 8px;
  font-family: 'Figtree', sans-serif;
}

/* ─── GALLERY LANDING CARDS ─── */
.ma-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 64px var(--pad-x);
  background: var(--black);
}
.ma-gallery-card {
  background: var(--blue-dark);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  border-left: 6px solid rgba(107,2,2,0.3);
  transition: background 0.2s;
}
.ma-gallery-card::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform 0.25s ease;
  z-index: 1;
}
.ma-gallery-card:hover::before { transform: scaleY(1); }
.ma-gallery-card:hover { background: #1a2233; }
.ma-gallery-card-img-wrap { overflow: hidden; }
.ma-gallery-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  filter: brightness(0.8) saturate(0.85);
  transition: filter 0.3s, transform 0.3s;
}
.ma-gallery-card:hover img { filter: brightness(1) saturate(1); transform: scale(1.03); }
.ma-gallery-card-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ma-gallery-card-name {
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white-pure);
  font-family: 'Figtree', sans-serif;
}
.ma-gallery-card-cta {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(245,245,245,0.6);
  font-family: 'Figtree', sans-serif;
}

/* ─── LIGHTBOX ─── */
.ma-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.ma-lightbox-overlay.open { display: flex; }
.ma-lightbox-overlay img { max-width: 90vw; max-height: 90vh; object-fit: contain; display: block; }
.ma-lightbox-close {
  position: fixed; top: 20px; right: 28px;
  color: var(--white-pure); font-size: 32px; cursor: pointer;
  line-height: 1; background: none; border: none;
  font-family: 'Figtree', sans-serif;
}
.ma-lightbox-prev, .ma-lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  color: var(--white-pure); font-size: 28px; cursor: pointer;
  background: rgba(107,2,2,0.7); border: none; padding: 12px 16px;
  font-family: 'Figtree', sans-serif;
}
.ma-lightbox-prev { left: 16px; }
.ma-lightbox-next { right: 16px; }

/* ─── FOOTER ─── */
.ma-footer {
  background: var(--red);
  padding: 48px var(--pad-x) 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.ma-footer-logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-pure);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-family: 'Figtree', sans-serif;
}
.ma-footer-copy {
  font-size: 18px;
  color: rgba(245,245,245,0.82);
  line-height: 1.8;
  font-family: 'Figtree', sans-serif;
}
.ma-footer-nav { display: flex; flex-direction: column; gap: 9px; text-align: right; list-style: none; }
.ma-footer-nav a {
  font-size: 18px;
  font-weight: 500;
  color: rgba(245,245,245,0.78);
  text-decoration: none;
  transition: color 0.2s;
  font-family: 'Figtree', sans-serif;
}
.ma-footer-nav a:hover { color: var(--white-pure); }

/* ─── TITLE ─── */
.ma-title {
  font-size: clamp(28px,2.2vw,32px);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--white-pure);
  margin-bottom: 20px;
  font-family: 'Figtree', sans-serif;
}
.ma-title.center { text-align: center; }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  :root { --pad-x: 12px; --pad-y: 40px; }
  .ma-nav { padding: 0 24px; }
  .ma-nav-links { display: none; }
  .ma-hamburger { display: flex; }
  .ma-breadcrumb { padding: 12px 24px; }
  .ma-gallery { columns: 2; }
  .ma-gallery-grid-band { grid-template-columns: repeat(2, 1fr) !important; }
  .ma-gallery-grid { grid-template-columns: repeat(2, 1fr); padding: 48px 28px; gap: 16px; }
  .ma-rec-grid { grid-template-columns: 1fr 1fr; padding: 48px 28px; gap: 16px; }
  .ma-portfolio-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .ma-portfolio-band { padding: 44px 28px; }
  .ma-footer { grid-template-columns: 1fr; text-align: center; padding: 40px 12px 24px; }
  .ma-img-cell img { max-width: 252px !important; max-height: 324px !important; }
  .ma-img-cell.mac img { max-width: 214px !important; max-height: 275px !important; }
  .ma-footer-nav { text-align: center; }
}

@media (max-width: 480px) {
  .ma-gallery { columns: 1; }
  .ma-rec-grid { grid-template-columns: 1fr; }
}

/* ─── PORTFOLIO BAND USING GALLERY CARD STYLE ─── */
.ma-portfolio-band {
  background: var(--blue-dark);
  padding: var(--pad-y) var(--pad-x);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ma-portfolio-band .ma-title { margin-bottom: 32px; }
.ma-gallery-grid-band {
  padding: 0;
  background: transparent;
  gap: 16px;
}