/* ==========================================================================
   Azteca Kitchen Remodeling — shared styles for all pages
   (loaded after style.css; keeps the black / gold look of the home page)
   ========================================================================== */
:root {
  --navy: #000000;
  --paper: #FFFFFF;
  --mist: #faf6ea;
  --ink: #000000;
  --muted: #5a4f2a;
  --brand: #DCC384;
  --accent: #DCC384;
  --line: #e5dcc0;
  --gold: #DCC384;
  --gold-hi: #e6d094;
  --gold-lo: #b8a26a;
  --sand: #d4c89a;
  --sand-dim: #a89968;
  --cream: #f0e6c0;
  --gutter: clamp(18px, 5vw, 64px);
}

/* template leftovers: keep menus/cta on-brand */
#np-mobile-menu { background: linear-gradient(180deg, rgba(10, 8, 2, .98), rgba(0, 0, 0, .99)); }
#np-mobile-menu a:hover { color: var(--gold); }
#np-mobile-menu a.cta { background: var(--gold); color: #000; box-shadow: 0 10px 26px -8px rgba(220, 195, 132, .6); }
#np-hero-form input::placeholder, #np-modal input::placeholder, #np-modal textarea::placeholder { color: #a89968; }
#np-links a[data-navlink] { position: relative; }
#np-links a.is-current:not([data-open-modal])::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px; background: var(--gold);
}
#np-mobile-menu a.is-current { color: var(--gold); }
#np-mobile-menu { gap: 22px; }
@media (max-width: 1180px) { #np-links { gap: 18px !important; font-size: 14px !important; } }
@media (max-width: 1020px) { #np-links { display: none !important; } #np-hamburger { display: flex !important; } }

/* ---------- layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.sec { position: relative; padding: 110px 0; }
.sec-tight { padding: 80px 0; }
.sec-dark { background: #000; color: #fff; }
.sec-cream { background: var(--mist); }
.sec-white { background: #fff; }
.sec-head { margin-bottom: 52px; }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.sec-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; color: var(--gold);
  font-weight: 700; font-size: 13px; letter-spacing: .2em; margin-bottom: 16px; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold); }

.h-xl { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; color: #000; max-width: 18ch; }
.center .h-xl { margin-left: auto; margin-right: auto; }
.sec-dark .h-xl { color: #fff; }
.h-lg { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: #000; }
.sec-dark .h-lg { color: #fff; }
.lead { margin-top: 18px; max-width: 58ch; color: var(--muted); font-size: 16.5px; line-height: 1.65; font-weight: 500; }
.sec-dark .lead { color: var(--sand); }
.body-copy { color: var(--muted); font-size: 16px; line-height: 1.7; font-weight: 500; }
.body-copy p + p { margin-top: 14px; }
.sec-dark .body-copy { color: var(--sand); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 14px;
  font-weight: 800; font-size: 15.5px; line-height: 1; cursor: pointer; border: 0; font-family: 'Manrope', sans-serif;
  transition: transform .12s ease, box-shadow .12s ease, background .25s ease; white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #000 !important;
  box-shadow: 0 5px 0 var(--gold-lo), 0 16px 28px -14px rgba(220, 195, 132, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--gold-lo), 0 22px 34px -14px rgba(220, 195, 132, .65), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-gold:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--gold-lo); }
.btn-ghost {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); color: #fff !important; backdrop-filter: blur(8px);
  box-shadow: 0 6px 0 rgba(0, 0, 0, .28), 0 16px 26px -12px rgba(0, 0, 0, .5);
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .16); }
.btn-dark { background: #000; color: var(--gold) !important; box-shadow: 0 5px 0 #3a3218, 0 16px 28px -14px rgba(0, 0, 0, .5); }
.btn-dark:hover { transform: translateY(-3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.link-gold { color: var(--gold); font-weight: 700; font-size: 15px; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.link-gold:hover { color: #fff; }
.sec-white .link-gold:hover, .sec-cream .link-gold:hover { color: #000; }

/* ---------- page hero ---------- */
.page-hero {
  position: relative; min-height: 68vh; display: flex; align-items: flex-end; overflow: hidden; background: #000; color: #fff;
  padding: 180px 0 76px;
}
.page-hero .ph-media { position: absolute; inset: 0; }
.page-hero .ph-media img, .page-hero .ph-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: ph-zoom 14s ease-out forwards; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .62) 45%, rgba(0, 0, 0, .25) 100%),
              linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, transparent 45%);
}
.page-hero .wrap { position: relative; z-index: 2; width: 100%; }
.page-hero h1 { font-size: clamp(40px, 6vw, 84px); font-weight: 800; letter-spacing: -.03em; max-width: 15ch; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero .lead { color: var(--sand); max-width: 56ch; font-size: clamp(16px, 1.4vw, 18.5px); }
.page-hero .btn-row { margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--sand-dim); margin-bottom: 22px; text-transform: uppercase; }
.crumbs a { color: var(--sand); }
.crumbs a:hover { color: var(--gold); }
.crumbs span.sep { color: var(--gold); }
.ph-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ph-meta span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px; font-size: 13px; font-weight: 700;
  background: rgba(220, 195, 132, .12); border: 1px solid rgba(220, 195, 132, .35); color: var(--cream); backdrop-filter: blur(8px);
}
@keyframes ph-zoom { to { transform: scale(1); } }

/* ---------- stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(220, 195, 132, .14); border-radius: 20px; overflow: hidden; }
.stat-band > div { background: linear-gradient(180deg, #1a1408, #000); padding: 30px 24px; }
.stat-band b { display: block; font-family: 'Archivo'; font-weight: 900; font-size: clamp(30px, 3.6vw, 46px); color: var(--gold); line-height: 1; }
.stat-band span { display: block; color: var(--sand-dim); font-weight: 600; font-size: 14px; margin-top: 8px; }

/* ---------- masonry photo grid ---------- */
.masonry { columns: 4 240px; column-gap: 14px; }
.masonry.cols-3 { columns: 3 260px; }
.masonry.gal-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  columns: auto;
}
.masonry.gal-3col .m-item {
  margin: 0;
  aspect-ratio: 4 / 3;
  width: 100%;
}
.masonry.gal-3col .m-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m-item {
  position: relative; display: block; break-inside: avoid; margin: 0 0 14px; border-radius: 14px; overflow: hidden; background: #1a1408;
  cursor: zoom-in; box-shadow: 0 18px 36px -26px rgba(0, 0, 0, .55);
}
.m-item img { width: 100%; height: auto; display: block; transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .5s ease; opacity: 0; }
.m-item img.is-loaded { opacity: 1; }
.m-item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .7)); opacity: 0; transition: opacity .35s ease;
}
.m-item:hover img { transform: scale(1.06); }
.m-item:hover::after { opacity: 1; }
.m-item .m-cap {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.35;
  opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease;
}
.m-item:hover .m-cap { opacity: 1; transform: none; }
.m-item .m-zoom {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 0, 0, .55);
  display: flex; align-items: center; justify-content: center; color: var(--gold); opacity: 0; transition: opacity .3s ease; backdrop-filter: blur(6px);
}
.m-item:hover .m-zoom { opacity: 1; }
.m-item.is-hidden { display: none; }

/* ---------- uniform photo grid (cards / strips) ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo-grid .m-item { margin: 0; aspect-ratio: 1; }
.photo-grid .m-item img { height: 100%; object-fit: cover; }
.photo-grid.wide-first .m-item:first-child { grid-column: span 2; grid-row: span 2; }

/* ---------- filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 100px; border: 1px solid var(--line);
  background: #fff; color: #000; font-family: 'Manrope'; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .25s ease;
}
.chip small { font-size: 11.5px; font-weight: 800; color: var(--sand-dim); }
.chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.chip.is-active { background: #000; color: var(--gold); border-color: #000; }
.chip.is-active small { color: var(--sand); }
.sec-dark .chip { background: rgba(255, 255, 255, .06); border-color: rgba(220, 195, 132, .3); color: var(--cream); }
.sec-dark .chip.is-active { background: var(--gold); color: #000; border-color: var(--gold); }
.sec-dark .chip.is-active small { color: #3a3218; }
.tabbar { display: inline-flex; padding: 6px; border-radius: 100px; background: #000; gap: 4px; margin-bottom: 26px; }
.tabbar button {
  border: 0; background: transparent; color: var(--sand); font-family: 'Manrope'; font-weight: 800; font-size: 14.5px; padding: 12px 24px;
  border-radius: 100px; cursor: pointer; transition: all .25s ease;
}
.tabbar button.is-active { background: var(--gold); color: #000; }

/* ---------- project cards ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.proj-card {
  position: relative; display: block; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 4/5; color: #fff;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .6); isolation: isolate;
}
.proj-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); z-index: -2; }
.proj-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .9) 100%); }
.proj-card:hover img { transform: scale(1.07); }
.proj-card .pc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.proj-card .pc-tag { display: inline-block; padding: 6px 12px; border-radius: 100px; background: rgba(220, 195, 132, .18); border: 1px solid rgba(220, 195, 132, .45); color: var(--gold); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(6px); }
.proj-card h3 { font-size: 25px; font-weight: 800; margin-top: 14px; color: #fff; }
.proj-card p { color: var(--sand); font-size: 14px; line-height: 1.55; margin-top: 8px; }
.proj-card .pc-meta { display: flex; gap: 16px; margin-top: 14px; color: var(--cream); font-size: 13px; font-weight: 700; }
.proj-card .pc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.proj-card .pc-go { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: #000; display: flex; align-items: center; justify-content: center; transform: scale(.6) rotate(-45deg); opacity: 0; transition: all .45s cubic-bezier(.2, .8, .2, 1); }
.proj-card:hover .pc-go { transform: none; opacity: 1; }
.proj-card.is-hidden { display: none; }
.proj-grid.feature .proj-card:first-child { grid-column: span 2; aspect-ratio: auto; }

/* ---------- service rows ---------- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.svc-row:first-of-type { border-top: 0; padding-top: 0; }
.svc-row.flip .svc-media { order: 2; }
.svc-media { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 5/4; }
.svc-media .m-item { margin: 0; height: 100%; }
.svc-media .m-item img { height: 100%; object-fit: cover; }
.svc-media .m-item:first-child { grid-row: span 2; }
.svc-num { font-family: 'Archivo'; font-weight: 900; font-size: 15px; color: var(--gold); letter-spacing: .14em; }
.svc-row h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; margin-top: 10px; max-width: 16ch; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 22px; }
.svc-list li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 14.5px; color: #000; }
.svc-list li::before { content: "✓"; flex: 0 0 22px; height: 22px; border-radius: 50%; background: rgba(220, 195, 132, .22); color: var(--gold-lo); font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.svc-list { padding: 0; }
.svc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.svc-links a { font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 100px; background: var(--mist); color: #000; border: 1px solid var(--line); }
.svc-links a:hover { background: #000; color: var(--gold); }

/* ---------- steps (remodel process order) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: st; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px 28px; overflow: hidden;
  box-shadow: 0 30px 55px -38px rgba(10, 20, 45, .4); transition: transform .35s ease, box-shadow .35s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(10, 20, 45, .5); }
.step .st-n { position: absolute; top: -8px; right: 12px; font-family: 'Archivo'; font-weight: 900; font-size: 86px; color: rgba(220, 195, 132, .16); line-height: 1; }
.step .st-ic { width: 52px; height: 52px; border-radius: 14px; background: #000; color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step h3 { font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.step .st-sub { color: var(--gold-lo); font-weight: 800; font-size: 13.5px; margin-top: 6px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: 10px; }

/* ---------- video cards ---------- */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.vgrid.lg { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.vcard {
  position: relative; display: block; border-radius: 16px; overflow: hidden; background: #111; aspect-ratio: 9/16; cursor: pointer; border: 0; padding: 0; width: 100%; max-height: 480px;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .65);
}
.vcard.land { aspect-ratio: 16/9; grid-column: span 2; max-height: 270px; }
.vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .0) 50%, rgba(0, 0, 0, .78)); }
.vcard:hover img { transform: scale(1.06); }
.vcard .v-play {
  position: absolute; top: 50%; left: 50%; z-index: 2; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(220, 195, 132, .92);
  color: #000; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 0 rgba(220, 195, 132, .55); animation: v-pulse 2.6s ease-out infinite;
  transition: transform .3s ease;
}
.vcard:hover .v-play { transform: scale(1.12); }
.vcard .v-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff; font-size: 13px; font-weight: 700; text-align: left; line-height: 1.35; }
.vcard .v-dur { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 4px 9px; border-radius: 100px; background: rgba(0, 0, 0, .6); color: var(--cream); font-size: 11.5px; font-weight: 800; }
.vcard.is-hidden { display: none; }
@keyframes v-pulse { 0% { box-shadow: 0 0 0 0 rgba(220, 195, 132, .55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(220, 195, 132, 0); } }

/* ---------- before / after sliders ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.ba-grid.one { grid-template-columns: 1fr; }
.ba-grid > figure:last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; width: 100%; max-width: 780px; justify-self: center; }
.ba { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; background: #000; box-shadow: 0 40px 80px -45px rgba(10, 20, 45, .6); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba .ba-tag { position: absolute; top: 16px; z-index: 3; padding: 7px 14px; border-radius: 100px; font-weight: 800; font-size: 12px; letter-spacing: .14em; }
.ba .ba-tag.b { left: 16px; background: rgba(0, 0, 0, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px); }
.ba .ba-tag.a { right: 16px; background: var(--gold); color: #000; }
.ba .ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 0; z-index: 4; pointer-events: none; }
.ba .ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, .5); }
.ba .ba-knob { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; gap: 4px; color: #000; animation: np-pulse 2.4s ease-in-out infinite; }
.ba-cap { margin-top: 14px; font-weight: 700; color: var(--muted); font-size: 14.5px; }
.sec-dark .ba-cap { color: var(--sand); }

/* ---------- split (about) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.wide-l { grid-template-columns: 1.1fr .9fr; }
.collage { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 88px; gap: 12px; }
.collage .m-item { margin: 0; height: 100%; }
.collage .m-item img { height: 100%; object-fit: cover; }
.collage .c1 { grid-column: 1 / 5; grid-row: 1 / 5; }
.collage .c2 { grid-column: 5 / 7; grid-row: 1 / 3; }
.collage .c3 { grid-column: 5 / 7; grid-row: 3 / 6; }
.collage .c4 { grid-column: 1 / 3; grid-row: 5 / 7; }
.collage .c5 { grid-column: 3 / 5; grid-row: 5 / 7; }
.collage .c6 { grid-column: 5 / 7; grid-row: 6 / 7; }
.badge-float {
  position: absolute; z-index: 6; padding: 16px 22px; border-radius: 18px; background: var(--gold); color: #000; text-align: center;
  box-shadow: 0 24px 44px -18px rgba(0, 0, 0, .5); animation: np-drift 6.5s ease-in-out infinite;
}
.badge-float b { display: block; font-family: 'Archivo'; font-weight: 900; font-size: 30px; line-height: 1; }
.badge-float span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; margin-top: 4px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 30px 28px; border-radius: 20px; background: linear-gradient(180deg, #1a1408, #000); border: 1px solid rgba(220, 195, 132, .22); }
.value .v-ic { width: 50px; height: 50px; border-radius: 14px; background: rgba(220, 195, 132, .14); border: 1px solid rgba(220, 195, 132, .4); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.value h3 { color: #fff; font-size: 20px; font-weight: 800; }
.value p { color: var(--sand); font-size: 14.5px; line-height: 1.6; margin-top: 8px; }

/* ---------- image ribbon (auto-scrolling strip) ---------- */
.ribbon { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ribbon-track { display: flex; gap: 14px; width: max-content; animation: ribbon 80s linear infinite; }
.ribbon-track.rev { animation-direction: reverse; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track .m-item { margin: 0; flex: 0 0 auto; height: 240px; width: auto; }
.ribbon-track .m-item img { height: 240px; width: auto; opacity: 1; }
.ribbon + .ribbon { margin-top: 14px; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.c-card { display: block; padding: 26px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 55px -40px rgba(10, 20, 45, .45); color: #000; transition: transform .3s ease, box-shadow .3s ease; }
a.c-card:hover { transform: translateY(-5px); color: #000; box-shadow: 0 40px 70px -40px rgba(10, 20, 45, .5); }
.c-card .c-ic { width: 48px; height: 48px; border-radius: 14px; background: #000; color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.c-card h3 { font-size: 13px; letter-spacing: .14em; color: var(--gold-lo); font-weight: 800; text-transform: uppercase; }
.c-card p { font-weight: 800; font-size: 16.5px; margin-top: 8px; line-height: 1.4; word-break: break-word; }
.c-card small { display: block; margin-top: 6px; color: var(--muted); font-weight: 600; font-size: 13px; }
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas span { padding: 9px 15px; border-radius: 100px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; background: rgba(220, 195, 132, .1); border: 1px solid rgba(220, 195, 132, .35); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.socials a:hover { background: rgba(220, 195, 132, .25); color: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 60px 110px -50px rgba(7, 21, 43, .75); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 0, 0, .95) 25%, rgba(0, 0, 0, .7) 62%, rgba(0, 0, 0, .4) 100%); }
.cta-band .cta-in { position: relative; z-index: 2; padding: clamp(48px, 7vw, 88px) clamp(26px, 6vw, 84px); display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; max-width: 17ch; }
.cta-band p { color: var(--sand); font-size: 16.5px; line-height: 1.65; margin-top: 16px; max-width: 46ch; font-weight: 500; }

/* ---------- project page extras ---------- */
.proj-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proj-facts div { padding: 22px; border-radius: 18px; background: var(--mist); border: 1px solid var(--line); }
.proj-facts b { display: block; font-family: 'Archivo'; font-size: 26px; font-weight: 900; color: #000; }
.proj-facts span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; margin-top: 4px; letter-spacing: .04em; }
.proj-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.proj-nav a { position: relative; display: flex; align-items: flex-end; min-height: 200px; border-radius: 20px; overflow: hidden; padding: 24px; color: #fff; isolation: isolate; }
.proj-nav a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s ease; }
.proj-nav a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .85)); }
.proj-nav a:hover img { transform: scale(1.06); }
.proj-nav small { display: block; color: var(--gold); font-weight: 800; letter-spacing: .14em; font-size: 12px; }
.proj-nav strong { display: block; font-family: 'Archivo'; font-size: 22px; margin-top: 6px; }
.proj-nav a.next { justify-content: flex-end; text-align: right; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 3000; background: rgba(6, 5, 2, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.lb-stage { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 50px 70px 70px; }
.lb-stage img, .lb-stage video {
  max-width: min(90vw, 100%);
  max-height: min(80vh, 700px);
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7);
  background: #000;
  object-fit: contain;
}
.lb-stage video {
  max-height: min(76vh, 620px);
}
.lb-btn { position: absolute; z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(220, 195, 132, .4); background: rgba(255, 255, 255, .06); color: var(--gold); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s, transform .25s; }
.lb-btn:hover { background: rgba(220, 195, 132, .2); }
.lb-prev { left: 18px; top: 50%; margin-top: -26px; }
.lb-next { right: 18px; top: 50%; margin-top: -26px; }
.lb-close { top: 16px; right: 18px; }
.lb-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 24px 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--sand); font-size: 14px; font-weight: 600; }
.lb-bar .lb-count { color: var(--gold); font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.lb-bar a { color: var(--gold); font-weight: 800; white-space: nowrap; }
.lb-spin { position: absolute; width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(220, 195, 132, .25); border-top-color: var(--gold); animation: np-spin 0.9s linear infinite; }

/* ---------- filtering / pagination states ---------- */
.is-hidden, .is-paged { display: none !important; }

/* ---------- misc ---------- */
.more-wrap { text-align: center; margin-top: 34px; }
.count-note { color: var(--muted); font-weight: 700; font-size: 14px; }
.sec-dark .count-note { color: var(--sand-dim); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag-row span { padding: 7px 13px; border-radius: 100px; background: var(--mist); border: 1px solid var(--line); font-size: 12.5px; font-weight: 800; color: #000; }
.sec-dark .tag-row span { background: rgba(220, 195, 132, .1); border-color: rgba(220, 195, 132, .3); color: var(--cream); }
.anchor-offset { scroll-margin-top: 100px; }
[id] { scroll-margin-top: 90px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid.feature .proj-card:first-child { grid-column: span 2; aspect-ratio: 16/10; }
  .svc-row, .split, .split.wide-l { grid-template-columns: 1fr; gap: 36px; }
  .svc-row.flip .svc-media { order: 0; }
  .steps, .values { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .stat-band, .proj-facts { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .sec { padding: 80px 0; }
  .page-hero { min-height: 60vh; padding: 150px 0 56px; }
  .proj-grid, .steps, .values, .ba-grid { grid-template-columns: 1fr; }
  .proj-grid.feature .proj-card:first-child { grid-column: auto; aspect-ratio: 4/5; }
  .proj-card { aspect-ratio: 1 / 1.05; }
  .proj-card .pc-body { padding: 20px; }
  .proj-card h3 { font-size: 22px; }
  .contact-cards { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .photo-grid.wide-first .m-item:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 4/3; }
  .masonry { columns: 2 150px; column-gap: 10px; }
  .masonry.gal-3col { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  @media (max-width: 520px) {
    .masonry.gal-3col { grid-template-columns: 1fr; }
  }
  .m-item { margin-bottom: 10px; border-radius: 10px; }
  .vgrid, .vgrid.lg { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vcard.land { grid-column: span 2; }
  .vcard .v-play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
  .proj-nav { grid-template-columns: 1fr; }
  .lb-stage { padding: 44px 10px 65px; }
  .lb-stage video { max-height: min(72vh, 520px); max-width: 94vw; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin: 0; width: 46px; height: 46px; }
  .lb-prev { left: auto; right: 74px; }
  .lb-bar { padding-right: 140px; font-size: 12.5px; }
  .ribbon-track .m-item, .ribbon-track .m-item img { height: 170px; }
  .collage { grid-auto-rows: 58px; gap: 8px; }
  .chip { padding: 9px 14px; font-size: 13px; }
  .tabbar button { padding: 11px 16px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-track, .page-hero .ph-media img, .vcard .v-play, .badge-float { animation: none !important; }
}
